Releases: signavio/i18n
@signavio/[email protected]
Summary
- Fixes the issue where the extract command did not work with replacements without context.
Example of replacements config json file without a context:
{
"" : {
"Old translation": "New translation without context",
},
}
@signavio/[email protected]
Summary
- Adds replacements feature
- Fixes the issue where the replacement feature does not work correctly with the translation context.
- Contains security fixes.
Breaking changes:
- The replacement configuration now expects a slightly different format.
Previously, the replacement json looked like
{
"Old translation": "New translation",
"Old translation2": "New translation2"
}
But now through this release, it is expected that the replacement json configs contain the context as a key.
{
"" : {
"Old translation": "New translation without context",
},
"some context": {
"Old translation": "New translation with some context",
}
}
This is also documented in the Read me.
Related PR:
@signavio/i18n - 4.0.1
Release 4.0.1
- Adds fallback value which was previously handled by marked thereby fixing interpolation issues.
Reference: PR
@signavio/i18n - 4.0.0
Changes within the release:
- The CircleCI convenience images have been upgraded to use the next-gen images.
- Includes vulnerability dependency fixes.
Breaking changes in marked:
- Dropped support for Node 10
- No longer actively supporting IE11
@signavio/i18n - v3.0.1
small fixes and improvements
@signavio/i18n - 3.0.0
Breaking Change:
1. Registry and the name of the i18n package has changed
There was a cut-off between version 2
and 3
. Hence all versions <= 2.x
will always be available under signavio-i18n
and newer versions >= 3.x
will only be available under @signavio/i18n
. We also took responsibility to already deprecate the previous versions on NPM.
import { init, setLocale } from 'signavio-i18n'
will become:
import { init, setLocale } from '@signavio/i18n'
and the corresponding package.json
should then look like this:
"dependencies": {
- "signavio-i18n": "2.1.2",
+ "@signavio/i18n": "3.0.1",
}
2. Upgrade of certain dependencies
We have upgraded marked to version 0.7.0
in order to mitigate vulnerabilities therefor we had drop partial support IE11
. Usually methods are polyfilled and should not create problems.
Minor:
Upgrading of various devDependencies
in order to remove publicly disclosed vulnerabilities and furthermore looking into redesigning the development build of this project.
2.1.2
Bumped ini
, elliptic
and lodash
to fix vulnerabilites
2.1.0
2.0.1
2.0.0
Breaking changes
- dropped support for
babel@6
- added support for
babel@7