UNPKG

10.1 kBMarkdownView Raw
1Changelog
2=========
3
4All changes in the package are documented at https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
6Changes for the past releases are available below.
7
8
9## 23.0.0 (September 25, 2020)
10
11### Features
12
13* Introduced support for [importing documents and receiving initial data from the Cloud Services server](https://help.cke-cs.com/api/v4/docs#tag/Collaboration/paths/~1collaborations/post) in real-time collaborative editing.
14
15
16## 22.0.0 (August 25, 2020)
17
18Internal changes only (updated dependencies, documentation, etc.).
19
20
21## 21.0.0 (July 24, 2020)
22
23### Features
24
25* Enabled multi-cell table selection in real-time collaboration.
26
27
28## 20.0.1 (June 26, 2020)
29
30Internal changes only (updated dependencies, documentation, etc.).
31
32
33## 19.0.2 (May 25, 2020)
34
35Internal changes only (updated dependencies, documentation, etc.).
36
37
38## 19.0.1 (April 30, 2020)
39
40### Features
41
42* Localized the UI for real-time collaboration plugins.
43
44### Bug fixes
45
46* User selection marker will now be properly removed when the user switches to a different editor instance or a form field.
47
48
49## 18.0.0 (March 19, 2020)
50
51### Bug fixes
52
53* Connection errors will no longer permanently crash the editor in Firefox and Safari.
54* Introduced a synchronization mechanism to fixed comments feature errors happening after reconnecting to the document.
55* Fixed editor crash in track changes feature happening in scenarios involving reconnection.
56* Fixed issues with editor data, comments and presence list not being properly updated after the editor reconnected to the real-time collaboration server.
57
58
59## 17.0.0 (February 20, 2020)
60
61### BREAKING CHANGES
62
63* Real-time collaboration features now expect the `config.collaboration.channelId` configuration parameter. The previously used `config.cloudServices.documentId` was deprecated and will be removed in the next release.
64* `Sessions#connectedUsers` was replaced with `Sessions#allConnectedUsers`. `Sessions#sessions` was replaced with `Sessions#channelSessions`. `Sessions#getUserSessions()` now requires a second parameter, `channelId`. `Sessions#channelConnectedUsers` is now available to get users connected only to a given channel.
65* If you use `Context` in your application, context plugins should be added to the context configuration instead of the editor configuration. The following plugins were changed to context plugins:
66 * `Sessions`,
67 * `PresenceList`,
68 * `CloudServicesCommentsAdapter`. Note that `CloudServicesCommentsAdapter` needs to be added to the context configuration even if you are passing real-time collaboration plugins in the editor configuration.
69
70
71### Features
72
73* Introduced the `config.cloudServices.bundleVersion` configuration parameter.
74
75### Other changes
76
77* The sessions plugin was changed to a context plugin and now handles connection to multiple channel IDs.
78* Presence list became a context plugin and will show all users connected to all editor instances operating in the same context.
79
80
81## 16.0.0 (December 2, 2019)
82
83### Other changes
84
85* Introduced a mechanism that restarts the WebSocket connection during its initialization when an error occurs.
86
87
88## 15.0.0 (October 23, 2019)
89
90### Features
91
92* Introduced the [`collapseAt`](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/users-in-real-time-collaboration.html#installation-and-configuration) configuration option which defines when the presence list should get collapsed.
93
94### Bug fixes
95
96* Fixed a bug causing users to be missing in the users' dropdown.
97
98### Other changes
99
100* The editor will now throw an error when the web socket URL is not defined in the real-time collaboration configuration.
101
102
103## 12.4.0 (August 22, 2019)
104
105### Features
106
107* Assigned authors to operations. See the [documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html#operation-authors).
108* Introduced the writer, reader and commentator roles. See the [documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/users-in-real-time-collaboration.html#user-roles).
109
110### Bug fixes
111
112* Receiving operations will not be blocked when the second client has joined while the editor is read-only.
113* Improved stabilization of connecting to the document.
114* Prevented applying the same operation from the server twice in some scenarios when the client is having ping-pong communication with the server.
115
116### Other changes
117
118* Removed crash events and made the code throw a `CKEditorError` instead.
119
120
121## 12.3.0 (July 4, 2019)
122
123### Features
124
125* Added support for the [track changes feature](https://ckeditor.com/collaboration/track-changes/) in real-time collaboration. Introduced the `RealTimeCollaborativeTrackChanges` plugin.
126* Provided an API for adding `onClick` actions for the presence list members.
127
128### Bug fixes
129
130* Operations should be resent to the server with a delay after the server response was handled.
131
132### Other changes
133
134* Introduced the support for mobile environments: Android and iOS.
135
136
137## 12.2.1 (June 5, 2019)
138
139Internal changes only (updated dependencies, documentation, etc.).
140
141
142## 12.2.0 (April 4, 2019)
143
144### Features
145
146* Added support for [multi-root editor](https://github.com/ckeditor/ckeditor5-collaboration-samples/tree/master/multi-root-editor-with-real-time-collaboration).
147
148### Bug fixes
149
150* Prevented typing inside other users' markers in an image caption.
151
152### Other changes
153
154* The `editor.data.set()` method will throw an exception in real-time collaboration if used without the `suppressErrorInCollaboration` flag to prevent common mistakes with real-time editing integration.
155
156
157## 12.1.0 (February 5, 2019)
158
159* Introduced the new Cloud Features Comments adapter which fixes multiple bugs related to comments in real-time editing.
160* The editor now throws an error when it is initialized on multiple root editable elements.
161
162
163## 12.0.1 (December 6, 2018)
164
165### Bug fixes
166
167* Update dependencies versions.
168
169
170## 12.0.0 (December 6, 2018)
171
172Since the family of CKEditor 5 collaboration features was expanded, the structure of repositories was rearranged. The "CKEditor 5 collaboration" package was renamed to "CKEditor 5 real-time collaboration" and a part of it was extracted to separate repositories: [CKEditor 5 collaboration core](https://www.npmjs.com/package/@ckeditor/ckeditor5-collaboration-core) and [CKEditor 5 comments](https://www.npmjs.com/package/@ckeditor/ckeditor5-comments).
173
174It means that all packages use different paths now and some of them (mostly users and comments) have a new API. In some cases, it is enough to add `-real-time-` to the import path, but it is recommended to refer to [the new guide about CKEditor 5 real-time collaboration solutions](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/real-time-collaboration.html) for more details.
175
176
177## 11.0.0 (October 8, 2018)
178
179### New operational transformation algorithms
180
181Real-time collaboration is now based on [new operational transformation algorithms introduced in the CKEditor 5 engine](https://github.com/ckeditor/ckeditor5-engine/issues/1162). This change makes messages sent between clients simpler and brings faster and more stable collaboration.
182
183### Compressed data sent through collaboration
184
185Data sent to the server and data received from the server are now compressed and decompressed by the [operations compressor](https://www.npmjs.com/package/@ckeditor/ckeditor5-operations-compressor), using [Protocol Buffers for JavaScript](https://github.com/dcodeIO/ProtoBuf.js/) and custom optimizations.
186
187To provide better compression, changes are no longer sent as soon as they happen, but with a 300ms delay. All changes in the message are compressed together and the collaboration plugin ensures that only a single selection change will be sent per each message.
188
189### Table and media embedding support
190
191Real-time collaborative editing and comments are tested and proved to work with all CKEditor 5 components including recently released table and media embed features. All collaboration features should also work with third-party widgets out of the box.
192
193### Other changes
194
195* Updated comment height along with position to avoid a collision after showing up a hidden editor.
196* Improved collaboration error messages.
197* Use `lodash-es` dependency instead of `ckeditor5-utils` one.
198
199
200## 10.1.0 (July 18, 2018)
201
202### Features
203
204* [Published Users API](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/users.html).
205
206### Bug fixes
207
208* Avatars in the presence list are now vertically centered.
209* Improved contrast ratio of azure user marker color.
210* Create a comment marker only for the first allowed range.
211
212### Other changes
213
214* Normalized Cloud Services URLs. They now work no matter if the schema is provided or not.
215
216
217## 10.0.1 (June 21, 2018)
218
219### Pending actions manager
220
221All asynchronous actions, like the client-server communication during the collaboration or creating a comment, are now based on the [pending actions plugin](https://ckeditor.com/docs/ckeditor5/latest/api/module_core_pendingactions-PendingActions.html) introduced in [`ckeditor5-core`](https://github.com/ckeditor/ckeditor5-core) v10.1.0. Thanks to it further integration will be much simpler.
222
223### Socket.IO
224
225`Socket.IO` replaced `SocketCluster` as the base communication library, which improved performance and stability. We are also able to support a larger number of users.
226
227### Bug fixes
228
229* Fixed: Users do not see themselves on the presence list after reconnecting.
230* Fixed: Avatars display in low quality on Microsoft Edge.
231* Fixed: Comment overlaps the other one after restoring the marker.
232* Fixed: Comments collision in the sidebar.
233* Fixed: Comment thread cannot be added after blurring input.
234* Fixed: Editor crashes after editing a comment twice.
235* Fixed: Errors after one hour of editing.
236* Fixed: Cannot remove a comment thread when the selection is not in the editor after the initialization.
237
238
239## 10.0.0 (April 25, 2018)
240
241### Initial module
242
243Introduces:
244* Collaboration editing plugin.
245* Comments plugin.
246* User presence list plugin.