@atlaskit/collab-provider 14.0.4 → 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,11 @@
|
|
|
1
1
|
# @atlaskit/collab-provider
|
|
2
2
|
|
|
3
|
+
## 14.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 14.0.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -237,7 +243,6 @@
|
|
|
237
243
|
shared context or singletons.
|
|
238
244
|
|
|
239
245
|
**HOW TO ADJUST:**
|
|
240
|
-
|
|
241
246
|
- Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
|
|
242
247
|
any of these editor plugins.
|
|
243
248
|
- Ensure the version you install matches the version required by the plugins.
|
|
@@ -2476,14 +2481,12 @@
|
|
|
2476
2481
|
[ESS-3333] Update to the structure of errors emitted on the collab provider
|
|
2477
2482
|
|
|
2478
2483
|
Upgrade instructions:
|
|
2479
|
-
|
|
2480
2484
|
- Change the type of the errors emitted on the provider from `CollabEventError` to `ProviderError`
|
|
2481
2485
|
- Remove the reliance on the `status` field of the emitted errors, switch to using either the
|
|
2482
2486
|
error code (exported as enum `PROVIDER_ERROR_CODE`) or the error flag `recoverable` indicating
|
|
2483
2487
|
whether the provider can recover from the emitted error or not
|
|
2484
2488
|
|
|
2485
2489
|
The mapping from the old status codes to the error codes is:
|
|
2486
|
-
|
|
2487
2490
|
- Status 403: PROVIDER_ERROR_CODE.NO_PERMISSION_ERROR, PROVIDER_ERROR_CODE.INVALID_USER_TOKEN
|
|
2488
2491
|
- Status 404: PROVIDER_ERROR_CODE.DOCUMENT_NOT_FOUND
|
|
2489
2492
|
- Status 423: PROVIDER_ERROR_CODE.LOCKED
|
|
@@ -2884,7 +2887,6 @@
|
|
|
2884
2887
|
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
2885
2888
|
[`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
2886
2889
|
ED-11632: Bump prosemirror packages;
|
|
2887
|
-
|
|
2888
2890
|
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
2889
2891
|
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
2890
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 = "
|
|
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
|
};
|
|
@@ -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
|
+
"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.
|
|
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.
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
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.
|
|
80
|
+
"@atlaskit/editor-common": "^110.13.0"
|
|
81
81
|
}
|
|
82
82
|
}
|