3.0.0 (2024-11-04)
We are excited to announce an update to the package generator for CKEditor 5 plugins. Starting this release, the created packages use Vitest as a testing environment for automated tests.
Taking the occasion, we decided to drop the Transifex integration. Right now, translation entries (if needed) can be modified via pull requests instead of an external service. This change reflects the translation updates in CKEditor 5.
Last but not least, the generator follows the ESM standard. However, this change should not affect the integrators, as the @ckeditor/ckeditor5-package-tools
package exposes a binary script that is aligned to the new API.
MAJOR BREAKING CHANGES ℹ️
- generator: Removed the
translations:collect
,translations:download
andtranslations:upload
scripts from the generated package. Instead, thetranslations:synchronize
andtranslations:validate
scripts are introduced. These two new scripts do not provide an integration with Transifex service anymore, but they help preparing translation files (*.po
files) which must be handled by the integrator himself. - tools: Removed the
translations:collect
,translations:download
andtranslations:upload
tasks. Instead, thetranslations:synchronize
task is introduced. It helps preparing translation files (*.po
files) in the generated package.
MINOR BREAKING CHANGES ℹ️
- generator: The generated package no longer uses Karma as the test runner. Instead, Vitest is used.
- tools: The
test
script is removed, because unit tests in the generated package are executed directly by Vitest. Hence, the previous custom support for the--coverage
(-c
) and--source-map
(-s
) flags is no longer needed and has been also removed. Theyarn run test
(ornpm run test
) script is still available in the generated package, but it executes Vitest. See CLI flags supported in Vitest.
- generator: Lock to the last compatible version of the
@ckeditor/ckeditor5-dev-build-tools
package due to the upcoming release of breaking changes in the@ckeditor/ckeditor5-dev-*
packages. Closes #191. (commit) - generator: Replaced Karma with Vitest as the testing framework in the generated package. (commit)
- tools: Removed support for the
--coverage
(-c
) and--source-map
(-s
) flags. (commit) - tools: Removed
test
script from the tools, because unit tests in the generated package are executed now directly by Vitest. (commit) - The generated package no longer integrates with the Transifex service. Thanks to that, a community can provide translation entries directly via pull requests. (commit)
- Converted the project repository to ESM. Closes #192. (commit)
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-package-tools: v2.1.1 => v3.0.0
- ckeditor5-package-generator: v2.1.1 => v3.0.0
2.1.1 (2024-09-30)
- generator: Lock to the last compatible version of the
@ckeditor/ckeditor5-dev-build-tools
package due to the upcoming release of breaking changes in the@ckeditor/ckeditor5-dev-*
packages. Closes #191. (commit)
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-package-tools: v2.1.0 => v2.1.1
- ckeditor5-package-generator: v2.1.0 => v2.1.1
3.0.0-alpha.0 (2024-09-19)
MINOR BREAKING CHANGES ℹ️
- generator: The generated package no longer uses Karma as the test runner. Instead, Vitest is used.
- tools: The
test
script is removed, because unit tests in the generated package are executed directly by Vitest. Hence, the previous custom support for the--coverage
(-c
) and--source-map
(-s
) flags is no longer needed and has been also removed. Theyarn run test
(ornpm run test
) script is still available in the generated package, but it executes Vitest. See CLI flags supported in Vitest.
- generator: Replaced Karma with Vitest as the testing framework in the generated package. (commit)
- tools: Removed support for the
--coverage
(-c
) and--source-map
(-s
) flags. (commit) - tools: Removed
test
script from the tools, because unit tests in the generated package are executed now directly by Vitest. (commit)
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-package-tools: v2.1.0 => v3.0.0-alpha.0
- ckeditor5-package-generator: v2.1.0 => v3.0.0-alpha.0
2.1.0 (2024-08-07)
MINOR BREAKING CHANGES ℹ️
- generator: The global names for the
ckeditor5
andckeditor5-premium-features
packages in the UMD builds have been changed toCKEDITOR
andCKEDITOR_PREMIUM_FEATURES
respectively.
- generator: New flag
--global-name
to define a global name of the package to be used in the UMD build. See ckeditor/ckeditor5#16798. (commit) - generator: Each package template should have own
README.md
based on what commands can be executed in it. Closes #174. (commit) - generator: Updated the
exports
field inpackage.json
templates to fix issues with loading CSS and translations in older bundlers. See ckeditor/ckeditor5#16638. (commit) - generator: Changed the path to the types in the
package.json
ints
templates. See ckeditor/ckeditor5#16684. (commit)
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-package-tools: v2.0.0 => v2.1.0
- ckeditor5-package-generator: v2.0.0 => v2.1.0
2.0.0 (2024-06-26)
We are excited to announce an update to the package generator for CKEditor 5 plugins. Now the new package generator fully supports the latest installation methods in CKEditor 5.
With this update, you will be prompted to choose whether you want to generate a plugin that supports only the current methods or both current and legacy methods. For more details on migrating custom plugins, please refer to the documentation.
- generator: New flag
--installation-methods
that should allow to generate package with current installation methods of CKEditor 5 or with current and legacy methods with DLLs. See ckeditor/ckeditor5#15502, ckeditor/ckeditor5#15739. (commit)
Check out the Versioning policy guide for more information.
Released packages (summary)
Releases containing new features:
- @ckeditor/ckeditor5-package-tools: v2.0.0-alpha.0 => v2.0.0
- ckeditor5-package-generator: v2.0.0-alpha.0 => v2.0.0
To see all releases, visit the release page.