Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
30e5242
fix: remove `VFC`, `FC` type usage (#2290)
faergeek Jul 30, 2025
489fb3a
feat: full concurrency for extract / compile commands (#2299)
timofei-iatsenko Jul 30, 2025
83d91fe
docs: add performance optimization docs (#2296)
timofei-iatsenko Aug 1, 2025
4131c8c
chore(deps-dev): bump Lerna from 8.1.9 to 8.2.4 (#2301)
andrii-bodnar Aug 1, 2025
ce0d17b
chore(release): published v5.4.0 [skip ci] (#2302)
andrii-bodnar Aug 1, 2025
9601701
fix: remove @messageformat/date-skeleton from bundledDependencies (#2…
timofei-iatsenko Aug 4, 2025
c863faa
chore(vite-plugin): add error handling for dynamic import of @lingui/…
maastrich Aug 4, 2025
e4f3517
docs: update react native packages in the example (#2305)
timofei-iatsenko Aug 4, 2025
decf4cd
fix(extractor): sort placeholders to keep them stable between runs (#…
timofei-iatsenko Aug 5, 2025
296f115
chore(release): published v5.4.1 [skip ci] (#2310)
andrii-bodnar Aug 11, 2025
a09c973
feat: add babel parser flag for import defer * as q from '...' (#2309)
Jack-Works Aug 18, 2025
c4ddc61
tests: add tests for different line endings (#2315)
timofei-iatsenko Aug 19, 2025
86fbcd8
feat(cli): support multithreading in all cli commands (#2320)
timofei-iatsenko Sep 12, 2025
26700f0
chore(release): published v5.5.0 [skip ci] (#2325)
andrii-bodnar Sep 12, 2025
3a8efa5
ci: trusted publishing (#2327)
andrii-bodnar Sep 15, 2025
f9ffc59
ci: explicitly install NPM CLI in the release workflow (#2328)
andrii-bodnar Sep 17, 2025
551950e
docs: Add Gamma to showroom.md (#2329)
jessicalc Sep 23, 2025
25303c2
refactor: avoid unnecessary object spreads in Trans (#2333)
vonovak Sep 29, 2025
0819886
refactor: enable strictNullChecks in conf package (#2334)
vonovak Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 9 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ name: release
on:
workflow_dispatch:
inputs:
npmTag:
versionType:
type: choice
description: 'NPM tag to release'
description: 'Version type to publish'
options:
- latest
- next
required: true
default: "latest"

jobs:
release:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

steps:
- uses: actions/checkout@v4
Expand All @@ -35,32 +38,10 @@ jobs:
- name: Build packages
run: yarn release:build

- name: Unit Testing
run: yarn test:ci

- name: Linting & Types
run: yarn lint:all

- name: Creates local .npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Prepare Lingui-Bot git account
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
name: 'Lingui Bot'
email: '[email protected]'
actor: 'lingui-bot'
token: '${{ secrets.GH_TOKEN }}'

- name: Versioning packages
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn version:${{github.event.inputs.npmTag}}

- name: Packaging packages with newer version
run: yarn release:build
- name: Install npm CLI
run: yarn global add npm

- name: Publishing packages
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn release:${{github.event.inputs.npmTag}}
run: yarn release:${{github.event.inputs.versionType}}
55 changes: 55 additions & 0 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: version-bump

on:
workflow_dispatch:
inputs:
versionType:
type: choice
description: 'Version type to bump'
options:
- latest
- next
required: true
default: "latest"

jobs:
version-bump:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v4
with:
always-auth: true
node-version: 20
cache: 'yarn'
scope: '@lingui'

- name: Install dependencies if needed
run: yarn install

- name: Build packages
run: yarn release:build

- name: Unit Testing
run: yarn test:ci

- name: Linting & Types
run: yarn lint:all

- name: Prepare Lingui-Bot git account
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
name: 'Lingui Bot'
email: '[email protected]'
actor: 'lingui-bot'
token: '${{ secrets.GH_TOKEN }}'

- name: Versioning packages
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn version:${{github.event.inputs.versionType}}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,32 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.5.0](https://github.com/lingui/js-lingui/compare/v5.4.1...v5.5.0) (2025-09-12)

### Features

* add babel parser flag for import defer * as q from '...' ([#2309](https://github.com/lingui/js-lingui/issues/2309)) ([a09c973](https://github.com/lingui/js-lingui/commit/a09c973c914e3a1ab406ea6630691feef5b0c0f9))
* **cli:** support multithreading in all cli commands ([#2320](https://github.com/lingui/js-lingui/issues/2320)) ([86fbcd8](https://github.com/lingui/js-lingui/commit/86fbcd849b82d500f67fabd7c4f6abef7e5914f2))

## [5.4.1](https://github.com/lingui/js-lingui/compare/v5.4.0...v5.4.1) (2025-08-11)

### Bug Fixes

* **extractor:** sort placeholders to keep them stable between runs ([#2307](https://github.com/lingui/js-lingui/issues/2307)) ([decf4cd](https://github.com/lingui/js-lingui/commit/decf4cd0e06e1d913b228018ee77d6d5b83d26c3))
* remove @messageformat/date-skeleton from bundledDependencies ([#2293](https://github.com/lingui/js-lingui/issues/2293)) ([9601701](https://github.com/lingui/js-lingui/commit/96017018433310a6ba7a21dc9b6ce1d4f3c6965a))

# [5.4.0](https://github.com/lingui/js-lingui/compare/v5.3.3...v5.4.0) (2025-08-01)

### Bug Fixes

* remove `VFC`, `FC` type usage ([#2290](https://github.com/lingui/js-lingui/issues/2290)) ([30e5242](https://github.com/lingui/js-lingui/commit/30e5242f132a7e0aa847f45b472330f6113b0168))
* remove metro peer dep from metro-transformer ([#2287](https://github.com/lingui/js-lingui/issues/2287)) ([eb8a429](https://github.com/lingui/js-lingui/commit/eb8a4295bf3ea216a8bc1cba736f28e6b44c9107))


### Features

* full concurrency for extract / compile commands ([#2299](https://github.com/lingui/js-lingui/issues/2299)) ([489fb3a](https://github.com/lingui/js-lingui/commit/489fb3a7c999632e57286369e44a0c6e77a3407b))

## [5.3.3](https://github.com/lingui/js-lingui/compare/v5.3.2...v5.3.3) (2025-07-11)

### Bug Fixes
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ There are two documented ways to do this: first is a generic way described in th
YARN_NPM_REGISTRY_SERVER=http://0.0.0.0:4873/ yarn up "@lingui/*"
```

with PNPM:

```sh
pnpm -r up "@lingui/*" --latest --registry=http://0.0.0.0:4873/
```

5. After you make some changes, you need to run the same process. (Releasing + yarn upgrade)

6. When finished testing, restore default registry (only for NPM)
Expand Down
20 changes: 10 additions & 10 deletions examples/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@
"extract": "lingui extract",
"compile": "lingui compile",
"no-dev": "npx expo start -c --no-dev --minify",
"fix-deps": "npx expo install expo@53 --check",
"fix-deps": "npx expo install expo@^53 --check",
"bundle": "expo export --dev=true --output-dir=dist --platform=ios --no-minify --no-bytecode"
},
"dependencies": {
"@formatjs/intl-locale": "^4.0.2",
"@formatjs/intl-pluralrules": "^5.2.16",
"@lingui/core": "^5.3.1",
"@lingui/react": "^5.3.1",
"expo": "^53.0.7",
"@lingui/core": "^5.4.0",
"@lingui/react": "^5.4.0",
"expo": "^53.0.20",
"expo-status-bar": "~2.2.3",
"expo-updates": "~0.28.12",
"expo-updates": "~0.28.17",
"react": "19.0.0",
"react-native": "0.79.2",
"react-native": "0.79.5",
"react-native-web": "^0.20.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@lingui/babel-plugin-lingui-macro": "^5.3.1",
"@lingui/cli": "^5.3.1",
"@lingui/macro": "^5.3.1",
"@lingui/metro-transformer": "^5.3.1",
"@lingui/babel-plugin-lingui-macro": "^5.4.0",
"@lingui/cli": "^5.4.0",
"@lingui/macro": "^5.4.0",
"@lingui/metro-transformer": "^5.4.0",
"@react-native-community/eslint-config": "^3.2.0",
"@types/react": "~19.0.10",
"@typescript-eslint/eslint-plugin": "^5.59.11",
Expand Down
Loading
Loading