Releases: signavio/i18n
v5.1.0
What's Changed
- remove package lock by @Matwog in #147
- Add documentation for publishing packages by @Matwog in #146
- chore(deps): bump json5 from 1.0.1 to 1.0.2 by @dependabot in #151
- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #149
- [SPM-18106] fix vuln with jsdom by @Matwog in #153
- SPM-18747 Update readme: clarification, typos by @ThomasR in #150
- Added template literals support to extract by @star4beam in #145
- SPM-19815 Black-Duck-json5 by @TorgeHarbig in #166
- SPM-21183 fix vulnerability tough-cookie by @Matwog in #176
- CloudOS Managed Infra Services: applying git-mirror automation required for SAP compliance. by @par-vathy in #180
- chore(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #174
- Update BlackDuck orb version to latest by @anh-phan-duc in #181
- chore(deps): update dependency eslint-plugin-react to v7.33.2 by @renovate in #160
- chore(deps): bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in #177
- chore(deps): update jest monorepo to v29.7.0 by @renovate in #163
- chore(deps): update babel monorepo by @renovate in #116
- SIGSPM-8613 Library-Updates-09-2023 by @TorgeHarbig in #185
- chore(deps): bump @babel/traverse from 7.23.0 to 7.23.2 by @dependabot in #187
- chore(deps): update actions/checkout action to v4 by @renovate in #182
- chore(deps): update babel monorepo to v7.23.2 by @renovate in #186
- chore(deps): update dependency jest-junit to v16 by @renovate in #184
- ci:(SIGBMWDEX-122) Add SonarQube to Pipeline by @valentin-sap in #192
- update-circle-ci-machine by @TorgeHarbig in #196
- Fix package manager version by @Matwog in #197
- chore(deps): update babel monorepo by @renovate in #194
- SIGBMWDEX-297 Update signavio/blackduck to 1.16.4 by @AnimiVulpis in #195
- chore(deps): pin dependency sonarqube-scanner to 3.3.0 by @renovate in #193
- chore(deps): update dependency babel-eslint to v10 by @renovate in #164
- chore(deps): update dependency eslint-plugin-react to v7.34.1 by @renovate in #198
- chore(deps): update dependency eslint-plugin-jsx-a11y to v6.8.0 by @renovate in #159
- chore(deps): update dependency eslint to v8.57.0 by @renovate in #157
- chore(deps): update dependency eslint-plugin-import to v2.29.1 by @renovate in #158
- SIGSPM-10844-integrate-checkmarx-scan by @Matwog in #207
- chore(deps): update dependency sonarqube-scanner to v3.4.0 by @renovate in #206
- chore(deps): replace dependency babel-eslint with @babel/eslint-parser 7.11.0 by @renovate in #200
- Removed git sync in public repos by @par-vathy in #191
- chore(deps): update babel monorepo to v7.24.5 by @renovate in #208
- chore(deps): update dependency sonarqube-scanner to v3.5.0 by @renovate in #210
- SIGBMWDEX-163 SLC-29 SAP Approved build container by @TorgeHarbig in #213
- repair-blackduck-scan by @TorgeHarbig in #215
- chore(deps): update dependency eslint-plugin-react to v7.34.3 by @renovate in #217
- chore(deps): update dependency rimraf to v5 by @renovate in #189
- chore(deps): update dependency qs to v6.12.0 by @renovate in #162
- SIGSPM-13231 exclude yarn.lock from cx scan by @xin-nie in #224
- chore(deps): bump ws from 8.14.2 to 8.18.0 by @dependabot in #225
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #218
- SIGSEC-785: Ensure only pinned dependencies are used in CircleCI config by @dmitrybayanov in #228
- SIGBMWDEX-387 CTP IP Scan rollout by @TorgeHarbig in #229
- chore(deps): bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #227
- chore(deps): update dependency eslint-plugin-react to v7.37.2 by @renovate in #226
- chore(deps): update dependency rimraf to v5.0.10 by @renovate in #223
- chore(deps): update babel monorepo to v7.25.9 by @renovate in #214
- chore(deps): update dependency eslint to v8.57.1 by @renovate in #231
- chore(deps): update dependency eslint-plugin-import to v2.31.0 by @renovate in #232
- chore(deps): update dependency eslint-plugin-jsx-a11y to v6.10.1 by @renovate in #220
- [SIGSPM-15250] upgrade cross-env to v7 by @Matwog in #241
- fix(deps): update dependency glob to v11 by @renovate in #234
- 5.1.0 by @Matwog in #243
New Contributors
- @ThomasR made their first contribution in #150
- @par-vathy made their first contribution in #180
- @anh-phan-duc made their first contribution in #181
- @valentin-sap made their first contribution in #192
- @AnimiVulpis made their first contribution in #195
- @xin-nie made their first contribution in #224
- @dmitrybayanov made their first contribution in #228
Full Changelog: v5.0.1...v5.1.0
@signavio/i18n@5.0.1
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/i18n@5.0.0
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