apostrophe 3.14.1 → 3.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.14.2 (2022-02-27)
4
+
5
+ * Hotfix: fixed a bug introduced by 3.14.1 in which non-parked pages could throw an error during the migration to fix replication issues.
6
+
3
7
  ## 3.14.1 (2022-02-25)
4
8
 
5
9
  * Hotfix: fixed a bug in which replication across locales did not work properly for parked pages configured via the `_children` feature. A one-time migration is included to reconnect improperly replicated versions of the same parked pages. This runs automatically, no manual action is required. Thanks to [justyna1](https://github.com/justyna13) for identifying the issue.
@@ -2193,7 +2193,7 @@ database.`);
2193
2193
  self.apos.migration.add('misreplicated-parked-pages', async () => {
2194
2194
  const parkedPages = await self.apos.doc.db.find({
2195
2195
  parkedId: {
2196
- $exists: 1
2196
+ $ne: null
2197
2197
  }
2198
2198
  }).toArray();
2199
2199
  const locales = [ self.apos.i18n.defaultLocale, ...Object.keys(self.apos.i18n.locales) ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apostrophe",
3
- "version": "3.14.1",
3
+ "version": "3.14.2",
4
4
  "description": "The Apostrophe Content Management System.",
5
5
  "main": "index.js",
6
6
  "scripts": {