Skip to content

Releases: ckeditor/ckeditor5-package-generator

v3.0.0

04 Nov 12:10
Compare
Choose a tag to compare

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 and translations:upload scripts from the generated package. Instead, the translations:synchronize and translations: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 and translations:upload tasks. Instead, the translations: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. The yarn run test (or npm run test) script is still available in the generated package, but it executes Vitest. See CLI flags supported in Vitest.

Other changes

  • 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)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

v2.1.1

30 Sep 09:41
Compare
Choose a tag to compare

Other changes

  • 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)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

v3.0.0-alpha.0

19 Sep 07:43
Compare
Choose a tag to compare
v3.0.0-alpha.0 Pre-release
Pre-release

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. The yarn run test (or npm run test) script is still available in the generated package, but it executes Vitest. See CLI flags supported in Vitest.

Other changes

  • 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)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

v2.1.0

07 Aug 11:10
Compare
Choose a tag to compare

MINOR BREAKING CHANGES ℹ️

  • generator: The global names for the ckeditor5 and ckeditor5-premium-features packages in the UMD builds have been changed to CKEDITOR and CKEDITOR_PREMIUM_FEATURES respectively.

Bug fixes

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

v2.0.0

26 Jun 08:36
Compare
Choose a tag to compare

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.

Features

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Releases containing new features:

v2.0.0-alpha.0

28 May 10:35
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release

MAJOR BREAKING CHANGES ℹ️

  • Upgraded the minimal versions of Node.js to 18.0.0 due to the end of LTS.

MINOR BREAKING CHANGES ℹ️

  • tools: The typescript() function exported from the webpack-utils module requires passing the cwd as the first argument. Optionally, you can pass the TypeScript configuration file name that should be used when processing TS files by ts-loader.

Features

  • generator: Added the --use-only-new-installation-methods CLI flag that should allow the generation of a package without support for the DLL builds. See #15502, #15739.
  • tools: Karma will use the tsconfig.test.json file as a TypeScript configuration if it exists when executing automated tests. By default, it fallbacks to tsconfig.json file. (commit)

Bug fixes

  • generator: Allow to build plugin with potentially used external ckeditor5-premium-features. (commit)

Other changes

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Releases containing new features:

v1.1.0

05 Jul 11:17
Compare
Choose a tag to compare

Features

  • generator: The tool will now display its version when used with -V/--version option. The version will also be displayed on the -h/--help message. Closes #150. (commit)

Bug fixes

  • generator: Removed the current working directory from a package manager command when installing dependencies. A new process is already spawned in the directory. Hence, there is no need to duplicate the path. Thanks to that, a space in the path will not crash the generator while installing dependencies. Closes #156. (commit)

Other changes

  • generator: When generating a new package, the generator uses the latest stable CKEditor 5 release. Closes #155. (commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Releases containing new features:

Other releases:

v1.0.0

25 Apr 10:33
Compare
Choose a tag to compare

We are happy to announce the first stable release of ckeditor5-package-generator.

This tool allows creating a working package with the development environment to write new plugins for CKEditor 5.

For more details on using the tool, please, take a look at the README.md file of the ckeditor5-package-generator package.

MAJOR BREAKING CHANGES ℹ️

  • Upgraded the minimal versions of Node.js to 16.0.0 due to the end of LTS.

Features

Bug fixes

  • tools: Added the missing ts-loader. Webpack missed it when creating a new package using npm as the package manager. Closes #143. (commit)
  • tools: Added support for a package name without an organization prefix. Preparing the DLL build will not throw an error for such a package. Closes #139. (commit)

Other changes

  • generator: Removed the "experimental" label from TS and made it the default choice. Related #111. (commit)
  • tools: Update terser-webpack-plugin to enable optional chaining syntax. Closes #136. (commit)
  • Updated the required version of Node.js to 16. (commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Releases containing new features:

Other releases:

v1.0.0-beta.10

28 Mar 09:57
Compare
Choose a tag to compare

Bug fixes

  • generator: Updated the generated packages to use a package entry point when importing plugins. (commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

v1.0.0-beta.9

09 Mar 08:22
Compare
Choose a tag to compare

Features

  • Replaced the community typings with the official CKEditor 5. Closes #110. (commit)

Other changes

  • The ckeditor5 package is no longer a dependency of a created package. Instead, it is marked as a peer dependency to enable using the newly created package with the latest CKEditor 5 versions. (commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Releases containing new features:

Other releases: