Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update ckeditor monorepo (develop) (major) #1272

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ckeditor/ckeditor5-alignment (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-basic-styles (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-block-quote (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-core (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-dev-translations (source) 38.4.0 -> 39.2.1 age adoption passing confidence
@ckeditor/ckeditor5-dev-utils (source) 38.4.0 -> 39.2.1 age adoption passing confidence
@ckeditor/ckeditor5-editor-classic (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-essentials (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-font (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-horizontal-line (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-indent (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-link (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-list (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-paragraph (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-remove-format (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-table (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-theme-lark (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-typing (source) 39.0.2 -> 40.1.0 age adoption passing confidence
@ckeditor/ckeditor5-ui (source) 39.0.2 -> 40.1.0 age adoption passing confidence

Release Notes

ckeditor/ckeditor5 (@​ckeditor/ckeditor5-alignment)

v40.1.0

Compare Source

We are happy to announce the release of CKEditor 5 v40.1.0.

Release highlights
Styling suggestions reflected in the content

This release introduces an important user experience improvement for the track changes feature. From now on, styling changes made in the track changes mode will be also reflected in the editor content, instead of just being marked with a blue suggestion highlight.

Below is a summary of the important changes related to this improvement:

  • A new suggestion type 'attribute' was introduced. All integrated features will now create 'attribute' suggestions.
  • Formatting suggestions in existing documents are still supported, and will work as they used to.
  • With the new suggestions, multiple changes are put into a single suggestion if possible, to avoid bloating sidebar with too many annotations.
  • For asynchronous collaboration integrations, make sure that you save and provide the SuggestionData#attributes property, as it is used by the new suggestions.

We will continue further work on this improvement, including integrating the new solution with the list feature.

Azure OpenAI service support

We have introduced necessary changes to make sure that the AI Assistant can be used with the Azure OpenAI service. Please refer to the AI Assistant documentation for details.

Other notable improvements
  • Fixed triple click before widgets: the beloved triple click to select content works correctly before tables, images, and other widgets.
  • Several CKBox integration improvements include a significantly enhanced image insertion mechanism from CKBox, offering a less jumpy experience. The release also addresses key issues, such as including the proper replacement of images when URLs are edited, better focus management post-image insertion, and a fixed tokenUrl configuration for more seamless integration.
  • Paste from Office enhanced: our advanced format preserver for Office kept too many unnecessary attributes, styles, etc., in combination with General HTML support plugin. Now we fully clean up the markup before pasting.
  • Accessibility Enhancements for markers: users aided by assistive technologies will now be notified when the selection enters or leaves a comment or a suggestion in the editor content.
  • AI Assistant: the predefined commands can now be used when no content is selected (previously it was disabled). When used like this, the whole focused block (paragraph, list item, etc.) is passed as the context for the command.
  • AI Assistant: the response streaming is now configurable and can be turned off.
MINOR BREAKING CHANGES ℹ️
  • ai: The config.aiAssistant.uiCssClass configuration has been replaced by config.aiAssistant.useTheme and changed its function. A new complementary .ck-ai-assistant-ui_theme CSS class has also been introduced to the AI Assistant's UI elements. Please refer to the API documentation and the UI customization guide to learn more.
  • editor-multi-root: If you have a custom plugin that uses roots attributes, it is highly recommended to use the newly added MultiRootEditor#registerRootAttribute() method to register a custom root attribute.
  • image: By default, images are inserted as block images (not inline). To switch to the previous behavior (determining image type by insertion context), set the editor configuration image.insert.type to 'auto'.
  • import-word: Introduced the new config.importWord.formatting configuration property which is an object accepting the following properties: resets, defaults, styles, and comments. The old properties: config.importWord.defaultStyles and config.importWord.commentsStyles were removed. Use formatting.defaults and formatting.comments instead.
Features
  • ai: Enabled AI Assistant integration with the Azure OpenAI service.
  • ai: Allowed executing pre-defined AI commands on a collapsed selection.
  • ai: Allowed for ordering groups and commands in the AI Assistant's dropdown configuration through the order property. See the AIAssistantConfig API documentation for details.
  • ai: Introduced config.aiAssistant.requestParameters.stream to configure whether the AI Assistant should use streaming or not.
  • ckbox: Images inserted by CKBox should set the provided dimensions and use the blurhash to indicate image loading. Closes #​15090. (commit)
  • editor-multi-root: Added MultiRootEditor#registerRootAttribute(). All roots attributes used by features should now be registered. Roots attributes passed in editor configuration are now automatically registered. Closes #​15246. (commit)
  • image: Images inserted by CKBox should set the provided dimensions and use the blurhash to indicate image loading. Closes #​15090. (commit)
  • import-word: Introduced a new config.importWord.formatting configuration property in place of config.importWord.defaultStyles and config.importWord.commentsStyles.
  • track-changes: Styling changes made while in track changes mode will now be immediately reflected in the editor content in addition to creating a suggestion. This applies only to newly created suggestions.
  • track-changes: Introduced new suggestion type 'attribute' which indicates that an attribute on a model node has changed and allows to show the change immediately in the content.
  • ui: Introduced the AriaLiveAnnouncer class that allows for using aria-live regions to inform screen readers about changes in editor state. AriaLiveAnnouncer instance is available under EditorUI#ariaLiveAnnouncer. (commit)
Bug fixes
  • ai: The pre-defined command label should be displayed in the AI Assistant's prompt field.
  • ai: The AI content area should stop auto-scrolling once the user interacts with it.
  • ai: The AI Assistant balloon should be closed when user presses the Esc key.
  • ai: The AI pre-defined commands dropdown should reset its scroll when reopened.
  • ai: The AI Assistant should not log unnecessary warnings when detached from the DOM.
  • ai: The AI Assistant's balloon anchor point should stay at a correct position when the balloon grows.
  • ai: The AI Assistant's copy to clipboard button did not work correctly on Firefox when general HTML support plugin was loaded.
  • clipboard: Pasting a link address should not convert its parts that look like HTML entities. Closes #​15036. (commit)
  • clipboard: Improved drop marker visibility to only display in permissible drop locations. Closes #​14709. (commit)
  • comments: Prevented a crash happening when importing Word file when comments plugin is loaded.
  • core: Fixed typings in ToolbarConfig by adding an optional icon parameter. Closes #​15151. (commit)
  • html-support: Additional attributes for the link element (e.g., CSS class) should not be applied after pressing Enter. Closes #​14683. (commit)
  • image: The aspect ratio should be updated on the image replace. Closes #​15179. (commit)
  • image: Remove outdated image attributes when an image is replaced by a URL. Closes #​15093. (commit)
  • list: Pasting plain text content should not break the lists. Closes #​13826. (commit)
  • list: Pasting one list into another should preserve the target list type. See #​13826. (commit)
  • paste-from-office: Tables pasted from Word should not lose styles when GHS is enabled. (commit)
  • table: Table properties should be enabled if a table is selected from the outside. Closes #​15040, #​15041, #​10983. (commit)
  • track-changes: Editor commands will now return a proper value when executed in track changes mode.
  • ui: The AutocompleteView should not capture the Esc key press event if its result pane is hidden. (commit)
  • ui: TextareaView will no longer update its height (and log warnings) when the element is detached from DOM. (commit)
  • ui: Fixed the usage of aria-checked attribute in dropdowns. Closes #​14823. (commit)
  • utils: The Config#get() method should be able to return a function. Closes #​14804, #​12835. (commit)
  • widget: Triple-click in a paragraph should select the whole paragraph even if a block widget follows (table, block image). Closes #​11130. (commit)
  • Plugins specified in config.removePlugins should be now properly filtered out when revision history and track changes data plugins are used.
Other changes
  • ai: Simplified CSS customization in the AI Assistant's UI.
  • ai: Pre-defined commands dropdown search filter will now also include group names.
  • ai: The AI Assistant's Replace button should be labeled Insert if the selection is collapsed.
  • ai: Improved the layout of the AI Assistant in the editor using a right-to-left UI language.
  • ckbox: Should focus the editor after choosing an asset or closing CKBox. Closes #​15091. (commit)
  • ckbox: When multiple files are selected, adds each one of them in a separate paragraph. Closes #​15094. (commit)
  • ckbox: Sets the default CKBox theme to lark. Closes #​15096. (commit)
  • comments: Users using assistive technologies will be now notified when their selection enters or leaves a comment or a suggestion in the editor content.
  • core: Made the PluginInterface.destroy() method optional. (commit)
  • format-painter: Users using assistive technologies will be now notified when the formatting is being copied or pasted.
  • image: Changed the icon of the alternative text to be more accurate and describe its purposes. Closes #​12410. (commit)
  • image: Changed the default image.insert.type configuration to "block" and added the "auto" option. Closes #​15158. (commit)
  • theme-lark: Created a custom property for a shared light red color. Closes #​15217. (commit)
  • theme-lark: Improved RTL layout support in some of the UI components (FormHeaderView, ButtonView, and ListItemView). (commit)
  • track-changes: Migrated features integrations to use the 'attribute' suggestions: alignment, basic styles, font, format painter, heading, highlight, html embed, image (except for image styles), indent block, link, remove format, styles, table headings.
  • track-changes: Due to substantial changes in how new styling suggestions are presented in the editor content, numerous interactions and labels displayed in the suggestions annotations has been changed compared to the old suggestions.
  • track-changes: Users using assistive technologies will be now notified when their selection enters or leaves a comment or suggestion in the editor content.
  • ui: The ListItemGroupView should allow using a custom label. (commit)
  • ui: Improved RTL layout support in some of the UI components (FormHeaderView, ButtonView, and ListItemView). (commit)
  • Updated translations. (commit)
Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Minor releases (contain minor breaking changes):

Releases containing new features:

Other releases:

v40.0.0

Compare Source

We are happy to announce the release of CKEditor 5 v40.0.0.

Release highlights
AI Assistant

We are tremendously excited to share our AI Assistant plugin with you!

With the AI Assistant, you can boost your editing effectiveness and creativity in a completely new way. This feature gives writers and editors the power to seamlessly interact with artificial intelligence. Users can generate, expand, rewrite, improve, translate, and process the content in many different ways.

The AI Assistant can be used in two ways. You can quickly re-work selected content by choosing one of the predefined AI commands. Or, you can write your own query to generate or process the content in any way you like!

Make sure to visit the documentation and try the demo!

Introduction of the image height and width support

No more layout shifts! We have introduced setting of the image width and height attributes automatically during the upload/paste process to ensure the highest-quality content with no text jumping all around. While existing images won't be automatically retroactively altered, any changes to images in the editor (like resizing) will automatically set these attributes.

We've also ensured backward compatibility with CKEditor 4, particularly while maintaining user-changed aspect ratios. More details on the changes can be found in the update guide.

Drag and drop of blocks

Just drag it!™ We have introduced a more intuitive drag-and-drop functionality for blocks and widgets. This makes content rearrangement and editing faster and easier, offering users better control over their content. Dragging by the balloon block toolbar handle is also possible, and we've updated its default icon to reflect this new drag-and-drop capability better (but it's still changeable).

Document lists feature parity

Document lists — our second-generation list plugin that supports multiple content blocks in list items — have finally landed the support for to-do lists! We also added the configuration that enforces the document list to have only a single block inside the list item (we call it “simple lists”). All this is to start deprecating the Lists v1 implementation and use the document lists as default. Coming soon!

Contextual balloon fixes

Last but not least, we prepared significant fixes to the way the contextual balloons work. They had the tendency to overflow on other elements, especially in the fixed height editors. We polished their internals, and problems should exist no more!

Please refer to the update guide to learn more about these changes.

MAJOR BREAKING CHANGES ℹ️
  • image: The model attribute name of the resized image has been changed to resizedWidth. The width and height attributes are now used to preserve the image's natural width and height.
  • image: The srcset model attribute has been simplified. It is no longer an object { data: "...", width: "..." }, but a value previously stored in the data part.
MINOR BREAKING CHANGES ℹ️
  • comments: The comment thread's "resolved" state has been separated from the "unlinked" state (a state, when the related editor content was removed from the document). A thread can have any combination of these states. If a comment thread is either "resolved" or "unlinked", it is moved to the comments archive. This new approach is reflected in the comments archive UI. Notably, an "unlinked" comment thread can become resolved and reopened while still being in the comments archive. Additionally, the "unlinked" comment threads have a gray header color to differentiate them from the "resolved" comment threads.
  • comments: The Comment#archivedAt is now the property to check when deciding whether the comment thread is inside the comments archive or not (that property was #resolvedAt before).
  • comments: CommentsArchive#resolvedThreads has been renamed to #archivedThreads. If your custom code used that property, make sure to apply this change.
  • comments: The deletedAt property is no longer passed in AddCommentThreadEvent as it is not needed anymore. Instead, deleted comment threads should never be handled in addCommentThread as they should never be added to the repository. If your custom code used that property, make sure to apply this change.
  • comments: In a real-time collaboration environment, removed comment threads will no longer be added to CommentsRepository after re-initializing the editor. Before, the comment thread was removed from CommentsRepository but was added back when the editor re-connected to Cloud Services. If your custom code expected the old (incorrect) behavior, it might need a change. This change was reflected in the comments outside editor documentation page.
Features
  • ai: Introduced the AI assistant feature.
  • clipboard: Enabled the block drag and drop by default. Closes #​14734. (commit)
  • clipboard: Extended the drag and drop selection to parent elements when all their children are selected. Closes #​14640. (commit)
  • image: The image width and height attributes are now preserved while loading editor content. Closes #​14146. (commit)
  • image: Images without a specified size will automatically gain natural image width and height dimensions on any interaction with the image. See #​14146. (commit)
  • list: Allow restricting list item content to a single text block by disabling the list.multiBlock configuration option. Closes #​14634. (commit)
  • list: Introducing the to-do lists compatible with the document list feature. Closes #​14663. (commit)
  • ui: Implemented new UI components: ListItemGroupView, TextareaView, SpinnerView, SearchView and AutocompleteView. (commit)
  • ui: Introduced the HighlightedTextView component for better search results presentation. (commit)
Bug fixes
  • clipboard: Improved displaying preview of the drag and drop content. Closes #​14968. (commit)
  • comments: Comment threads that were permanently deleted will be removed from CommentsRepository and, in case of real-time collaboration, they will not be added back after re-connecting to the document.
  • engine: The editor wil no longer throw an error when clicking on a balloon with input on Firefox. Closes #​9635. ([commit](https://togithub.com/ckedito

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (17c46aa) 56.26% compared to head (137a113) 56.26%.

❗ Current head 137a113 differs from pull request most recent head 7cd0f64. Consider uploading reports for the commit 7cd0f64 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1272   +/-   ##
========================================
  Coverage    56.26%   56.26%           
========================================
  Files           38       38           
  Lines         1692     1692           
  Branches       528      528           
========================================
  Hits           952      952           
  Misses         663      663           
  Partials        77       77           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/develop-major-ckeditor-monorepo branch from 0200794 to a159237 Compare September 26, 2023 16:10
@renovate renovate bot force-pushed the renovate/develop-major-ckeditor-monorepo branch from a159237 to f74f0e2 Compare October 4, 2023 16:05
@renovate renovate bot changed the title chore(deps): update ckeditor monorepo to v39 (develop) (major) chore(deps): update ckeditor monorepo (develop) (major) Oct 4, 2023
@renovate renovate bot force-pushed the renovate/develop-major-ckeditor-monorepo branch 2 times, most recently from 57d7f44 to 2529ed3 Compare October 10, 2023 19:35
@renovate renovate bot force-pushed the renovate/develop-major-ckeditor-monorepo branch from 2529ed3 to af6d323 Compare October 19, 2023 06:13
@renovate renovate bot force-pushed the renovate/develop-major-ckeditor-monorepo branch 12 times, most recently from 4f8a9c8 to 137a113 Compare November 15, 2023 10:13
@renovate renovate bot force-pushed the renovate/develop-major-ckeditor-monorepo branch from 137a113 to 7cd0f64 Compare November 15, 2023 10:18
@dackmin dackmin merged commit 0ae8763 into develop Nov 15, 2023
4 checks passed
@dackmin dackmin deleted the renovate/develop-major-ckeditor-monorepo branch November 15, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant