@atlaskit/collab-provider 9.12.4 → 9.13.0
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 +103 -91
- package/dist/cjs/provider/index.js +8 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/provider/index.js +8 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/provider/index.js +8 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/provider/index.d.ts +1 -0
- package/dist/types-ts4.5/provider/index.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/collab-provider
|
|
2
2
|
|
|
3
|
+
## 9.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#40878](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40878) [`7009422b0ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7009422b0ad) - remove provider initialization check for buffering
|
|
8
|
+
|
|
9
|
+
## 9.12.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749) [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect yarn changeset to packages, upgrade adf-schema
|
|
14
|
+
|
|
3
15
|
## 9.12.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -16,44 +28,44 @@
|
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete adf-schema from AFE and rely on npm package for adf-schema
|
|
31
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481) [`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete adf-schema from AFE and rely on npm package for adf-schema
|
|
20
32
|
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete adf-schema, use published version
|
|
21
33
|
|
|
22
34
|
## 9.12.1
|
|
23
35
|
|
|
24
36
|
### Patch Changes
|
|
25
37
|
|
|
26
|
-
- [`41f00a65fed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41f00a65fed) - Add ClientId for CatchUp
|
|
38
|
+
- [#39189](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39189) [`41f00a65fed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41f00a65fed) - Add ClientId for CatchUp
|
|
27
39
|
|
|
28
40
|
## 9.12.0
|
|
29
41
|
|
|
30
42
|
### Minor Changes
|
|
31
43
|
|
|
32
|
-
- [`d1cee97f581`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1cee97f581) - removing stateless provider setup
|
|
44
|
+
- [#39302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39302) [`d1cee97f581`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1cee97f581) - removing stateless provider setup
|
|
33
45
|
|
|
34
46
|
## 9.11.1
|
|
35
47
|
|
|
36
48
|
### Patch Changes
|
|
37
49
|
|
|
38
|
-
- [`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change adf-schema to fixed versioning
|
|
50
|
+
- [#38976](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38976) [`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change adf-schema to fixed versioning
|
|
39
51
|
|
|
40
52
|
## 9.11.0
|
|
41
53
|
|
|
42
54
|
### Minor Changes
|
|
43
55
|
|
|
44
|
-
- [`c50ae0964ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c50ae0964ce) - seperate catching error handling
|
|
56
|
+
- [#38553](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38553) [`c50ae0964ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c50ae0964ce) - seperate catching error handling
|
|
45
57
|
|
|
46
58
|
## 9.10.1
|
|
47
59
|
|
|
48
60
|
### Patch Changes
|
|
49
61
|
|
|
50
|
-
- [`469b5c12303`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469b5c12303) - NO-ISSUE Move CollabEventLocalStepData to editor-common
|
|
62
|
+
- [#38613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38613) [`469b5c12303`](https://bitbucket.org/atlassian/atlassian-frontend/commits/469b5c12303) - NO-ISSUE Move CollabEventLocalStepData to editor-common
|
|
51
63
|
|
|
52
64
|
## 9.10.0
|
|
53
65
|
|
|
54
66
|
### Minor Changes
|
|
55
67
|
|
|
56
|
-
- [`592dcbd5756`](https://bitbucket.org/atlassian/atlassian-frontend/commits/592dcbd5756) - Adding analytics events for early provider initialization and buffering
|
|
68
|
+
- [#38589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38589) [`592dcbd5756`](https://bitbucket.org/atlassian/atlassian-frontend/commits/592dcbd5756) - Adding analytics events for early provider initialization and buffering
|
|
57
69
|
|
|
58
70
|
## 9.9.1
|
|
59
71
|
|
|
@@ -65,164 +77,164 @@
|
|
|
65
77
|
|
|
66
78
|
### Minor Changes
|
|
67
79
|
|
|
68
|
-
- [`4c6ebd50aeb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c6ebd50aeb) - call reconcile when commitUnconfirmedSteps fails (mitigation for 'can't sync up' errors)
|
|
80
|
+
- [#37838](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37838) [`4c6ebd50aeb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c6ebd50aeb) - call reconcile when commitUnconfirmedSteps fails (mitigation for 'can't sync up' errors)
|
|
69
81
|
|
|
70
82
|
## 9.8.0
|
|
71
83
|
|
|
72
84
|
### Minor Changes
|
|
73
85
|
|
|
74
|
-
- [`aceff84b101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aceff84b101) - initializing provider on setup if buffering is enabled
|
|
86
|
+
- [#37113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37113) [`aceff84b101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aceff84b101) - initializing provider on setup if buffering is enabled
|
|
75
87
|
|
|
76
88
|
## 9.7.4
|
|
77
89
|
|
|
78
90
|
### Patch Changes
|
|
79
91
|
|
|
80
|
-
- [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
|
|
92
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785) [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
|
|
81
93
|
|
|
82
94
|
## 9.7.3
|
|
83
95
|
|
|
84
96
|
### Patch Changes
|
|
85
97
|
|
|
86
|
-
- [`04fa8eb5246`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04fa8eb5246) - Added rate limiting options to collab provider
|
|
98
|
+
- [#36673](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36673) [`04fa8eb5246`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04fa8eb5246) - Added rate limiting options to collab provider
|
|
87
99
|
|
|
88
100
|
## 9.7.2
|
|
89
101
|
|
|
90
102
|
### Patch Changes
|
|
91
103
|
|
|
92
|
-
- [`f9735e0690e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9735e0690e) - Using socket.onAnyOutgoing to measure and send message metrics
|
|
104
|
+
- [#36435](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36435) [`f9735e0690e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9735e0690e) - Using socket.onAnyOutgoing to measure and send message metrics
|
|
93
105
|
|
|
94
106
|
## 9.7.1
|
|
95
107
|
|
|
96
108
|
### Patch Changes
|
|
97
109
|
|
|
98
|
-
- [`14224c3f8a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/14224c3f8a4) - [ED-18162] Move the collab provider types to the editor common package to avoid circular dependencies
|
|
110
|
+
- [#36848](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36848) [`14224c3f8a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/14224c3f8a4) - [ED-18162] Move the collab provider types to the editor common package to avoid circular dependencies
|
|
99
111
|
|
|
100
112
|
## 9.7.0
|
|
101
113
|
|
|
102
114
|
### Minor Changes
|
|
103
115
|
|
|
104
|
-
- [`3265cccb965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3265cccb965) - resolving editor state before updating document/metadata during early provider initialization
|
|
116
|
+
- [#36385](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36385) [`3265cccb965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3265cccb965) - resolving editor state before updating document/metadata during early provider initialization
|
|
105
117
|
|
|
106
118
|
## 9.6.4
|
|
107
119
|
|
|
108
120
|
### Patch Changes
|
|
109
121
|
|
|
110
|
-
- [`b7cd15f159b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7cd15f159b) - ESS-3572 Fix getFinalAcknowledgedState and getCurrentState error handlers not catching errors. Add logs to track the title metadata property
|
|
122
|
+
- [#34163](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34163) [`b7cd15f159b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7cd15f159b) - ESS-3572 Fix getFinalAcknowledgedState and getCurrentState error handlers not catching errors. Add logs to track the title metadata property
|
|
111
123
|
|
|
112
124
|
## 9.6.3
|
|
113
125
|
|
|
114
126
|
### Patch Changes
|
|
115
127
|
|
|
116
|
-
- [`857daf603b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/857daf603b0) - ESS-3718: change CollabEventPresenceData joined type to ProviderParticipant
|
|
128
|
+
- [#36775](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36775) [`857daf603b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/857daf603b0) - ESS-3718: change CollabEventPresenceData joined type to ProviderParticipant
|
|
117
129
|
|
|
118
130
|
## 9.6.2
|
|
119
131
|
|
|
120
132
|
### Patch Changes
|
|
121
133
|
|
|
122
|
-
- [`2e7c3cad470`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7c3cad470) - Reduce stepsAdded analytics events by only sampling 10%
|
|
134
|
+
- [#36604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36604) [`2e7c3cad470`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7c3cad470) - Reduce stepsAdded analytics events by only sampling 10%
|
|
123
135
|
|
|
124
136
|
## 9.6.1
|
|
125
137
|
|
|
126
138
|
### Patch Changes
|
|
127
139
|
|
|
128
|
-
- [`979e3ad2b67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/979e3ad2b67) - NO-ISSUE: add data portal links and fix a broken analytics error event
|
|
140
|
+
- [#36612](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36612) [`979e3ad2b67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/979e3ad2b67) - NO-ISSUE: add data portal links and fix a broken analytics error event
|
|
129
141
|
|
|
130
142
|
## 9.6.0
|
|
131
143
|
|
|
132
144
|
### Minor Changes
|
|
133
145
|
|
|
134
|
-
- [`7ef82ea1810`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ef82ea1810) - ESS-3718: export ProviderParticipant for JWM
|
|
146
|
+
- [#36615](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36615) [`7ef82ea1810`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ef82ea1810) - ESS-3718: export ProviderParticipant for JWM
|
|
135
147
|
|
|
136
148
|
## 9.5.2
|
|
137
149
|
|
|
138
150
|
### Patch Changes
|
|
139
151
|
|
|
140
|
-
- [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
152
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241) [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
|
|
141
153
|
|
|
142
154
|
## 9.5.1
|
|
143
155
|
|
|
144
156
|
### Patch Changes
|
|
145
157
|
|
|
146
|
-
- [`74e05b3d5d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74e05b3d5d3) - bump socket.io-client version number
|
|
158
|
+
- [#36271](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36271) [`74e05b3d5d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74e05b3d5d3) - bump socket.io-client version number
|
|
147
159
|
|
|
148
160
|
## 9.5.0
|
|
149
161
|
|
|
150
162
|
### Minor Changes
|
|
151
163
|
|
|
152
|
-
- [`27f5fbdbb04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f5fbdbb04) - ESS-3718: add email as a field in ProviderParticipant to support JWM presence/multiplayer bugfix
|
|
164
|
+
- [#35954](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35954) [`27f5fbdbb04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27f5fbdbb04) - ESS-3718: add email as a field in ProviderParticipant to support JWM presence/multiplayer bugfix
|
|
153
165
|
|
|
154
166
|
## 9.4.0
|
|
155
167
|
|
|
156
168
|
### Minor Changes
|
|
157
169
|
|
|
158
|
-
- [`606d4ad65fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/606d4ad65fc) - ESS-3682 Add detection that it the editor failed to update, emit analytics as well added an option to
|
|
170
|
+
- [#36041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36041) [`606d4ad65fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/606d4ad65fc) - ESS-3682 Add detection that it the editor failed to update, emit analytics as well added an option to
|
|
159
171
|
enable emitting fatal errors.
|
|
160
172
|
|
|
161
173
|
### Patch Changes
|
|
162
174
|
|
|
163
|
-
- [`5eb1273509c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb1273509c) - ESS-3728: Fix initialized always set to false when reconnecting.
|
|
175
|
+
- [#36047](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36047) [`5eb1273509c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb1273509c) - ESS-3728: Fix initialized always set to false when reconnecting.
|
|
164
176
|
|
|
165
177
|
## 9.3.1
|
|
166
178
|
|
|
167
179
|
### Patch Changes
|
|
168
180
|
|
|
169
|
-
- [`a9350cf3831`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a9350cf3831) - Check existence of window and document variable for confluence SSR to work
|
|
181
|
+
- [#35233](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35233) [`a9350cf3831`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a9350cf3831) - Check existence of window and document variable for confluence SSR to work
|
|
170
182
|
|
|
171
183
|
## 9.3.0
|
|
172
184
|
|
|
173
185
|
### Minor Changes
|
|
174
186
|
|
|
175
|
-
- [`ece61235edc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ece61235edc) - ESS-3713: add getParticipants function to the collab provider
|
|
187
|
+
- [#35659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35659) [`ece61235edc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ece61235edc) - ESS-3713: add getParticipants function to the collab provider
|
|
176
188
|
|
|
177
189
|
## 9.2.2
|
|
178
190
|
|
|
179
191
|
### Patch Changes
|
|
180
192
|
|
|
181
|
-
- [`11ac0368176`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ac0368176) - Dummy changeset to trigger release
|
|
193
|
+
- [#34954](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34954) [`11ac0368176`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ac0368176) - Dummy changeset to trigger release
|
|
182
194
|
|
|
183
195
|
## 9.2.1
|
|
184
196
|
|
|
185
197
|
### Patch Changes
|
|
186
198
|
|
|
187
|
-
- [`65fafdf95fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65fafdf95fe) - ESS-3666: add additional analytics events for when the cant sync up with collab service error occurs for better troubleshooting
|
|
199
|
+
- [#34993](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34993) [`65fafdf95fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65fafdf95fe) - ESS-3666: add additional analytics events for when the cant sync up with collab service error occurs for better troubleshooting
|
|
188
200
|
|
|
189
201
|
## 9.2.0
|
|
190
202
|
|
|
191
203
|
### Minor Changes
|
|
192
204
|
|
|
193
|
-
- [`ef726a72028`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef726a72028) - adding provider catchup when initial draft timestamp exceeds stale timeout
|
|
205
|
+
- [#34952](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34952) [`ef726a72028`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef726a72028) - adding provider catchup when initial draft timestamp exceeds stale timeout
|
|
194
206
|
|
|
195
207
|
## 9.1.0
|
|
196
208
|
|
|
197
209
|
### Minor Changes
|
|
198
210
|
|
|
199
|
-
- [`2c0c19cc14b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c0c19cc14b) - ESS-3609: add step commit status events for confl save indicator feature
|
|
211
|
+
- [#34887](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34887) [`2c0c19cc14b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c0c19cc14b) - ESS-3609: add step commit status events for confl save indicator feature
|
|
200
212
|
- [`470c3a7e8c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/470c3a7e8c6) - ESS-3644: allow max steps retry param to be passed thru collab provider to allow getFinalAcknowledgeState to catch up sooner on publish
|
|
201
213
|
|
|
202
214
|
## 9.0.1
|
|
203
215
|
|
|
204
216
|
### Patch Changes
|
|
205
217
|
|
|
206
|
-
- [`6fe0ddc993e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fe0ddc993e) - ESS-3624 bug fix for missing avatar in editing sessions
|
|
218
|
+
- [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644) [`6fe0ddc993e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fe0ddc993e) - ESS-3624 bug fix for missing avatar in editing sessions
|
|
207
219
|
- [`579326b4915`](https://bitbucket.org/atlassian/atlassian-frontend/commits/579326b4915) - ESS-2763 update get final editor state
|
|
208
220
|
|
|
209
221
|
## 9.0.0
|
|
210
222
|
|
|
211
223
|
### Major Changes
|
|
212
224
|
|
|
213
|
-
- [`b7086232a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7086232a7c) - ESS-3135: move collab provider types into @atlaskit/collab-provider
|
|
225
|
+
- [#34192](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34192) [`b7086232a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7086232a7c) - ESS-3135: move collab provider types into @atlaskit/collab-provider
|
|
214
226
|
|
|
215
227
|
## 8.9.1
|
|
216
228
|
|
|
217
229
|
### Patch Changes
|
|
218
230
|
|
|
219
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
231
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
220
232
|
|
|
221
233
|
## 8.9.0
|
|
222
234
|
|
|
223
235
|
### Minor Changes
|
|
224
236
|
|
|
225
|
-
- [`220cf63d92b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/220cf63d92b) - ESS-3525 change catchup failed to recoverable true
|
|
237
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771) [`220cf63d92b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/220cf63d92b) - ESS-3525 change catchup failed to recoverable true
|
|
226
238
|
- [`a6bdc7cbd60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6bdc7cbd60) - adding functionality for early collab provider setup with initial draft
|
|
227
239
|
|
|
228
240
|
### Patch Changes
|
|
@@ -237,19 +249,19 @@
|
|
|
237
249
|
|
|
238
250
|
### Patch Changes
|
|
239
251
|
|
|
240
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
252
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
241
253
|
|
|
242
254
|
## 8.8.1
|
|
243
255
|
|
|
244
256
|
### Patch Changes
|
|
245
257
|
|
|
246
|
-
- [`c0f3b955ee6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0f3b955ee6) - remove the deprecated analytics field 'ttlEnabled'
|
|
258
|
+
- [#32951](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32951) [`c0f3b955ee6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0f3b955ee6) - remove the deprecated analytics field 'ttlEnabled'
|
|
247
259
|
|
|
248
260
|
## 8.8.0
|
|
249
261
|
|
|
250
262
|
### Minor Changes
|
|
251
263
|
|
|
252
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
264
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
253
265
|
|
|
254
266
|
### Patch Changes
|
|
255
267
|
|
|
@@ -259,7 +271,7 @@
|
|
|
259
271
|
|
|
260
272
|
### Minor Changes
|
|
261
273
|
|
|
262
|
-
- [`054186aa44f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/054186aa44f) - Remove email from CollabParticipant type and rely more on ProviderParticipant type.
|
|
274
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004) [`054186aa44f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/054186aa44f) - Remove email from CollabParticipant type and rely more on ProviderParticipant type.
|
|
263
275
|
- [`849e1a3b3e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/849e1a3b3e1) - ESS-3486 Add getmetadata as an exposed method.
|
|
264
276
|
|
|
265
277
|
### Patch Changes
|
|
@@ -275,7 +287,7 @@
|
|
|
275
287
|
|
|
276
288
|
### Minor Changes
|
|
277
289
|
|
|
278
|
-
- [`1547aa8e377`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1547aa8e377) - skipping document update with initial draft on reconnection
|
|
290
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`1547aa8e377`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1547aa8e377) - skipping document update with initial draft on reconnection
|
|
279
291
|
- [`76eded42866`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76eded42866) - [ESS-3441] Added Confluence integration tests for collab provider, don't emit empty participants left events
|
|
280
292
|
- [`33cab158f01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cab158f01) - ESS-3478 Fix public interface `getUnconfirmedSteps` from being removed
|
|
281
293
|
- [`02520373358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02520373358) - passing initial draft to NCS collab provider and adding flag to bypass BE draft fetch.
|
|
@@ -294,7 +306,7 @@
|
|
|
294
306
|
|
|
295
307
|
### Minor Changes
|
|
296
308
|
|
|
297
|
-
- [`2192c9417d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2192c9417d7) - [ESS-3335] Review Collab Provider API error handling & types
|
|
309
|
+
- [#31891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31891) [`2192c9417d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2192c9417d7) - [ESS-3335] Review Collab Provider API error handling & types
|
|
298
310
|
- [`c75fcb75c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c75fcb75c4e) - ESS-3241 Added unit tests for document restore.
|
|
299
311
|
ESS-3238 Internal refactor of collab provider, split document code from provider to document service.
|
|
300
312
|
Remove unused userId field from CollabInitPayload, it is never sent as part of the CollabInitPayload.
|
|
@@ -328,7 +340,7 @@
|
|
|
328
340
|
|
|
329
341
|
### Minor Changes
|
|
330
342
|
|
|
331
|
-
- [`eae755e434a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eae755e434a) - [ESS-3269] Don't return an empty document if something goes wrong when returning the final acknowledge state from the collab provider
|
|
343
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`eae755e434a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eae755e434a) - [ESS-3269] Don't return an empty document if something goes wrong when returning the final acknowledge state from the collab provider
|
|
332
344
|
- [`ca548613b49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ca548613b49) - ESS-3218 Add new configuration option throwOnNotConnected, which will throw not connected errors when attempting to save data whilst client is offline.
|
|
333
345
|
- [`329d3bb4e05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/329d3bb4e05) - ESS-2962: added canCache flag in Config for Collab-provider. Channel now stores token locally if canCache flag is passed. Uses local token for reconnections if connection is lost for errors other that 401 and 403.
|
|
334
346
|
- [`1b9c38c7f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b9c38c7f48) - [ESS-3269] Added error handling and metrics for retrieving the current state
|
|
@@ -344,7 +356,7 @@
|
|
|
344
356
|
|
|
345
357
|
### Minor Changes
|
|
346
358
|
|
|
347
|
-
- [`1d36e909618`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d36e909618) - Log error on document restore
|
|
359
|
+
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248) [`1d36e909618`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d36e909618) - Log error on document restore
|
|
348
360
|
- [`0529b1b833c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0529b1b833c) - Trigger catch up call on process steps failing
|
|
349
361
|
- [`4f005660ce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f005660ce2) - Log step commit errors to analytics
|
|
350
362
|
- [`6034004a812`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6034004a812) - Log errors on reconnection failure
|
|
@@ -377,7 +389,7 @@
|
|
|
377
389
|
|
|
378
390
|
### Minor Changes
|
|
379
391
|
|
|
380
|
-
- [`945413f0b29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/945413f0b29) - trigger page recovery when catchup returns 404
|
|
392
|
+
- [#29470](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29470) [`945413f0b29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/945413f0b29) - trigger page recovery when catchup returns 404
|
|
381
393
|
- [`06119d7fed4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/06119d7fed4) - handle catchup after page recovery
|
|
382
394
|
- [`a66427c3fe5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a66427c3fe5) - Add analytics logging to error handling
|
|
383
395
|
- [`56a21fe7209`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56a21fe7209) - Improve error handling logic
|
|
@@ -392,7 +404,7 @@
|
|
|
392
404
|
|
|
393
405
|
### Minor Changes
|
|
394
406
|
|
|
395
|
-
- [`59e998e408f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59e998e408f) - [ESS-2914] Switch to the forked prosemirror-collab library (based on version 1.3.0) to filter out analytics steps
|
|
407
|
+
- [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932) [`59e998e408f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59e998e408f) - [ESS-2914] Switch to the forked prosemirror-collab library (based on version 1.3.0) to filter out analytics steps
|
|
396
408
|
- [`ec0ebbf16bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec0ebbf16bc) - Adding Feature Flag to Collab Provider
|
|
397
409
|
|
|
398
410
|
### Patch Changes
|
|
@@ -404,14 +416,14 @@
|
|
|
404
416
|
|
|
405
417
|
### Patch Changes
|
|
406
418
|
|
|
407
|
-
- [`7ba48e47e3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ba48e47e3b) - NO-ISSUE Re-removed some unused prod dependencies that were accidentally merged back in
|
|
419
|
+
- [#28374](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28374) [`7ba48e47e3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ba48e47e3b) - NO-ISSUE Re-removed some unused prod dependencies that were accidentally merged back in
|
|
408
420
|
- Updated dependencies
|
|
409
421
|
|
|
410
422
|
## 8.0.0
|
|
411
423
|
|
|
412
424
|
### Major Changes
|
|
413
425
|
|
|
414
|
-
- [`618b64f0d8c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/618b64f0d8c) - Introduce ufo and measure document init latency with histogram
|
|
426
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`618b64f0d8c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/618b64f0d8c) - Introduce ufo and measure document init latency with histogram
|
|
415
427
|
|
|
416
428
|
### Minor Changes
|
|
417
429
|
|
|
@@ -431,7 +443,7 @@
|
|
|
431
443
|
|
|
432
444
|
### Minor Changes
|
|
433
445
|
|
|
434
|
-
- [`fa0da169cce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa0da169cce) - Introducing namespace status update: lock & unlock events
|
|
446
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`fa0da169cce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa0da169cce) - Introducing namespace status update: lock & unlock events
|
|
435
447
|
- [`eaada7441d0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eaada7441d0) - ESS-2853 Add metrics for page recovery events
|
|
436
448
|
- [`6319cd08784`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6319cd08784) - add page restoration event handler
|
|
437
449
|
|
|
@@ -443,7 +455,7 @@
|
|
|
443
455
|
|
|
444
456
|
### Patch Changes
|
|
445
457
|
|
|
446
|
-
- [`1a64a3e3e53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a64a3e3e53) - ESS-2591 Reduce initial re-connection delay and increase randomization factor for socket io connections.
|
|
458
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`1a64a3e3e53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a64a3e3e53) - ESS-2591 Reduce initial re-connection delay and increase randomization factor for socket io connections.
|
|
447
459
|
- [`ee8ac15d730`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee8ac15d730) - ESS-1363 add packageVersion to analytic events
|
|
448
460
|
- [`29292da81d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29292da81d7) - Increased the limits for the collab sync on returning the document to the consumer
|
|
449
461
|
- [`e06f8ba062f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e06f8ba062f) - Disable collab provider transport closing on the beforeunload event.
|
|
@@ -459,14 +471,14 @@
|
|
|
459
471
|
|
|
460
472
|
### Patch Changes
|
|
461
473
|
|
|
462
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
474
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
463
475
|
- Updated dependencies
|
|
464
476
|
|
|
465
477
|
## 7.6.0
|
|
466
478
|
|
|
467
479
|
### Minor Changes
|
|
468
480
|
|
|
469
|
-
- [`5bd58e91664`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5bd58e91664) - [ESS-2513] Add tracking for number of participants in analytics
|
|
481
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`5bd58e91664`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5bd58e91664) - [ESS-2513] Add tracking for number of participants in analytics
|
|
470
482
|
|
|
471
483
|
### Patch Changes
|
|
472
484
|
|
|
@@ -476,14 +488,14 @@
|
|
|
476
488
|
|
|
477
489
|
### Patch Changes
|
|
478
490
|
|
|
479
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
491
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
480
492
|
- Updated dependencies
|
|
481
493
|
|
|
482
494
|
## 7.5.0
|
|
483
495
|
|
|
484
496
|
### Minor Changes
|
|
485
497
|
|
|
486
|
-
- [`1c555e79e56`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c555e79e56) - Added the capability to pass product information (product & sub-product) to the collab service
|
|
498
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`1c555e79e56`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c555e79e56) - Added the capability to pass product information (product & sub-product) to the collab service
|
|
487
499
|
- [`247420a48f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/247420a48f7) - [ESS-1050] Return ADF document from getFinalAcknowledgedState
|
|
488
500
|
- [`17f1b0b87cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17f1b0b87cc) - ESS-1019 changes the reconnectionDelayMax to 128s to reduce the reconnection storm.
|
|
489
501
|
|
|
@@ -503,7 +515,7 @@
|
|
|
503
515
|
|
|
504
516
|
### Patch Changes
|
|
505
517
|
|
|
506
|
-
- [`ec2f2d0b804`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec2f2d0b804) - ED-14734: Add analytics to track time to connect to collab service, as well as tracking document initial load time.
|
|
518
|
+
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`ec2f2d0b804`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec2f2d0b804) - ED-14734: Add analytics to track time to connect to collab service, as well as tracking document initial load time.
|
|
507
519
|
|
|
508
520
|
## 7.4.2
|
|
509
521
|
|
|
@@ -521,7 +533,7 @@
|
|
|
521
533
|
|
|
522
534
|
### Minor Changes
|
|
523
535
|
|
|
524
|
-
- [`de9e3c28026`](https://bitbucket.org/atlassian/atlassian-frontend/commits/de9e3c28026) - [ED-14689] Refactor getFinalAcknowledgedState to only wait for the unconfirmed steps at the time of calling it to be confirmed. It will no longer wait for there to be no unconfirmed steps at all.
|
|
536
|
+
- [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`de9e3c28026`](https://bitbucket.org/atlassian/atlassian-frontend/commits/de9e3c28026) - [ED-14689] Refactor getFinalAcknowledgedState to only wait for the unconfirmed steps at the time of calling it to be confirmed. It will no longer wait for there to be no unconfirmed steps at all.
|
|
525
537
|
|
|
526
538
|
### Patch Changes
|
|
527
539
|
|
|
@@ -531,20 +543,20 @@
|
|
|
531
543
|
|
|
532
544
|
### Patch Changes
|
|
533
545
|
|
|
534
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
546
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
535
547
|
- Updated dependencies
|
|
536
548
|
|
|
537
549
|
## 7.3.0
|
|
538
550
|
|
|
539
551
|
### Minor Changes
|
|
540
552
|
|
|
541
|
-
- [`617085788ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/617085788ed) - Allow collab provider to opt-in for 404 responses from NCS backend
|
|
553
|
+
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`617085788ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/617085788ed) - Allow collab provider to opt-in for 404 responses from NCS backend
|
|
542
554
|
|
|
543
555
|
## 7.2.0
|
|
544
556
|
|
|
545
557
|
### Minor Changes
|
|
546
558
|
|
|
547
|
-
- [`502a39af839`](https://bitbucket.org/atlassian/atlassian-frontend/commits/502a39af839) - Allow collab provider to opt-in for 404 responses from NCS backend
|
|
559
|
+
- [#20556](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20556) [`502a39af839`](https://bitbucket.org/atlassian/atlassian-frontend/commits/502a39af839) - Allow collab provider to opt-in for 404 responses from NCS backend
|
|
548
560
|
|
|
549
561
|
## 7.1.8
|
|
550
562
|
|
|
@@ -562,7 +574,7 @@
|
|
|
562
574
|
|
|
563
575
|
### Patch Changes
|
|
564
576
|
|
|
565
|
-
- [`5d5d6468ba9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d5d6468ba9) - Remove url-parse from collab-provider
|
|
577
|
+
- [#18663](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18663) [`5d5d6468ba9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d5d6468ba9) - Remove url-parse from collab-provider
|
|
566
578
|
|
|
567
579
|
Url-parse can be replaced with the built-in URL constructor
|
|
568
580
|
|
|
@@ -570,10 +582,10 @@
|
|
|
570
582
|
|
|
571
583
|
### Patch Changes
|
|
572
584
|
|
|
573
|
-
- [`f82fb6c48f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f82fb6c48f7) - [ED-13911] Fix cycle dependencies
|
|
585
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`f82fb6c48f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f82fb6c48f7) - [ED-13911] Fix cycle dependencies
|
|
574
586
|
- [`97412280671`](https://bitbucket.org/atlassian/atlassian-frontend/commits/97412280671) - [ED-13939] Add analytics event to track "can't syncup with collab service" error
|
|
575
587
|
- [`88ada10af2c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88ada10af2c) - [ED-14097] Moved getFinalAcknowledgedState control to editor and made the API public
|
|
576
|
-
- [`85648c038a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85648c038a4) - ED-13939 Rename newCollabSyncUpError analytics event to newCollabSyncUpErrorNoSteps
|
|
588
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`85648c038a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85648c038a4) - ED-13939 Rename newCollabSyncUpError analytics event to newCollabSyncUpErrorNoSteps
|
|
577
589
|
- [`e292f108d4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e292f108d4b) - Ensure metadata is persisted when it is updated by another participant during an editing session
|
|
578
590
|
- Updated dependencies
|
|
579
591
|
|
|
@@ -588,7 +600,7 @@
|
|
|
588
600
|
|
|
589
601
|
### Patch Changes
|
|
590
602
|
|
|
591
|
-
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
603
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
592
604
|
|
|
593
605
|
## 7.1.2
|
|
594
606
|
|
|
@@ -600,7 +612,7 @@
|
|
|
600
612
|
|
|
601
613
|
### Patch Changes
|
|
602
614
|
|
|
603
|
-
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) - ED-11632: Bump prosemirror packages;
|
|
615
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) - ED-11632: Bump prosemirror packages;
|
|
604
616
|
|
|
605
617
|
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
606
618
|
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
@@ -615,7 +627,7 @@
|
|
|
615
627
|
|
|
616
628
|
### Minor Changes
|
|
617
629
|
|
|
618
|
-
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - COLLAB-411-change-to-metadata: 'setTitle' and 'setEditorWidth' are deprecated, going to be removed in the next release, use 'setMetadata' instead.
|
|
630
|
+
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - COLLAB-411-change-to-metadata: 'setTitle' and 'setEditorWidth' are deprecated, going to be removed in the next release, use 'setMetadata' instead.
|
|
619
631
|
- [`10d7bc384aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d7bc384aa) - COLLAB-933: add disconnected event
|
|
620
632
|
|
|
621
633
|
### Patch Changes
|
|
@@ -626,7 +638,7 @@
|
|
|
626
638
|
|
|
627
639
|
### Patch Changes
|
|
628
640
|
|
|
629
|
-
- [`2f5b81920af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f5b81920af) - Refactor the provider class in collab provider
|
|
641
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`2f5b81920af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2f5b81920af) - Refactor the provider class in collab provider
|
|
630
642
|
- [`0ec1c930f96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ec1c930f96) - NONE: tuning catchup trigger
|
|
631
643
|
- Updated dependencies
|
|
632
644
|
|
|
@@ -634,7 +646,7 @@
|
|
|
634
646
|
|
|
635
647
|
### Major Changes
|
|
636
648
|
|
|
637
|
-
- [`6090cc1cf57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6090cc1cf57) - COLLAB-820: use `permissionTokenRefresh` for custom JWT token
|
|
649
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`6090cc1cf57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6090cc1cf57) - COLLAB-820: use `permissionTokenRefresh` for custom JWT token
|
|
638
650
|
|
|
639
651
|
### Patch Changes
|
|
640
652
|
|
|
@@ -645,7 +657,7 @@
|
|
|
645
657
|
|
|
646
658
|
### Minor Changes
|
|
647
659
|
|
|
648
|
-
- [`91a481d1b7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/91a481d1b7d) - Add analytics for catchup
|
|
660
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`91a481d1b7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/91a481d1b7d) - Add analytics for catchup
|
|
649
661
|
|
|
650
662
|
### Patch Changes
|
|
651
663
|
|
|
@@ -657,21 +669,21 @@
|
|
|
657
669
|
|
|
658
670
|
### Patch Changes
|
|
659
671
|
|
|
660
|
-
- [`ae910a43cf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae910a43cf9) - COLLAB-537: fix reconnect fail to trigger
|
|
672
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`ae910a43cf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae910a43cf9) - COLLAB-537: fix reconnect fail to trigger
|
|
661
673
|
- Updated dependencies
|
|
662
674
|
|
|
663
675
|
## 6.4.1
|
|
664
676
|
|
|
665
677
|
### Patch Changes
|
|
666
678
|
|
|
667
|
-
- [`a87567a24b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a87567a24b3) - fix catchup
|
|
679
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`a87567a24b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a87567a24b3) - fix catchup
|
|
668
680
|
- Updated dependencies
|
|
669
681
|
|
|
670
682
|
## 6.4.0
|
|
671
683
|
|
|
672
684
|
### Minor Changes
|
|
673
685
|
|
|
674
|
-
- [`8efef26a27e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8efef26a27e) - [COLLAB-683] Removed debounce and throttle from Collab Provider due to sync delay on Confluence
|
|
686
|
+
- [#10867](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10867) [`8efef26a27e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8efef26a27e) - [COLLAB-683] Removed debounce and throttle from Collab Provider due to sync delay on Confluence
|
|
675
687
|
|
|
676
688
|
## 6.3.1
|
|
677
689
|
|
|
@@ -683,7 +695,7 @@
|
|
|
683
695
|
|
|
684
696
|
### Minor Changes
|
|
685
697
|
|
|
686
|
-
- [`8734a8b70a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8734a8b70a8) - allow consumers to circumvent hard editor coupling
|
|
698
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`8734a8b70a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8734a8b70a8) - allow consumers to circumvent hard editor coupling
|
|
687
699
|
|
|
688
700
|
### Patch Changes
|
|
689
701
|
|
|
@@ -693,7 +705,7 @@
|
|
|
693
705
|
|
|
694
706
|
### Minor Changes
|
|
695
707
|
|
|
696
|
-
- [`e6cc5277203`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6cc5277203) - COLLAB-388: emit 404 error event when document not found in Collab Service
|
|
708
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`e6cc5277203`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6cc5277203) - COLLAB-388: emit 404 error event when document not found in Collab Service
|
|
697
709
|
|
|
698
710
|
### Patch Changes
|
|
699
711
|
|
|
@@ -705,13 +717,13 @@
|
|
|
705
717
|
|
|
706
718
|
### Minor Changes
|
|
707
719
|
|
|
708
|
-
- [`15d11ecc623`](https://bitbucket.org/atlassian/atlassian-frontend/commits/15d11ecc623) - COLLAB-482: change no permission error code to 403
|
|
720
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`15d11ecc623`](https://bitbucket.org/atlassian/atlassian-frontend/commits/15d11ecc623) - COLLAB-482: change no permission error code to 403
|
|
709
721
|
|
|
710
722
|
## 6.0.0
|
|
711
723
|
|
|
712
724
|
### Major Changes
|
|
713
725
|
|
|
714
|
-
- [`b010a665e13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b010a665e13) - Bump socket IO to version 3 for collab provider
|
|
726
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`b010a665e13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b010a665e13) - Bump socket IO to version 3 for collab provider
|
|
715
727
|
|
|
716
728
|
### Minor Changes
|
|
717
729
|
|
|
@@ -730,7 +742,7 @@
|
|
|
730
742
|
|
|
731
743
|
### Minor Changes
|
|
732
744
|
|
|
733
|
-
- [`360a14b1d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/360a14b1d2) - fix issue with empty string for title and editor width
|
|
745
|
+
- [#7425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7425) [`360a14b1d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/360a14b1d2) - fix issue with empty string for title and editor width
|
|
734
746
|
- [`2ef9970ee2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ef9970ee2) - add analytics for collab provider
|
|
735
747
|
- [`1c0473e050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c0473e050) - Collab provider to support custom share token for embedded confluence page
|
|
736
748
|
|
|
@@ -738,7 +750,7 @@
|
|
|
738
750
|
|
|
739
751
|
### Minor Changes
|
|
740
752
|
|
|
741
|
-
- [`3f6006306a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f6006306a) - add stepVersion into getFinalAcknowledgedState
|
|
753
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170) [`3f6006306a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f6006306a) - add stepVersion into getFinalAcknowledgedState
|
|
742
754
|
|
|
743
755
|
### Patch Changes
|
|
744
756
|
|
|
@@ -748,14 +760,14 @@
|
|
|
748
760
|
|
|
749
761
|
### Patch Changes
|
|
750
762
|
|
|
751
|
-
- [`f9cd884b7e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd884b7e) - Fix issue with emitting noisy empty presence events.
|
|
763
|
+
- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930) [`f9cd884b7e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd884b7e) - Fix issue with emitting noisy empty presence events.
|
|
752
764
|
- Updated dependencies
|
|
753
765
|
|
|
754
766
|
## 5.0.0
|
|
755
767
|
|
|
756
768
|
### Major Changes
|
|
757
769
|
|
|
758
|
-
- [`da77198e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da77198e43) - Rename title:changed to metadata:changed in collab provider, editor common and mobile bridge
|
|
770
|
+
- [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`da77198e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da77198e43) - Rename title:changed to metadata:changed in collab provider, editor common and mobile bridge
|
|
759
771
|
|
|
760
772
|
### Patch Changes
|
|
761
773
|
|
|
@@ -765,13 +777,13 @@
|
|
|
765
777
|
|
|
766
778
|
### Patch Changes
|
|
767
779
|
|
|
768
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
780
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
769
781
|
|
|
770
782
|
## 4.1.0
|
|
771
783
|
|
|
772
784
|
### Minor Changes
|
|
773
785
|
|
|
774
|
-
- [`c3ce422cd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3ce422cd4) - COLLAB-11-trigger-catchup-5s
|
|
786
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`c3ce422cd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3ce422cd4) - COLLAB-11-trigger-catchup-5s
|
|
775
787
|
- [`474b09e4c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/474b09e4c0) - COLLAB-11 steps rejected error handler
|
|
776
788
|
|
|
777
789
|
### Patch Changes
|
|
@@ -782,7 +794,7 @@
|
|
|
782
794
|
|
|
783
795
|
### Major Changes
|
|
784
796
|
|
|
785
|
-
- [`e3b2251f29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3b2251f29) - Breaking change for collab provider as userId has been removed from constructor. Mobile bridge and editor demo app require an upgrade too
|
|
797
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860) [`e3b2251f29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3b2251f29) - Breaking change for collab provider as userId has been removed from constructor. Mobile bridge and editor demo app require an upgrade too
|
|
786
798
|
|
|
787
799
|
### Patch Changes
|
|
788
800
|
|
|
@@ -794,13 +806,13 @@
|
|
|
794
806
|
|
|
795
807
|
### Patch Changes
|
|
796
808
|
|
|
797
|
-
- [`ac54a7870c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac54a7870c) - Remove extraneous dependencies rule suppression
|
|
809
|
+
- [#5725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5725) [`ac54a7870c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac54a7870c) - Remove extraneous dependencies rule suppression
|
|
798
810
|
|
|
799
811
|
## 3.3.1
|
|
800
812
|
|
|
801
813
|
### Patch Changes
|
|
802
814
|
|
|
803
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
815
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
804
816
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
805
817
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
806
818
|
|
|
@@ -808,7 +820,7 @@
|
|
|
808
820
|
|
|
809
821
|
### Minor Changes
|
|
810
822
|
|
|
811
|
-
- [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
823
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
|
812
824
|
|
|
813
825
|
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
|
814
826
|
|
|
@@ -829,7 +841,7 @@
|
|
|
829
841
|
|
|
830
842
|
### Patch Changes
|
|
831
843
|
|
|
832
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
844
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
833
845
|
|
|
834
846
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
835
847
|
to prevent duplicates of tslib being bundled.
|
|
@@ -838,13 +850,13 @@
|
|
|
838
850
|
|
|
839
851
|
### Patch Changes
|
|
840
852
|
|
|
841
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
853
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
842
854
|
|
|
843
855
|
## 3.2.0
|
|
844
856
|
|
|
845
857
|
### Minor Changes
|
|
846
858
|
|
|
847
|
-
- [`4809ed1b20`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4809ed1b20) - fix many infinite heartbeats
|
|
859
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`4809ed1b20`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4809ed1b20) - fix many infinite heartbeats
|
|
848
860
|
|
|
849
861
|
### Patch Changes
|
|
850
862
|
|
|
@@ -855,7 +867,7 @@
|
|
|
855
867
|
|
|
856
868
|
### Minor Changes
|
|
857
869
|
|
|
858
|
-
- [`90a0d166b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90a0d166b3) - fix: pass the correct path to resolve the conflict with http
|
|
870
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`90a0d166b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90a0d166b3) - fix: pass the correct path to resolve the conflict with http
|
|
859
871
|
- [`372494e25b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/372494e25b) - add path to collab provider
|
|
860
872
|
|
|
861
873
|
### Patch Changes
|
|
@@ -866,7 +878,7 @@
|
|
|
866
878
|
|
|
867
879
|
### Major Changes
|
|
868
880
|
|
|
869
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
881
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
870
882
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
871
883
|
|
|
872
884
|
### Patch Changes
|
|
@@ -877,7 +889,7 @@
|
|
|
877
889
|
|
|
878
890
|
### Major Changes
|
|
879
891
|
|
|
880
|
-
- [`3eb98cd820`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3eb98cd820) - ED-9367 Add required config argument to `createSocket`
|
|
892
|
+
- [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`3eb98cd820`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3eb98cd820) - ED-9367 Add required config argument to `createSocket`
|
|
881
893
|
|
|
882
894
|
### Minor Changes
|
|
883
895
|
|
|
@@ -893,7 +905,7 @@
|
|
|
893
905
|
|
|
894
906
|
### Patch Changes
|
|
895
907
|
|
|
896
|
-
- [`473504379b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/473504379b) - ED-9367 Use collab entry point on editor-common
|
|
908
|
+
- [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443) [`473504379b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/473504379b) - ED-9367 Use collab entry point on editor-common
|
|
897
909
|
- [`0d43df75cb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d43df75cb) - Add unit tests for channel.ts
|
|
898
910
|
- Updated dependencies
|
|
899
911
|
|
|
@@ -901,7 +913,7 @@
|
|
|
901
913
|
|
|
902
914
|
### Patch Changes
|
|
903
915
|
|
|
904
|
-
- [`56a7357c81`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56a7357c81) - ED-9197: upgrade prosemirror-transform to prevent cut and paste type errors
|
|
916
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`56a7357c81`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56a7357c81) - ED-9197: upgrade prosemirror-transform to prevent cut and paste type errors
|
|
905
917
|
|
|
906
918
|
It's important to make sure that there isn't any `prosemirror-transform` packages with version less than 1.2.5 in `yarn.lock`.- Updated dependencies
|
|
907
919
|
|
|
@@ -44,6 +44,7 @@ var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
44
44
|
_this = _super.call(this);
|
|
45
45
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "isChannelInitialized", false);
|
|
46
46
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "isProviderInitialized", false);
|
|
47
|
+
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "isBuffered", false);
|
|
47
48
|
// isBufferingEnabled is a boolean value passed to the config during provider creation.
|
|
48
49
|
// It determines if the provider should initialize immediately and will only be true if:
|
|
49
50
|
// the feature flag is enabled and the initial draft fetched from NCS is also passed in the config.
|
|
@@ -85,14 +86,16 @@ var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
85
86
|
_this.emit('connecting', {
|
|
86
87
|
initial: true
|
|
87
88
|
});
|
|
88
|
-
|
|
89
|
+
// shouldSkipDocumentInit will bypass the NCS draft fetch if the initial draft is passed to the provider
|
|
90
|
+
var shouldSkipDocumentInit = Boolean(_this.initialDraft);
|
|
89
91
|
_this.channel.on('connected', function (_ref2) {
|
|
90
92
|
var sid = _ref2.sid,
|
|
91
93
|
initialized = _ref2.initialized;
|
|
92
94
|
_this.sessionId = sid;
|
|
93
|
-
// if buffering is enabled and the provider is initialized before connection,
|
|
94
|
-
//
|
|
95
|
-
if (_this.isBufferingEnabled && _this.isProviderInitialized) {
|
|
95
|
+
// if buffering is enabled and the provider is initialized before connection,
|
|
96
|
+
// send any unconfirmed steps
|
|
97
|
+
if (_this.isBufferingEnabled && _this.isProviderInitialized && !_this.isBuffered) {
|
|
98
|
+
_this.isBuffered = true; // setting buffering to true so that the sending of unconfirmed steps happens only on first connection
|
|
96
99
|
_this.documentService.sendStepsFromCurrentState();
|
|
97
100
|
}
|
|
98
101
|
_this.emit('connected', {
|
|
@@ -139,7 +142,7 @@ var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
139
142
|
});
|
|
140
143
|
}).on('restore', _this.documentService.onRestore).on('steps:added', _this.documentService.onStepsAdded).on('metadata:changed', _this.metadataService.onMetadataChanged).on('participant:telepointer', function (payload) {
|
|
141
144
|
return _this.participantsService.onParticipantTelepointer(payload, _this.sessionId);
|
|
142
|
-
}).on('presence:joined', _this.participantsService.onPresenceJoined).on('presence', _this.participantsService.onPresence).on('participant:left', _this.participantsService.onParticipantLeft).on('participant:updated', _this.participantsService.onParticipantUpdated).on('disconnect', _this.onDisconnected.bind((0, _assertThisInitialized2.default)(_this))).on('error', _this.onErrorHandled).on('status', _this.namespaceService.onNamespaceStatusChanged).connect(
|
|
145
|
+
}).on('presence:joined', _this.participantsService.onPresenceJoined).on('presence', _this.participantsService.onPresence).on('participant:left', _this.participantsService.onParticipantLeft).on('participant:updated', _this.participantsService.onParticipantUpdated).on('disconnect', _this.onDisconnected.bind((0, _assertThisInitialized2.default)(_this))).on('error', _this.onErrorHandled).on('status', _this.namespaceService.onNamespaceStatusChanged).connect(shouldSkipDocumentInit);
|
|
143
146
|
});
|
|
144
147
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "setUserId", function (id) {
|
|
145
148
|
_this.userId = id;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/collab-provider";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "9.
|
|
9
|
+
var version = "9.13.0";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
@@ -21,6 +21,7 @@ export class Provider extends Emitter {
|
|
|
21
21
|
super();
|
|
22
22
|
_defineProperty(this, "isChannelInitialized", false);
|
|
23
23
|
_defineProperty(this, "isProviderInitialized", false);
|
|
24
|
+
_defineProperty(this, "isBuffered", false);
|
|
24
25
|
// isBufferingEnabled is a boolean value passed to the config during provider creation.
|
|
25
26
|
// It determines if the provider should initialize immediately and will only be true if:
|
|
26
27
|
// the feature flag is enabled and the initial draft fetched from NCS is also passed in the config.
|
|
@@ -61,15 +62,17 @@ export class Provider extends Emitter {
|
|
|
61
62
|
this.emit('connecting', {
|
|
62
63
|
initial: true
|
|
63
64
|
});
|
|
64
|
-
|
|
65
|
+
// shouldSkipDocumentInit will bypass the NCS draft fetch if the initial draft is passed to the provider
|
|
66
|
+
const shouldSkipDocumentInit = Boolean(this.initialDraft);
|
|
65
67
|
this.channel.on('connected', ({
|
|
66
68
|
sid,
|
|
67
69
|
initialized
|
|
68
70
|
}) => {
|
|
69
71
|
this.sessionId = sid;
|
|
70
|
-
// if buffering is enabled and the provider is initialized before connection,
|
|
71
|
-
//
|
|
72
|
-
if (this.isBufferingEnabled && this.isProviderInitialized) {
|
|
72
|
+
// if buffering is enabled and the provider is initialized before connection,
|
|
73
|
+
// send any unconfirmed steps
|
|
74
|
+
if (this.isBufferingEnabled && this.isProviderInitialized && !this.isBuffered) {
|
|
75
|
+
this.isBuffered = true; // setting buffering to true so that the sending of unconfirmed steps happens only on first connection
|
|
73
76
|
this.documentService.sendStepsFromCurrentState();
|
|
74
77
|
}
|
|
75
78
|
this.emit('connected', {
|
|
@@ -116,7 +119,7 @@ export class Provider extends Emitter {
|
|
|
116
119
|
version,
|
|
117
120
|
metadata
|
|
118
121
|
});
|
|
119
|
-
}).on('restore', this.documentService.onRestore).on('steps:added', this.documentService.onStepsAdded).on('metadata:changed', this.metadataService.onMetadataChanged).on('participant:telepointer', payload => this.participantsService.onParticipantTelepointer(payload, this.sessionId)).on('presence:joined', this.participantsService.onPresenceJoined).on('presence', this.participantsService.onPresence).on('participant:left', this.participantsService.onParticipantLeft).on('participant:updated', this.participantsService.onParticipantUpdated).on('disconnect', this.onDisconnected.bind(this)).on('error', this.onErrorHandled).on('status', this.namespaceService.onNamespaceStatusChanged).connect(
|
|
122
|
+
}).on('restore', this.documentService.onRestore).on('steps:added', this.documentService.onStepsAdded).on('metadata:changed', this.metadataService.onMetadataChanged).on('participant:telepointer', payload => this.participantsService.onParticipantTelepointer(payload, this.sessionId)).on('presence:joined', this.participantsService.onPresenceJoined).on('presence', this.participantsService.onPresence).on('participant:left', this.participantsService.onParticipantLeft).on('participant:updated', this.participantsService.onParticipantUpdated).on('disconnect', this.onDisconnected.bind(this)).on('error', this.onErrorHandled).on('status', this.namespaceService.onNamespaceStatusChanged).connect(shouldSkipDocumentInit);
|
|
120
123
|
});
|
|
121
124
|
_defineProperty(this, "setUserId", id => {
|
|
122
125
|
this.userId = id;
|
|
@@ -36,6 +36,7 @@ export var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
36
36
|
_this = _super.call(this);
|
|
37
37
|
_defineProperty(_assertThisInitialized(_this), "isChannelInitialized", false);
|
|
38
38
|
_defineProperty(_assertThisInitialized(_this), "isProviderInitialized", false);
|
|
39
|
+
_defineProperty(_assertThisInitialized(_this), "isBuffered", false);
|
|
39
40
|
// isBufferingEnabled is a boolean value passed to the config during provider creation.
|
|
40
41
|
// It determines if the provider should initialize immediately and will only be true if:
|
|
41
42
|
// the feature flag is enabled and the initial draft fetched from NCS is also passed in the config.
|
|
@@ -77,14 +78,16 @@ export var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
77
78
|
_this.emit('connecting', {
|
|
78
79
|
initial: true
|
|
79
80
|
});
|
|
80
|
-
|
|
81
|
+
// shouldSkipDocumentInit will bypass the NCS draft fetch if the initial draft is passed to the provider
|
|
82
|
+
var shouldSkipDocumentInit = Boolean(_this.initialDraft);
|
|
81
83
|
_this.channel.on('connected', function (_ref2) {
|
|
82
84
|
var sid = _ref2.sid,
|
|
83
85
|
initialized = _ref2.initialized;
|
|
84
86
|
_this.sessionId = sid;
|
|
85
|
-
// if buffering is enabled and the provider is initialized before connection,
|
|
86
|
-
//
|
|
87
|
-
if (_this.isBufferingEnabled && _this.isProviderInitialized) {
|
|
87
|
+
// if buffering is enabled and the provider is initialized before connection,
|
|
88
|
+
// send any unconfirmed steps
|
|
89
|
+
if (_this.isBufferingEnabled && _this.isProviderInitialized && !_this.isBuffered) {
|
|
90
|
+
_this.isBuffered = true; // setting buffering to true so that the sending of unconfirmed steps happens only on first connection
|
|
88
91
|
_this.documentService.sendStepsFromCurrentState();
|
|
89
92
|
}
|
|
90
93
|
_this.emit('connected', {
|
|
@@ -131,7 +134,7 @@ export var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
131
134
|
});
|
|
132
135
|
}).on('restore', _this.documentService.onRestore).on('steps:added', _this.documentService.onStepsAdded).on('metadata:changed', _this.metadataService.onMetadataChanged).on('participant:telepointer', function (payload) {
|
|
133
136
|
return _this.participantsService.onParticipantTelepointer(payload, _this.sessionId);
|
|
134
|
-
}).on('presence:joined', _this.participantsService.onPresenceJoined).on('presence', _this.participantsService.onPresence).on('participant:left', _this.participantsService.onParticipantLeft).on('participant:updated', _this.participantsService.onParticipantUpdated).on('disconnect', _this.onDisconnected.bind(_assertThisInitialized(_this))).on('error', _this.onErrorHandled).on('status', _this.namespaceService.onNamespaceStatusChanged).connect(
|
|
137
|
+
}).on('presence:joined', _this.participantsService.onPresenceJoined).on('presence', _this.participantsService.onPresence).on('participant:left', _this.participantsService.onParticipantLeft).on('participant:updated', _this.participantsService.onParticipantUpdated).on('disconnect', _this.onDisconnected.bind(_assertThisInitialized(_this))).on('error', _this.onErrorHandled).on('status', _this.namespaceService.onNamespaceStatusChanged).connect(shouldSkipDocumentInit);
|
|
135
138
|
});
|
|
136
139
|
_defineProperty(_assertThisInitialized(_this), "setUserId", function (id) {
|
|
137
140
|
_this.userId = id;
|
|
@@ -12,6 +12,7 @@ export declare class Provider extends Emitter<CollabEvents> implements BaseEvent
|
|
|
12
12
|
private isChannelInitialized;
|
|
13
13
|
private initialDraft?;
|
|
14
14
|
private isProviderInitialized;
|
|
15
|
+
private isBuffered;
|
|
15
16
|
private isBufferingEnabled;
|
|
16
17
|
private sessionId?;
|
|
17
18
|
private clientId?;
|
|
@@ -12,6 +12,7 @@ export declare class Provider extends Emitter<CollabEvents> implements BaseEvent
|
|
|
12
12
|
private isChannelInitialized;
|
|
13
13
|
private initialDraft?;
|
|
14
14
|
private isProviderInitialized;
|
|
15
|
+
private isBuffered;
|
|
15
16
|
private isBufferingEnabled;
|
|
16
17
|
private sessionId?;
|
|
17
18
|
private clientId?;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.13.0",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
38
38
|
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
39
|
-
"@atlaskit/editor-common": "^76.
|
|
39
|
+
"@atlaskit/editor-common": "^76.1.0",
|
|
40
40
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
42
42
|
"@atlaskit/prosemirror-collab": "^0.2.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@atlaskit/adf-schema": "^
|
|
65
|
+
"@atlaskit/adf-schema": "^32.0.0",
|
|
66
66
|
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
67
67
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
68
68
|
"typescript": "~4.9.5"
|