Skip to content

v26.0.0

Compare
Choose a tag to compare
@pomek pomek released this 18 Nov 10:22
· 1555 commits to master since this release

MAJOR BREAKING CHANGES ℹ️

  • env: The createPotFiles() function requires the translationsDirectory option, which points to the directory where all *.po files will be created.
  • env: The downloadTranslations() function requires the following properties:translationsDirectory - an absolute path used for resolving paths to packages; url - Transifex API URL.
  • env: The upload() function requires the following properties: translationsDirectory- points to the directory where all *.po files will be created; url - Transifex API URL.
  • env: Removed the ckeditor5-dev-env-translations binary script as it worked only for the CKEditor 5 project. Use the following functions instead: const { createPotFiles, uploadPotFiles, downloadTranslations } = require( '@ckeditor/ckeditor5-dev-env' );.
  • env: The uploadPotFiles() and downloadTranslations() functions require the token value passed directly to the script. Use the const getToken = require( '@ckeditor/ckeditor5-dev-env/lib/translations/gettoken' ) function for reading the input from the command line.

MINOR BREAKING CHANGES ℹ️

  • env: All functions in the transifex-service.js util require the url value when calling API.

Features

  • env: Redesigned the API for handling localization in CKEditor 5 sources. Now, the code can be shared in 3rd party plugins created by external developers. See ckeditor/ckeditor5-package-generator#9. (commit)

  • env: The createPotFiles() function accepts new flags:. (commit)

    • ignoreUnusedCorePackageContexts - when set to true, unused contexts from the @ckeditor/ckeditor5-core package will not be displayed as errors,
    • skipLicenseHeader - when set to true, created *.po files will not contain the CKEditor 5 license header.
  • env: The simplifyLicenseHeader() function accepts a new flag (simplifyLicenseHeader) that allows skipping adding the contribute URL in generated *.po files. (commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Releases containing new features:

Other releases: