CHANGELOG.md 30 KB

Changelog

All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.

Changes for the past releases are available below.

19.0.0 (2020-04-29)

Other changes

18.0.0 (2020-03-19)

Bug fixes

  • The image converters should not assume that is a first child of a
    . Closes ckeditor/ckeditor5#6294. (97450b7)
  • Other changes

    17.0.0 (2020-02-19)

    MINOR BREAKING CHANGES

    • Resizer options object now also takes the editor instance.
    • Removed the downcastWriter property from the ResizerOptions interface.

    Bug fixes

    Other changes

    16.0.0 (2019-12-04)

    Bug fixes

    Other changes

    15.0.0 (2019-10-23)

    MAJOR BREAKING CHANGES

    • Removed isImageType() util.

    Features

    Bug fixes

    • Initial resize of a side image with no width predefined now gives correct percentage values. Closes #306. (b084de5)

    Other changes

    14.0.0 (2019-08-26)

    Features

    Bug fixes

    Other changes

    BREAKING CHANGES

    • From now on, all images in the editor use CSS display: table by default (.ck-content .image { display: table }). It can affect integrations and we recommend checking if images render correctly in your project after this update. There is a possibility you might need to adjust the CSS to adapt to this change.

    13.1.2 (2019-07-10)

    Internal changes only (updated dependencies, documentation, etc.).

    13.1.1 (2019-07-04)

    Internal changes only (updated dependencies, documentation, etc.).

    13.1.0 (2019-06-05)

    Bug fixes

    • Fixed the scope of the "click outside handler" in ImageTextAlternative. Closes #292. (78e619e)

    Other changes

    • Changed ImageStyleCommand#defaultStyle from private to public readonly property. Closes #289. (fb35177)
    • Updated translations. (01125b7)

    13.0.1 (2019-04-10)

    Other changes

    13.0.0 (2019-02-28)

    Features

    • Enable images in table cells. (3a4d2ca)

    Bug fixes

    Other changes

    BREAKING CHANGES

    • Upgraded minimal versions of Node to 8.0.0 and npm to 5.7.1. See: ckeditor/ckeditor5#1507. (612ea3c)
    • The isImageWidgetSelected() utility has been replaced by getSelectedImageWidget() and returns an editing View element instead of Boolean.

    12.0.0 (2018-12-05)

    Features

    Bug fixes

    • Prevent errors when (for unclear reasons) the native DataTransfer#files contains null values when drag&dropping files into the editor in Chrome. (2a45481)

    Thanks to @code-chris!

    Other changes

    BREAKING CHANGES

    • The ImageUploadCommand#execute()'s files parameter was renamed to file. It can still accept an array of files.

    11.0.0 (2018-10-08)

    Other changes

    • Aligned ImageToolbar to use the new widget toolbar repository. (980681d)
    • Image feature should insert image the same way as other widget features do. (26638f5)
    • The ImageUploadCommand should check whether it can be executed in the context of the current document selection. Closes #225. Closes #227. Closes #235. (4c1f27f)
    • Updated translations. (59f3604)

    BREAKING CHANGES

    • The options.file property was renamed to options.files in ImageUploadCommand#execute().
    • The options.insertAt property of ImageUploadCommand#execute() was removed. The command will now use model's selection.
    • Removed findOptimalInsertionPosition() from utils. This method can now be found in the @ckeditor/ckeditor5-widget/src/utils module.

    10.2.0 (2018-07-18)

    Features

    • Implemented a CSS–styled image upload loader. Closes #207. (997d39b)
    • Introduced ImageLoadObserver. Closes #213. (1128cb8)

    Bug fixes

    Used the EditorUI#update event instead of View#render to attach the UI components (see ckeditor/ckeditor5-core#130).

    Other changes

    10.1.0 (2018-06-21)

    Features

    • Added "upload completed" icon. Closes #204. (004eda7)

    Bug fixes

    • Made image upload by drag&drop work when the ImageUploadCommand is disabled. Closes #208. (6908ec6)

    Other changes

    10.0.0 (2018-04-25)

    Other changes

    BREAKING CHANGES

    • 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 for more information.

    1.0.0-beta.4 (2018-04-19)

    Other changes

    1.0.0-beta.2 (2018-04-10)

    Bug fixes

    • Fixed image upload progress updates. Now each upload status is treated separately. Closes #191. (66d67c0)
    • Image element will be cleared from upload progress classes if uploadId attribute changed to null. Closes #200. (5fadcf0)
    • ImageUploadEditing should not throw unhandled async errors. Closes #186. (4357336)

    Other changes

    • Made the image text alternative form buttons thicker with a fill color and no background. Closes #187. (25c17ad)

    1.0.0-beta.1 (2018-03-15)

    Features

    Other changes

    BREAKING CHANGES

    • uploadImage command and button are now called imageUpload.
    • Renamed the 'imageUpload' command to 'uploadImage'.
    • The 'imageStyleFull', 'imageStyleSide', 'imageStyleAlignLeft', 'imageStyleAlignRight' and 'imageStyleAlignCenter' commands are no longer available. They were replaced by the 'imageStyle' command that accepts name of an image style as a value.
    • The 'imageStyleFull', 'imageStyleSide', 'imageStyleAlignLeft', 'imageStyleAlignRight' and 'imageStyleAlignCenter' UI components are no longer available. Replaced by 'imageStyle:full', 'imageStyle:side', 'imageStyle:alignLeft', 'imageStyle:alignRight' and 'imageStyle:alignCenter'.
    • The ImageStyleCommand#value property is no longer a boolean only. Now it represents a name of an image style of the currently selected image element.
    • The ImageStyleCommand constructor's second parameter is now an array of supported image styles.
    • The DOM structure of the text alternative form has changed.

    0.0.1 (2017-11-06)

    Internal changes only (updated dependencies, documentation, etc.).

    1.0.0-alpha.2 (2017-11-14)

    Bug fixes

    • Default style's command will properly remove model element's attribute. Closes #147. (c96fb19)

    Other changes

    1.0.0-alpha.1 (2017-10-03)

    Bug fixes

    • Fixed a bug causing the editor with ImageCaption plugin enabled to throw an error after the view got rendered. Closes #127. (6147fee)
    • The ImageTextAlternative's UI should be hidden when the edited image element has been removed by an external change. Closes #137. (6ab8c40)

    Features

    • Allowed customization of the default image styles. Defined formatting–oriented styles. Simplified config.image.styles syntax. Closes #134. Closes #135. (eab98ef)
    • Keyboard navigation will now work in the TextAlternativeFormView. Closes #40. Closes ckeditor/ckeditor5#490. (fa92de6)
    • The srcset attribute in the model will now be converted to three attributes in the view: srcset, sizes and width. Closes #145. Closes ckeditor/ckeditor5-easy-image#4. (9ca651e)

    BREAKING CHANGES

    • The format of the srcset attribute has been changed.
    • From now on, the imageStyleFull uses object-full-width.svg icon.

    0.7.0 (2017-09-03)

    Bug fixes

    • ImageStyleCommand should switch properly between any two non-null styles. Closes #132. (d6c847d)
    • Text alternative input should synchronize its value when the balloon shows up. Closes #114. (9b105ed)
    • The arrow of the toolbar's balloon should inherit the background color. Closes #109. (4322b04)
    • The image toolbar should not be doubled when the ContextualToolbar plugin is in use. Closes #110. (5ace9a0)

    Features

    • Introduced support for responsive image's srcset attribute. Closes #2. (5b433d2)

    Other changes

    BREAKING CHANGES

    • The command API has been changed.

    0.6.0 (2017-05-07)

    Bug fixes

    • Bare <img> (not wrapped with <figure class="image">) can now be pasted into the editor. Closes #8. (fb6ab1a)
    • Fixed toolbar positioning in MS Edge. Closes #101. (19941e9)
    • The caption item should inherit from $block to automatically allow the same content. Closes #94. (02869eb)

    Features

    • Introduced support for pasting and loading images in context in which they cannot appear in the editor. For example, if <p>foo<img>bar</p> is pasted, the pasted paragraph will be split (because an image in the editor cannot be contained in a paragraph). Closes #98. (e2104b1)

    Other changes

    • Removed automatically filled config.image.defaultToolbar. Now, when initializing the editor one must always define config.image.toolbar. Closes #60. (4db7b34)
    • Updated translations. (22b5dbc)

    BREAKING CHANGES

    • The config.image.defaultToolbar is no longer available. All editor instances must have config.image.toolbar configured instead.

    0.5.0 (2017-04-05)

    Bug fixes

    • Caption will not be automatically added for the second time if it was already added before "caption fixer" was fired. Closes #78. (e651b01)
    • Image captions in the view are hidden instead of being removed (from the view and the DOM). Closes #77. (aae2957)
    • The editor no longer crashes when undoing or redoing changes reshow temporarily invisible image caption. Closes #58. (8e36645)
    • The image should not go (visually) beyond the boundaries of the parent container. Closes #67. (d1ee92d)

    Features

    • Added "Enter caption here" placeholders to empty image captions. Closes #71. (3818544)
    • Introduced toWidgetEditable(). Closes #57. (ecbe435)

    The styling and behavior of image's caption will now be reusable in other widgets.

    • Named existing plugin(s). (de96d07)

    Other changes

    BREAKING CHANGES

    • The widget API is now available in the ckeditor5-widget package. See #35.

    0.4.0 (2017-03-06)

    Bug fixes

    • Moved focus tracking setup to ImageBalloonPanelView#init() method to prevent too early access to the view element. Closes #42. (985e509)
    • Used "low-vision" icon instead of "input" for text alternative button. Closes #59. (6edd823)

    Features

    • Added a separator between image styles and text alternative buttons in the image toolbar. Closes #64. (925a538)
    • Introduced image captions support. Closes #28. (6bb4069)

    Other changes

    • Enhanced how selection label for widgets is defined. Closes #9. (5c1897d)
    • Renamed "Image alternate text" to "Image text alternative" all across the code. Improved directory structure to have most important features in the top level of src/. Closes #37. (e38675f)
    • Uploaded translations. (d619f1d)

    BREAKING CHANGES

    • The src/imagealternatetext/imagealternatetext module is now src/imagetextalternative. All other related classes and directories were renamed too.
    • All the base image's util modules are now inside src/image/. The same applies to all other features. The main features are now directly in src/. Closes #33. Closes #26.