v26.0.0
MAJOR BREAKING CHANGES ℹ️
- env: The
createPotFiles()
function requires thetranslationsDirectory
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()
anddownloadTranslations()
functions require thetoken
value passed directly to the script. Use theconst 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 theurl
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 totrue
, unused contexts from the@ckeditor/ckeditor5-core
package will not be displayed as errors,skipLicenseHeader
- when set totrue
, 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:
- @ckeditor/ckeditor5-dev-env: v25.4.5 => v26.0.0
- @ckeditor/ckeditor5-dev-utils: v25.4.5 => v26.0.0
Other releases:
- @ckeditor/ckeditor5-dev-docs: v25.4.5 => v26.0.0
- @ckeditor/ckeditor5-dev-tests: v25.4.5 => v26.0.0
- @ckeditor/ckeditor5-dev-webpack-plugin: v25.4.5 => v26.0.0
- @ckeditor/jsdoc-plugins: v25.4.5 => v26.0.0