[Snyk] Upgrade ckeditor5 from 42.0.0 to 42.0.2 #929
+578
−345
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade ckeditor5 from 42.0.0 to 42.0.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 9 versions ahead of your current version.
The recommended version was released on 3 months ago.
Release notes
Package name: ckeditor5
We are happy to announce the release of CKEditor 5 v42.0.2.
Release highlights
This is a patch release that includes the following bug fixes for new installation methods introduced in v42.0.0:
ckeditor5-editor.css
,ckeditor5-content.css
, and other optimized style sheets (see #16703).Additionally, we fixed some performance issues in the track changes plugin. The editing experience was heavily affected if there were many (hundreds or more) suggestions in the document. This was a regression introduced in v41.0.0.
Bug fixes
package.json
. See #16684. (commit)exports
field inpackage.json
to fix issues with loading CSS and translations in older bundlers. See #16638. (commit)package.json
.exports
field inpackage.json
to fix issues with loading CSS and translations in older bundlers.dist
folder as productiondependencies
instead ofdevDependencies
. Related to #16646. (commit)Other changes
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
We are happy to announce the release of CKEditor 5 v42.0.1.
Release highlights
This is a patch release that fixes issues with
ckeditor5-editor.css
and other editor-only stylesheets that contained extra newline characters causing incorrect syntax reported in ckeditor/ckeditor5#16670.Additionally, if you maintain custom CKEditor 5 plugins and migrated them to the new package generator, you should update
@ ckeditor/ckeditor5-dev-build-tools
to the latest version to avoid this problem in your plugin.Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
We are happy to announce the release of CKEditor 5 v42.0.0.
Release highlights
New installation methods
We are excited to announce the latest release of CKEditor 5, bringing major improvements to simplify the installation and setup process. After extensive research and gathering feedback, we have improved the setup methods to enhance the developer experience and align with modern standards.
The most prominent changes:
ckeditor5
andckeditor5-premium-features
packages, reducing dependency management complexity.The old installation methods are still supported, but we put them on the deprecation path. Read more about this in our migration guides.
New Builder
Along with the new release, we present you the brand new CKEditor 5 Builder.
The new Builder allows you to start with one of the predefined presets, customize it by adding and removing features, and observe the changes live in an editor preview (and play with the editor!). Once you are happy with your custom setup, you get ready-to-use code snippets for React, Angular, Vue, and VanillaJS setups for both npm and CDN distributions.
Updated documentation
We rewrote large parts of the documentation to complete the picture and ensure consistency across the ecosystem. The entire Getting started section was redesigned to focus on the new installation methods and to better guide the integrator through the ecosystem.
If you need clarification or a more in-depth explanation, please let us know.
Migration paths
Finally, detailed migration guides can be found in our documentation. These guides provide step-by-step instructions and examples to help you seamlessly transition to the new installation methods:
We value your input, so please share your experiences, ask questions, and provide feedback to help us refine these changes. Join us in this exciting new chapter for CKEditor 5 and let’s make the developer experience as smooth and enjoyable as possible.
Removal of superbuild and predefined builds from the CDN
We have stopped publishing the superbuild and predefined builds to our CDN. Predefined builds can still be accessed as an npm package. If you want to keep using our CDN with new versions of the editor, we recommend migrating to the new installation methods.
Other updates
We are excited to announce a major update to our premium Export to Word feature, delivering significantly improved quality with multiple enhancements and bug fixes. This release also brings a substantial reduction in the conversion time. Export to Word v2 is an opt-in feature right now, and to use it you need to slightly change the editor’s configuration. Detailed information can be found in the documentation.
MINOR BREAKING CHANGES ℹ️
Insert image via URL
UI component form has been moved to a modal dialog instead of being available directly in the insert image dropdown..image-style-block-align-[right/left]
,.image-style-align-[right/left]
, and.image-style-side
CSS classes by adding the.image
class. See #16317.Pagination
elements, they might stop working after this change. The reason is that a stricter CSS selector withck-pagination-loaded
is now used to hide or show these elements.Features
Schema
now supports disallowing items. Introduced theSchemaItemDefinition#disallowIn
,SchemaItemDefinition#disallowChildren
andSchemaItemDefinition#disallowAttributes
properties. Closes #15835. (commit)DiffItemInsert#action
,DiffItemInsert#before
andDiffItemRemove#action
properties which give more information about the change that happened in the model. Refer to the API documentation to learn more. Closes #15800. (commit)menuBar:insertImage
component is by default added to the "Insert" menu and replaces current buttons related to image insertion. Closes #16445. (commit)menuBar:multiLevelList
component is by default added in the "Format" menu.EditorCreatorFunction
andWatchdogConfig
types from the main index file. (commit)Bug fixes
h1
tags will no longer be normalized toh2
tags in the AI Assistant response if the editor hash1
tags enabled in its content.@ ckeditor/ckeditor-cloud-services-collaboration
build targetinges2022
when creating a browser build ofckeditor5-premium-features
.EditorAnnotations
plugin is not loaded.insertImage
dropdown will no longer have an unnecessary tooltip. (commit).image-style-block-align-[right/left]
,.image-style-align-[right/left]
, and.image-style-side
CSS classes by adding the.image
class. Closes #16317. (commit)inputmode=url
to a link balloon form input. Closes #16389. (commit)on
when the multi-level list is selected. This refers to the single button, not the split button. See #16345.PageBreak
andPagination
plugin styles no longer conflict. Closes #16506.config.presenceList.onClick
configuration is set.commentsrepository-duplicated-comment-thread-id
error thrown after callingTrackChangesData#getDataWithAcceptedSuggestions()
andTrackChangesData#getDataWithDiscardedSuggestions()
.TooltipManager
tooltips should immediately show up when triggered by user focus for better responsiveness and accessibility. (commit)declare
to dynamically populated class fields. Closes #16386. (commit)Other changes
@ ckeditor/ckeditor5-build-*
packages todevDependencies
to reduce the installation size of theckeditor5
package. Related to #16360. (commit)index.js
tockeditor5.js
in the new installation method builds. (commit)main
,module
,types
andexports
fields to thepackage.json
file. Closes #16257. (commit)ckeditor5
. (commit)index.js
file tockeditor5-premium-features.js
in new installation method builds.EditorWatchdog
,ContextWatchdog
, andContext
classes are now exposed as static fields of theEditor
class. Closes #13852. (commit)XmlDataProcessor
from the main index. (commit)ViewDocumentBlurEvent
andViewDocumentFocusEvent
types from the main index. (commit)insertImageViaUrl
toolbar button and themenuBar:insertImageViaUrl
menu bar button. (commit)Insert image via URL
form has been moved to a modal dialog instead of being available directly in the insert image dropdown. (commit)html2markdown
andmarkdown2html
to classes to improve tree-shaking. Related to #16292. (commit)turndown
to version7.2.0
. Closes #16371. (commit)compiledmessages.js
file tree-shakeable.TrackChangesEditing#_descriptionFactory
property. UsedescriptionFactory
instead. The old property was deprecated in thev41.4.0
release./* #__PURE__ */
magic comment. See #16292. (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: