Skip to content

v9.0.0

Compare
Choose a tag to compare
@CKEditorBot CKEditorBot released this 07 Aug 10:28
· 86 commits to master since this release

We are excited to announce a new major release of the React integration.

In this release, we have introduced the following breaking changes that should make using the integration more intuitive and easier.

  • ESM-first: Besides the UMD build, the integration is now available in ESM format. In most projects, the new ESM build should be automatically prioritized by bundlers and other tools.
  • Support for React 19: We improved support for using the integration in React 19. As a result, the <CKEditorContext> component and the useMultiRootEditor hook should no longer throw errors.
  • New name of the global variable: The name of the global variable used in the UMD build changed from CKEditor to CKEDITOR_REACT.

BREAKING CHANGES

  • Change the global name used in the UMD build from CKEditor to CKEDITOR_REACT.
  • onReady in the CKEditorContext behavior has been changed after fixing race conditions in our integration introduced with the newest React versions. Presently, onReady is called after initialization of Context, and then we attach editors to it.

Bug fixes

  • Adjusted CKEditorContext format to prevent race conditions in the CKEditor component. (commit)
  • Change JSX runtime to classic so that react-jsx-runtime is not bundled. (commit)
  • Change the global name used in the UMD build from CKEditor to CKEDITOR_REACT to match the new convention. See ckeditor/ckeditor5#16736. (commit)

Other changes

  • Added support for React 19. (commit)
  • Updated yarn.lock to fix dependabot alert. (commit)