-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
🌅 Sunset of old installation methods: timelines and next steps #17779
Comments
Other: The ckeditor5-rules/no-build-extensions is no longer available. Read more details in ckeditor/ckeditor5#17779. MAJOR BREAKING CHANGE (eslint-config-ckeditor5): The ckeditor5-rules/no-build-extensions rule is no longer included in the configuration. MAJOR BREAKING CHANGE (eslint-plugin-ckeditor5-rules): Removed the ckeditor5-rules/no-build-extensions rule due to the removal of predefined builds.
We (Request Tracker developers) have been reviewing the new build options. We still prefer to build a UMD for maximum compatibility. We also try to align with GPL 2 principles by providing the original source code in RT along with the steps to re-build the editor. This allows end users to potentially modify the code themselves and rebuild it for use with RT. With the updates, it seems "custom builds" will be deprecated and the recommended UMD options are to use pre-generated files, either via CDN or pre-generated zip file. Since you are still generating the UMD builds to create these options for each release, are the build scripts you use to create these available? Then we could just mirror your build process, making it possible for developers to still have access to un-minimized and un-treeshaken code. |
Just to maybe clear some confusion, "custom builds" will be removed in a way that If you want to still use UMD:
Let me know if something is unclear. |
Thanks for the additional details. As we're considering options 1 and 3, we're leaning toward 3 since it seems following your general process has the best chance of working in a way that is consistent with what ckeditor is doing. And thank you for the pointers to the build process and the important caveats. |
With the release of CKEditor 5 v42.0.0, we introduced a new installation experience designed to simplify and improve the developer workflow. As part of this transition, we are phasing out older installation methods that have become outdated or incompatible with modern development practices. Here are the updated timelines and our next steps.
A brief reminder of currently available installation methods:
ckeditor5-build-classic
, provided with a fixed set of plugins to use.If you’re interested in our reasoning about those past changes, feel free to explore the main GitHub issue: #15502 , release blog post, and related documentation.
Timelines
Initially, we planned to deprecate most of the methods in Q1, but we decided to prolong the support for the custom builds to give you more time to migrate.
ckeditor5-build-classic
) will be officially deprecated.src
directory. Instead, thedist
directory will become the primary entry point for importing files, and all imports will happen through the package’s index.@ckeditor/ckeditor5-dev-translations
package, which will no longer be needed.CKEDITOR_TRANSLATIONS
global, as new installation methods enable and promote doing it through the editor’s configuration.build
directory.Work in progress
While deprecating these older methods, we are actively working on several enhancements to further improve CKEditor 5 migration to new installation methods:
Improved icon customization (Allow icon customization without webpack-specific plugins #16546)
We are exploring better support for icon customization in the new installation methods. Two possible approaches are being considered:
Improved index exports (🧩 Missing imports after update to v42.0.0+ #17289)
We are addressing issues related to missing exports and ensuring better compatibility with new installation methods. We are reviewing all requests for missing imports to determine which should be included in the public API. This effort aims to prevent runtime errors and improve the overall developer experience.
Questions? Let us know!
We encourage the CKEditor community to share feedback and ask questions as we navigate these changes. Your input is invaluable in shaping a smoother migration path and ensuring our solutions address real-world use cases.
Here’s how you can contribute:
We are committed to making this transition as seamless as possible and ensuring CKEditor 5 continues to meet your needs. Thank you for your understanding and support!
The text was updated successfully, but these errors were encountered: