@ckeditor/ckeditor5-upload 0.0.0-nightly-20240715.0 → 0.0.0-nightly-20240717.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 +1 -248
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,251 +1,4 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
All changes in the package are documented in
|
|
5
|
-
|
|
6
|
-
Changes for the past releases are available below.
|
|
7
|
-
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
|
9
|
-
|
|
10
|
-
### Bug fixes
|
|
11
|
-
|
|
12
|
-
* Restored a condition handling an edge case in upload when promise chains are aborted. Closes [ckeditor/ckeditor5#5892](https://github.com/ckeditor/ckeditor5/issues/5892). ([ed7187b](https://github.com/ckeditor/ckeditor5-upload/commit/ed7187b))
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
|
16
|
-
|
|
17
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v16.0.0...v17.0.0) (February 19, 2020)
|
|
21
|
-
|
|
22
|
-
### Other changes
|
|
23
|
-
|
|
24
|
-
* Updated translations. ([5be630b](https://github.com/ckeditor/ckeditor5-upload/commit/5be630b))
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v15.0.0...v16.0.0) (December 4, 2019)
|
|
28
|
-
|
|
29
|
-
### Other changes
|
|
30
|
-
|
|
31
|
-
* Updated translations. ([188255c](https://github.com/ckeditor/ckeditor5-upload/commit/188255c))
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v12.0.0...v15.0.0) (October 23, 2019)
|
|
35
|
-
|
|
36
|
-
### Bug fixes
|
|
37
|
-
|
|
38
|
-
* Add missing `catch()` clauses to file loader promises. ([40906d4](https://github.com/ckeditor/ckeditor5-upload/commit/40906d4))
|
|
39
|
-
|
|
40
|
-
### Other changes
|
|
41
|
-
|
|
42
|
-
* Updated translations. ([290db0f](https://github.com/ckeditor/ckeditor5-upload/commit/290db0f)) ([1d7e907](https://github.com/ckeditor/ckeditor5-upload/commit/1d7e907))
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
## [12.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v11.1.1...v12.0.0) (August 26, 2019)
|
|
46
|
-
|
|
47
|
-
### Features
|
|
48
|
-
|
|
49
|
-
* Implemented the `SimpleUploadAdapter` plugin which enables file uploads in CKEditor 5 using configurable `XMLHttpRequests` to a server. Closes [ckeditor/ckeditor5#1791](https://github.com/ckeditor/ckeditor5/issues/1791). ([441c597](https://github.com/ckeditor/ckeditor5-upload/commit/441c597))
|
|
50
|
-
|
|
51
|
-
```js
|
|
52
|
-
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
|
|
53
|
-
```
|
|
54
|
-
* Implemented the responsive image support in the `SimpleUploadAdapter`. Closes [#97](https://github.com/ckeditor/ckeditor5-upload/issues/97). ([b5092a4](https://github.com/ckeditor/ckeditor5-upload/commit/b5092a4))
|
|
55
|
-
|
|
56
|
-
### Other changes
|
|
57
|
-
|
|
58
|
-
* Add `ImageLoader.data` property for already read file to allow synchronous access to file data. ([ec56ab8](https://github.com/ckeditor/ckeditor5-upload/commit/ec56ab8))
|
|
59
|
-
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([1893794](https://github.com/ckeditor/ckeditor5-upload/commit/1893794))
|
|
60
|
-
* Updated translations. ([594b6c1](https://github.com/ckeditor/ckeditor5-upload/commit/594b6c1))
|
|
61
|
-
|
|
62
|
-
### BREAKING CHANGES
|
|
63
|
-
|
|
64
|
-
* Moved the `Base64UploadAdapter` plugin file to `ckeditor5-upload/src/adapters/base64uploadadapter.js`. Make sure import paths your project are up–to–date:
|
|
65
|
-
|
|
66
|
-
```js
|
|
67
|
-
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## [11.1.1](https://github.com/ckeditor/ckeditor5-upload/compare/v11.1.0...v11.1.1) (July 10, 2019)
|
|
72
|
-
|
|
73
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-upload/compare/v11.0.2...v11.1.0) (July 4, 2019)
|
|
77
|
-
|
|
78
|
-
### Features
|
|
79
|
-
|
|
80
|
-
* Introduced the Base64 image upload adapter. Closes [ckeditor/ckeditor5#1378](https://github.com/ckeditor/ckeditor5/issues/1378). ([938f0f7](https://github.com/ckeditor/ckeditor5-upload/commit/938f0f7))
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
## [11.0.2](https://github.com/ckeditor/ckeditor5-upload/compare/v11.0.1...v11.0.2) (June 6, 2019)
|
|
84
|
-
|
|
85
|
-
### Other changes
|
|
86
|
-
|
|
87
|
-
* Updated translations. ([73c6761](https://github.com/ckeditor/ckeditor5-upload/commit/73c6761))
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
## [11.0.1](https://github.com/ckeditor/ckeditor5-upload/compare/v11.0.0...v11.0.1) (April 4, 2019)
|
|
91
|
-
|
|
92
|
-
### Other changes
|
|
93
|
-
|
|
94
|
-
* Updated translations. ([eac33b1](https://github.com/ckeditor/ckeditor5-upload/commit/eac33b1))
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.4...v11.0.0) (February 28, 2019)
|
|
98
|
-
|
|
99
|
-
### Bug fixes
|
|
100
|
-
|
|
101
|
-
* `FileLoader` now accepts `Promise` instead of a `File` instance. Closes [#87](https://github.com/ckeditor/ckeditor5-upload/issues/87). ([62a8c69](https://github.com/ckeditor/ckeditor5-upload/commit/62a8c69))
|
|
102
|
-
|
|
103
|
-
### Other changes
|
|
104
|
-
|
|
105
|
-
* Add catch block for failed file promise in `FileRepository`. ([a2de5d5](https://github.com/ckeditor/ckeditor5-upload/commit/a2de5d5))
|
|
106
|
-
* Updated translations. ([6aaad73](https://github.com/ckeditor/ckeditor5-upload/commit/6aaad73)) ([b0469a8](https://github.com/ckeditor/ckeditor5-upload/commit/b0469a8)) ([f6e27cb](https://github.com/ckeditor/ckeditor5-upload/commit/f6e27cb))
|
|
107
|
-
|
|
108
|
-
### BREAKING CHANGES
|
|
109
|
-
|
|
110
|
-
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
|
111
|
-
* The `FileLoader.file` property was changed to a getter which returns a native `Promise` instance instead of a `File` instance. The returned promise resolves to a `File` instance.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
## [10.0.4](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.3...v10.0.4) (December 5, 2018)
|
|
115
|
-
|
|
116
|
-
### Other changes
|
|
117
|
-
|
|
118
|
-
* Updated translations. ([489b6fa](https://github.com/ckeditor/ckeditor5-upload/commit/489b6fa)) ([f435630](https://github.com/ckeditor/ckeditor5-upload/commit/f435630))
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## [10.0.3](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.2...v10.0.3) (October 8, 2018)
|
|
122
|
-
|
|
123
|
-
### Other changes
|
|
124
|
-
|
|
125
|
-
* Updated translations. ([871eb44](https://github.com/ckeditor/ckeditor5-upload/commit/871eb44))
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
## [10.0.2](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.1...v10.0.2) (July 18, 2018)
|
|
129
|
-
|
|
130
|
-
### Other changes
|
|
131
|
-
|
|
132
|
-
* Updated translations. ([ce32eb2](https://github.com/ckeditor/ckeditor5-upload/commit/ce32eb2), [9adb325](https://github.com/ckeditor/ckeditor5-upload/commit/9adb325))
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
## [10.0.1](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.0...v10.0.1) (June 21, 2018)
|
|
136
|
-
|
|
137
|
-
### Other changes
|
|
138
|
-
|
|
139
|
-
* Updated translations.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
|
143
|
-
|
|
144
|
-
### Other changes
|
|
145
|
-
|
|
146
|
-
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([8293240](https://github.com/ckeditor/ckeditor5-upload/commit/8293240))
|
|
147
|
-
|
|
148
|
-
### BREAKING CHANGES
|
|
149
|
-
|
|
150
|
-
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
|
154
|
-
|
|
155
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
|
|
159
|
-
|
|
160
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
|
|
164
|
-
|
|
165
|
-
### Bug fixes
|
|
166
|
-
|
|
167
|
-
* Fixed incorrect `ImageUploadButton` and `ImageUploadCommand` binding. Closes [#77](https://github.com/ckeditor/ckeditor5-upload/issues/77). Closes https://github.com/ckeditor/ckeditor5-ui/issues/357. ([d231ea6](https://github.com/ckeditor/ckeditor5-upload/commit/d231ea6))
|
|
168
|
-
|
|
169
|
-
### Other changes
|
|
170
|
-
|
|
171
|
-
* Migrated package styles to PostCSS. Moved visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([faf6100](https://github.com/ckeditor/ckeditor5-upload/commit/faf6100))
|
|
172
|
-
* Moved the image upload plugins to the `@ckeditor/ckeditor5-image` package. Minor cleanup in the API. Closes [#22](https://github.com/ckeditor/ckeditor5-upload/issues/22). ([55697a9](https://github.com/ckeditor/ckeditor5-upload/commit/55697a9))
|
|
173
|
-
* Use post-fixer API. ([08e9d09](https://github.com/ckeditor/ckeditor5-upload/commit/08e9d09))
|
|
174
|
-
|
|
175
|
-
### BREAKING CHANGES
|
|
176
|
-
|
|
177
|
-
* Renamed `Adapter` to `UploadAdapter`.
|
|
178
|
-
* Removed `ImageUpload` plugin. It can be no found in ckeditor5-image repository.
|
|
179
|
-
* Removed `ImageUploadEngine` plugin. It can be no found in ckeditor5-image repository.
|
|
180
|
-
* Removed `ImageUploadProgress` plugin. It can be no found in ckeditor5-image repository.
|
|
181
|
-
* Removed `ImageUploadButton` plugin. It can be no found in ckeditor5-image repository.
|
|
182
|
-
* Renamed `FileRepository#createAdapter()` to `FileRepository#createUploadAdapter()`.
|
|
183
|
-
* Renamed `filerepository-no-adapter` error to `filerepository-no-upload-adapter`.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-upload/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
|
|
187
|
-
|
|
188
|
-
### Bug fixes
|
|
189
|
-
|
|
190
|
-
* Destroying `FileDialogButtonView` should not throw an error. Closes [#66](https://github.com/ckeditor/ckeditor5-upload/issues/66). ([2d4ba62](https://github.com/ckeditor/ckeditor5-upload/commit/2d4ba62))
|
|
191
|
-
* Images pasted with additional HTML content will not be handled by the upload plugin which prevents data pasted from Microsoft Word to be treated as an image. Closes [#68](https://github.com/ckeditor/ckeditor5-upload/issues/68). ([8d0644a](https://github.com/ckeditor/ckeditor5-upload/commit/8d0644a))
|
|
192
|
-
|
|
193
|
-
### Other changes
|
|
194
|
-
|
|
195
|
-
* Updated translations. ([93e9643](https://github.com/ckeditor/ckeditor5-upload/commit/93e9643))
|
|
196
|
-
* Aligned UI library usage to the [changes in the UI framework](https://github.com/ckeditor/ckeditor5-ui/pull/332).
|
|
197
|
-
|
|
198
|
-
### BREAKING CHANGES
|
|
199
|
-
|
|
200
|
-
* The `FileDialogButtonView` is not a `ButtonView` instance anymore but a wrapper instead. The button of the component is available under the `#buttonView` property.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-upload/compare/v0.2.0...v1.0.0-alpha.1) (October 3, 2017)
|
|
204
|
-
|
|
205
|
-
### Bug fixes
|
|
206
|
-
|
|
207
|
-
* Image placeholder is now correctly displayed in Firefox and Edge. Closes [#56](https://github.com/ckeditor/ckeditor5-upload/issues/56). ([785e88b](https://github.com/ckeditor/ckeditor5-upload/commit/785e88b))
|
|
208
|
-
* Upload command should not crash when upload adapter is not specified (instead, FileRepository logs an error). Closes [#59](https://github.com/ckeditor/ckeditor5-upload/issues/59). ([14b738b](https://github.com/ckeditor/ckeditor5-upload/commit/14b738b))
|
|
209
|
-
|
|
210
|
-
### Other changes
|
|
211
|
-
|
|
212
|
-
* `FileRepository` will automatically warn when it is initialized but no upload adapter was enabled. Closes [#58](https://github.com/ckeditor/ckeditor5-upload/issues/58). ([29aa315](https://github.com/ckeditor/ckeditor5-upload/commit/29aa315))
|
|
213
|
-
* Placeholder images will now look better on wider editors. Closes [#63](https://github.com/ckeditor/ckeditor5-upload/issues/63). ([edb5e81](https://github.com/ckeditor/ckeditor5-upload/commit/edb5e81))
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
## [0.2.0](https://github.com/ckeditor/ckeditor5-upload/compare/v0.1.0...v0.2.0) (September 3, 2017)
|
|
217
|
-
|
|
218
|
-
### Bug fixes
|
|
219
|
-
|
|
220
|
-
* [Safari, Edge] The image upload (button) feature will not throw an error anymore when trying to access picked files. The feature should not use the `for...of` loop on native `FileList` because Safari and Edge do not support `Symbol.iterator` for it yet. Closes [#35](https://github.com/ckeditor/ckeditor5-upload/issues/35). ([f4efd9b](https://github.com/ckeditor/ckeditor5-upload/commit/f4efd9b))
|
|
221
|
-
* An image dropped on another image will not redirect the browser to the file's path. Closes [#32](https://github.com/ckeditor/ckeditor5-upload/issues/32). ([4f533be](https://github.com/ckeditor/ckeditor5-upload/commit/4f533be))
|
|
222
|
-
* Bound `ImageUploadButton#isEnabled` to `ImageUploadCommand#isEnabled`. Closes [#43](https://github.com/ckeditor/ckeditor5-upload/issues/43). ([ba6de66](https://github.com/ckeditor/ckeditor5-upload/commit/ba6de66))
|
|
223
|
-
* Fixed two issues related to dropping images. First, when dropping a file into an empty paragraph, that paragraph should be replaced with that image. Second, drop position should be read correctly when the editor is focused upon drop. Closes [#42](https://github.com/ckeditor/ckeditor5-upload/issues/42). Closes [#29](https://github.com/ckeditor/ckeditor5-upload/issues/29). ([fec452d](https://github.com/ckeditor/ckeditor5-upload/commit/fec452d))
|
|
224
|
-
* Image will be inserted after the block if the selection is placed at the block's end. Closes [#7](https://github.com/ckeditor/ckeditor5-upload/issues/7). ([70742f9](https://github.com/ckeditor/ckeditor5-upload/commit/70742f9))
|
|
225
|
-
* When image upload is aborted, now the "image placeholder" element is permanently removed so it is not reinserted on undo. Closes [#38](https://github.com/ckeditor/ckeditor5-upload/issues/38). ([aff6382](https://github.com/ckeditor/ckeditor5-upload/commit/aff6382))
|
|
226
|
-
|
|
227
|
-
### Features
|
|
228
|
-
|
|
229
|
-
* Responsive images support in image upload. Closes [#34](https://github.com/ckeditor/ckeditor5-upload/issues/34). ([9a022a2](https://github.com/ckeditor/ckeditor5-upload/commit/9a022a2))
|
|
230
|
-
* The `ImageUploadCommand` now accepts `insertAt` position which allows customizing where the image will be inserted. Closes [#45](https://github.com/ckeditor/ckeditor5-upload/issues/45). ([b90c8d7](https://github.com/ckeditor/ckeditor5-upload/commit/b90c8d7))
|
|
231
|
-
|
|
232
|
-
### Other changes
|
|
233
|
-
|
|
234
|
-
* Aborting upload when image is removed and removing image on upload error. Closes [#2](https://github.com/ckeditor/ckeditor5-upload/issues/2). ([c3bbb57](https://github.com/ckeditor/ckeditor5-upload/commit/c3bbb57))
|
|
235
|
-
* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([3d97b81](https://github.com/ckeditor/ckeditor5-upload/commit/3d97b81))
|
|
236
|
-
* Changed from original to default image. Closes [#49](https://github.com/ckeditor/ckeditor5-upload/issues/49). ([d8d61f3](https://github.com/ckeditor/ckeditor5-upload/commit/d8d61f3))
|
|
237
|
-
* Cleaned up SVG icons. ([ab81012](https://github.com/ckeditor/ckeditor5-upload/commit/ab81012))
|
|
238
|
-
* Optional notification title when upload fails. Closes [#30](https://github.com/ckeditor/ckeditor5-upload/issues/30). ([1a6306c](https://github.com/ckeditor/ckeditor5-upload/commit/1a6306c))
|
|
239
|
-
|
|
240
|
-
### BREAKING CHANGES
|
|
241
|
-
|
|
242
|
-
* `UploadImageCommand` does not optimize the drop position itself anymore. Instead, a separate `findOptimalInsertionPosition()` function was introduced.
|
|
243
|
-
* `UploadImageCommand` does not verify the type of file anymore. This needs to be done by the caller.
|
|
244
|
-
* The command API has been changed.
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
## 0.1.0 (May 7, 2017)
|
|
248
|
-
|
|
249
|
-
### Features
|
|
250
|
-
|
|
251
|
-
* Initial implementation. Closes [#1](https://github.com/ckeditor/ckeditor5-upload/issues/1).
|
|
4
|
+
All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-upload",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240717.0",
|
|
4
4
|
"description": "Upload feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
16
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
15
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20240717.0",
|
|
16
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240717.0"
|
|
17
17
|
},
|
|
18
18
|
"author": "CKSource (http://cksource.com/)",
|
|
19
19
|
"license": "GPL-2.0-or-later",
|