@atlaskit/collab-provider 14.0.4 → 14.0.6
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.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.0.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 14.0.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -237,7 +249,6 @@
|
|
|
237
249
|
shared context or singletons.
|
|
238
250
|
|
|
239
251
|
**HOW TO ADJUST:**
|
|
240
|
-
|
|
241
252
|
- Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
|
|
242
253
|
any of these editor plugins.
|
|
243
254
|
- Ensure the version you install matches the version required by the plugins.
|
|
@@ -2476,14 +2487,12 @@
|
|
|
2476
2487
|
[ESS-3333] Update to the structure of errors emitted on the collab provider
|
|
2477
2488
|
|
|
2478
2489
|
Upgrade instructions:
|
|
2479
|
-
|
|
2480
2490
|
- Change the type of the errors emitted on the provider from `CollabEventError` to `ProviderError`
|
|
2481
2491
|
- Remove the reliance on the `status` field of the emitted errors, switch to using either the
|
|
2482
2492
|
error code (exported as enum `PROVIDER_ERROR_CODE`) or the error flag `recoverable` indicating
|
|
2483
2493
|
whether the provider can recover from the emitted error or not
|
|
2484
2494
|
|
|
2485
2495
|
The mapping from the old status codes to the error codes is:
|
|
2486
|
-
|
|
2487
2496
|
- Status 403: PROVIDER_ERROR_CODE.NO_PERMISSION_ERROR, PROVIDER_ERROR_CODE.INVALID_USER_TOKEN
|
|
2488
2497
|
- Status 404: PROVIDER_ERROR_CODE.DOCUMENT_NOT_FOUND
|
|
2489
2498
|
- Status 423: PROVIDER_ERROR_CODE.LOCKED
|
|
@@ -2884,7 +2893,6 @@
|
|
|
2884
2893
|
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
2885
2894
|
[`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
2886
2895
|
ED-11632: Bump prosemirror packages;
|
|
2887
|
-
|
|
2888
2896
|
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
2889
2897
|
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
2890
2898
|
- 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.5";
|
|
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.6",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"team": "Editor: Collaboration"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@atlaskit/adf-utils": "^19.
|
|
29
|
+
"@atlaskit/adf-utils": "^19.25.0",
|
|
30
30
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
31
31
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
32
|
-
"@atlaskit/anonymous-assets": "^0.0.
|
|
33
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
32
|
+
"@atlaskit/anonymous-assets": "^0.0.11",
|
|
33
|
+
"@atlaskit/editor-json-transformer": "^8.31.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
|
-
"@atlaskit/prosemirror-collab": "^0.
|
|
38
|
-
"@atlaskit/react-ufo": "^4.
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
37
|
+
"@atlaskit/prosemirror-collab": "^0.22.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",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@atlaskit/adf-schema": "^51.
|
|
65
|
+
"@atlaskit/adf-schema": "^51.3.0",
|
|
66
66
|
"@atlassian/feature-flags-test-utils": "^0.3.0"
|
|
67
67
|
},
|
|
68
68
|
"platform-feature-flags": {
|
|
@@ -77,6 +77,6 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@atlaskit/editor-common": "^110.
|
|
80
|
+
"@atlaskit/editor-common": "^110.14.0"
|
|
81
81
|
}
|
|
82
82
|
}
|