@atlaskit/collab-provider 14.0.3 → 14.0.5

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,17 @@
1
1
  # @atlaskit/collab-provider
2
2
 
3
+ ## 14.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 14.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 14.0.3
4
16
 
5
17
  ### Patch Changes
@@ -231,7 +243,6 @@
231
243
  shared context or singletons.
232
244
 
233
245
  **HOW TO ADJUST:**
234
-
235
246
  - Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
236
247
  any of these editor plugins.
237
248
  - Ensure the version you install matches the version required by the plugins.
@@ -2470,14 +2481,12 @@
2470
2481
  [ESS-3333] Update to the structure of errors emitted on the collab provider
2471
2482
 
2472
2483
  Upgrade instructions:
2473
-
2474
2484
  - Change the type of the errors emitted on the provider from `CollabEventError` to `ProviderError`
2475
2485
  - Remove the reliance on the `status` field of the emitted errors, switch to using either the
2476
2486
  error code (exported as enum `PROVIDER_ERROR_CODE`) or the error flag `recoverable` indicating
2477
2487
  whether the provider can recover from the emitted error or not
2478
2488
 
2479
2489
  The mapping from the old status codes to the error codes is:
2480
-
2481
2490
  - Status 403: PROVIDER_ERROR_CODE.NO_PERMISSION_ERROR, PROVIDER_ERROR_CODE.INVALID_USER_TOKEN
2482
2491
  - Status 404: PROVIDER_ERROR_CODE.DOCUMENT_NOT_FOUND
2483
2492
  - Status 423: PROVIDER_ERROR_CODE.LOCKED
@@ -2878,7 +2887,6 @@
2878
2887
  - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
2879
2888
  [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
2880
2889
  ED-11632: Bump prosemirror packages;
2881
-
2882
2890
  - prosmirror-commands 1.1.4 -> 1.1.11,
2883
2891
  - prosemirror-model 1.11.0 -> 1.14.3,
2884
2892
  - prosemirror-state 1.3.3 -> 1.3.4,
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/collab-provider";
8
- var version = exports.version = "14.0.2";
8
+ var version = exports.version = "14.0.4";
9
9
  var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
10
10
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
11
11
  };
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/collab-provider";
2
- export const version = "14.0.2";
2
+ export const version = "14.0.4";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/collab-provider";
2
- export var version = "14.0.2";
2
+ export var version = "14.0.4";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -160,7 +160,6 @@ Unconfirmed steps are stored within the ProseMirror editor state using the
160
160
  (`origins`) to track the source of changes even after rebasing operations.
161
161
 
162
162
  3. **Automatic Management**: The collab plugin automatically manages the unconfirmed steps array:
163
-
164
163
  - **Adding Steps**: When transactions are applied locally, new steps are added to the unconfirmed
165
164
  array
166
165
  - **Removing Steps**: When acknowledgments are received from the server, corresponding steps are
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "14.0.3",
3
+ "version": "14.0.5",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,14 +29,14 @@
29
29
  "@atlaskit/adf-utils": "^19.24.0",
30
30
  "@atlaskit/analytics-gas-types": "^5.1.0",
31
31
  "@atlaskit/analytics-listeners": "^9.1.0",
32
- "@atlaskit/anonymous-assets": "^0.0.8",
32
+ "@atlaskit/anonymous-assets": "^0.0.10",
33
33
  "@atlaskit/editor-json-transformer": "^8.30.0",
34
34
  "@atlaskit/editor-prosemirror": "7.0.0",
35
35
  "@atlaskit/feature-gate-js-client": "^5.5.0",
36
36
  "@atlaskit/platform-feature-flags": "^1.1.0",
37
37
  "@atlaskit/prosemirror-collab": "^0.21.0",
38
- "@atlaskit/react-ufo": "^4.11.0",
39
- "@atlaskit/tmp-editor-statsig": "^13.6.0",
38
+ "@atlaskit/react-ufo": "^4.12.0",
39
+ "@atlaskit/tmp-editor-statsig": "^13.13.0",
40
40
  "@atlaskit/ufo": "^0.4.0",
41
41
  "@atlaskit/util-service-support": "^6.3.0",
42
42
  "@babel/runtime": "^7.0.0",
@@ -77,6 +77,6 @@
77
77
  }
78
78
  },
79
79
  "peerDependencies": {
80
- "@atlaskit/editor-common": "^110.10.0"
80
+ "@atlaskit/editor-common": "^110.13.0"
81
81
  }
82
82
  }