Skip to content

Commit 9c50b48

Browse files
chore(release): published v5.2.0 [skip ci] (#2172)
1 parent c3a5275 commit 9c50b48

File tree

37 files changed

+204
-95
lines changed

37 files changed

+204
-95
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [5.2.0](https://github.com/lingui/js-lingui/compare/v5.1.2...v5.2.0) (2025-01-31)
7+
8+
### Bug Fixes
9+
10+
* Allow empty translations for pseudo locale in compile --strict ([#2129](https://github.com/lingui/js-lingui/issues/2129)) ([8cae5e0](https://github.com/lingui/js-lingui/commit/8cae5e0e5a4ab0ab9406aa1683b60a4796c2d9f2))
11+
* **core:** remove runtime whitespace trimming aligned with v5 ([#2169](https://github.com/lingui/js-lingui/issues/2169)) ([47a1ad7](https://github.com/lingui/js-lingui/commit/47a1ad71ced726b076d65c98537815b60ae8e9c7))
12+
* don't use anything from "@babel/types" in runtime ([#2132](https://github.com/lingui/js-lingui/issues/2132)) ([7ebb88d](https://github.com/lingui/js-lingui/commit/7ebb88dc79846839e0826d073cc0d830c09dda27))
13+
* **react:** remove children property from runtime Trans ([#2151](https://github.com/lingui/js-lingui/issues/2151)) ([7540adb](https://github.com/lingui/js-lingui/commit/7540adb0128f9acbff745251540e2d91f3cd683c))
14+
15+
### Features
16+
17+
* add meaningful error when locale is not set ([#2131](https://github.com/lingui/js-lingui/issues/2131)) ([5ae8363](https://github.com/lingui/js-lingui/commit/5ae83630c5afe866b23c5739286eb09fdfe39b95))
18+
* add ph() and explicit labels for placeholders ([#2092](https://github.com/lingui/js-lingui/issues/2092)) ([2026c83](https://github.com/lingui/js-lingui/commit/2026c83dfa3b969cde30305d52821e561df996cf))
19+
* **react:** preserve newlines during string formatting ([#2158](https://github.com/lingui/js-lingui/issues/2158)) ([f0566fb](https://github.com/lingui/js-lingui/commit/f0566fbe56a1e66ebad23c2f205464972902e683))
20+
* support short/default/long/full date time formats ([#2117](https://github.com/lingui/js-lingui/issues/2117)) ([8020427](https://github.com/lingui/js-lingui/commit/802042743c60e28d62571a4b08437a7b275c8237))
21+
622
## [5.1.2](https://github.com/lingui/js-lingui/compare/v5.1.1...v5.1.2) (2024-12-16)
723

824
**Note:** Version bump only for package js-lingui-workspaces

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.1.2",
2+
"version": "5.2.0",
33
"packages": ["packages/*"],
44
"npmClient": "yarn",
55
"command": {

packages/babel-plugin-extract-messages/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [5.2.0](https://github.com/lingui/js-lingui/compare/v5.1.2...v5.2.0) (2025-01-31)
7+
8+
### Bug Fixes
9+
10+
* don't use anything from "@babel/types" in runtime ([#2132](https://github.com/lingui/js-lingui/issues/2132)) ([7ebb88d](https://github.com/lingui/js-lingui/commit/7ebb88dc79846839e0826d073cc0d830c09dda27))
11+
612
## [5.1.2](https://github.com/lingui/js-lingui/compare/v5.1.1...v5.1.2) (2024-12-16)
713

814
**Note:** Version bump only for package @lingui/babel-plugin-extract-messages

packages/babel-plugin-extract-messages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lingui/babel-plugin-extract-messages",
3-
"version": "5.1.2",
3+
"version": "5.2.0",
44
"description": "Babel plugin for collecting messages from source code for internationalization",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.mjs",

packages/babel-plugin-lingui-macro/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [5.2.0](https://github.com/lingui/js-lingui/compare/v5.1.2...v5.2.0) (2025-01-31)
7+
8+
### Features
9+
10+
* add ph() and explicit labels for placeholders ([#2092](https://github.com/lingui/js-lingui/issues/2092)) ([2026c83](https://github.com/lingui/js-lingui/commit/2026c83dfa3b969cde30305d52821e561df996cf))
11+
612
## [5.1.2](https://github.com/lingui/js-lingui/compare/v5.1.1...v5.1.2) (2024-12-16)
713

814
**Note:** Version bump only for package @lingui/babel-plugin-lingui-macro

packages/babel-plugin-lingui-macro/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lingui/babel-plugin-lingui-macro",
3-
"version": "5.1.2",
3+
"version": "5.2.0",
44
"description": "Babel plugin for transforming Lingui Macros",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.mjs",
@@ -84,9 +84,9 @@
8484
"@babel/core": "^7.20.12",
8585
"@babel/runtime": "^7.20.13",
8686
"@babel/types": "^7.20.7",
87-
"@lingui/conf": "5.1.2",
88-
"@lingui/core": "5.1.2",
89-
"@lingui/message-utils": "5.1.2"
87+
"@lingui/conf": "5.2.0",
88+
"@lingui/core": "5.2.0",
89+
"@lingui/message-utils": "5.2.0"
9090
},
9191
"peerDependencies": {
9292
"babel-plugin-macros": "2 || 3"

packages/cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [5.2.0](https://github.com/lingui/js-lingui/compare/v5.1.2...v5.2.0) (2025-01-31)
7+
8+
### Bug Fixes
9+
10+
* Allow empty translations for pseudo locale in compile --strict ([#2129](https://github.com/lingui/js-lingui/issues/2129)) ([8cae5e0](https://github.com/lingui/js-lingui/commit/8cae5e0e5a4ab0ab9406aa1683b60a4796c2d9f2))
11+
612
## [5.1.2](https://github.com/lingui/js-lingui/compare/v5.1.1...v5.1.2) (2024-12-16)
713

814
**Note:** Version bump only for package @lingui/cli

packages/cli/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lingui/cli",
3-
"version": "5.1.2",
3+
"version": "5.2.0",
44
"description": "CLI for working wit message catalogs",
55
"keywords": [
66
"cli",
@@ -57,12 +57,12 @@
5757
"@babel/parser": "^7.22.0",
5858
"@babel/runtime": "^7.21.0",
5959
"@babel/types": "^7.21.2",
60-
"@lingui/babel-plugin-extract-messages": "5.1.2",
61-
"@lingui/babel-plugin-lingui-macro": "5.1.2",
62-
"@lingui/conf": "5.1.2",
63-
"@lingui/core": "5.1.2",
64-
"@lingui/format-po": "5.1.2",
65-
"@lingui/message-utils": "5.1.2",
60+
"@lingui/babel-plugin-extract-messages": "5.2.0",
61+
"@lingui/babel-plugin-lingui-macro": "5.2.0",
62+
"@lingui/conf": "5.2.0",
63+
"@lingui/core": "5.2.0",
64+
"@lingui/format-po": "5.2.0",
65+
"@lingui/message-utils": "5.2.0",
6666
"babel-plugin-macros": "^3.0.1",
6767
"chalk": "^4.1.0",
6868
"chokidar": "3.5.1",

packages/conf/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [5.2.0](https://github.com/lingui/js-lingui/compare/v5.1.2...v5.2.0) (2025-01-31)
7+
8+
**Note:** Version bump only for package @lingui/conf
9+
610
## [5.1.2](https://github.com/lingui/js-lingui/compare/v5.1.1...v5.1.2) (2024-12-16)
711

812
**Note:** Version bump only for package @lingui/conf

packages/conf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lingui/conf",
3-
"version": "5.1.2",
3+
"version": "5.2.0",
44
"sideEffects": false,
55
"description": "Get lingui configuration from package.json",
66
"keywords": [

0 commit comments

Comments
 (0)