Skip to content

v57.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@CKEditorBot CKEditorBot released this 08 Jul 07:57
v57.0.0-alpha.1
61d48a1

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.
  • tests: Removed the manual test server: the ckeditor5-dev-tests-run-manual binary and the entire webpack-based manual test compilation environment. Manual tests are now served by the Vite-based @ckeditor/ckeditor5-dev-manual-server package. The only remaining part of this package is the custom Vitest matchers (toEqualMarkup()).
  • utils: Removed the loaders namespace (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 webpack-based test environment.

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.

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Major releases (contain major breaking changes):

Other releases: