Skip to content

v57.0.0

Choose a tag to compare

@CKEditorBot CKEditorBot released this 08 Jul 09:01
v57.0.0
5e98cf4

MAJOR BREAKING CHANGES ℹ️

  • manual-server: Introduced a new manual test format. The manualTestsPlugin() plugin now discovers only *.manual.html files, which are full HTML documents that reference their scripts with an explicit <script type="module"> tag. The paths option of the manualTestsPlugin() and manualStaticAssetsPlugin() plugins now takes package root globs, for example packages/*, and the plugins look inside the tests/manual/ directory of each matched package. Tests are identified in the catalog by their file path relative to that directory. Sidecar Markdown instruction files are no longer supported; instructions live inside the optional <ck-manual-header> element rendered as the test page header. Plain .html files inside tests/manual directories are treated as static fixtures and served without processing. Every discovered test page receives an invisible bootstrap script (license key global, editor inspector, refresh prompt), while the header chrome is injected only for pages that contain the <ck-manual-header> element.
  • manual-server: Removed the rawHtmlPlugin() plugin. Use the native Vite ?raw import query instead.
  • utils: Removed the loaders namespace (getCoverageLoader(), getTypeScriptLoader(), getJavaScriptLoader(), getDebugLoader(), getIconsLoader(), getFormattedTextLoader(), getStylesLoader()) together with the ck-debug-loader and ck-lightningcss-loader webpack loaders. They were only used by the removed Karma and webpack-based manual test environments. See ckeditor/ckeditor5-internal#4595.
  • Removed the @ckeditor/ckeditor5-dev-tests package together with its ckeditor5-dev-tests-run-manual binary. To serve manual tests, use the Vite-based @ckeditor/ckeditor5-dev-manual-server package instead.

Features

  • manual-server: Added the manualStaticAssetsPlugin() Vite plugin that serves and emits static assets used by manual tests. This logic was previously part of the manualTestsPlugin() plugin, which no longer handles static assets on its own.
  • manual-server: Added the rawSvgPlugin() Vite plugin that loads .svg files as raw source strings.

Bug fixes

  • manual-server: The refreshPlugin() plugin shows the "refresh available" prompt again instead of reloading the page on every JavaScript change. Vite 8.1 moved the internal structures the plugin relies on, which silently disabled it.

Other changes

  • ci: Added missing team members (michnowak, tomaszdurka, Saddage) to the members.json file used by the CI notification scripts.

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Major releases (contain major breaking changes):

Other releases: