Skip to content

Commit

Permalink
chore: official v5 release (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Nov 28, 2024
1 parent 74f2e1c commit d1e56b5
Show file tree
Hide file tree
Showing 22 changed files with 107 additions and 97 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [5.0.0](https://github.com/lingui/js-lingui/compare/v4.14.1...v5.0.0) (2024-11-28)

We are pleased to announce the release of Lingui 5.0! This release is a **major milestone** for the project and includes a number of new features, improvements and bug fixes.

Check out the links below for more details:

- [Blog Post: Announcing Lingui 5.0](https://lingui.dev/blog/2024/11/28/announcing-lingui-5.0)
- [Migration Guide from 4.x to 5.x](https://lingui.dev/releases/migration-5)
- [Full Changelog](https://github.com/lingui/js-lingui/compare/v4.14.1...v5.0.0)

## [4.14.1](https://github.com/lingui/js-lingui/compare/v4.14.0...v4.14.1) (2024-11-28)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.0-next.5",
"version": "5.0.0",
"packages": [
"packages/*"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-lingui-workspaces",
"private": true,
"version": "4.0.0",
"version": "5.0.0",
"author": {
"name": "Tomáš Ehrlich",
"email": "tomas.ehrlich@gmail.com"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-extract-messages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/babel-plugin-extract-messages",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Babel plugin for collecting messages from source code for internationalization",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand Down
8 changes: 4 additions & 4 deletions packages/babel-plugin-lingui-macro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/babel-plugin-lingui-macro",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Babel plugin for transforming Lingui Macros",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -84,9 +84,9 @@
"@babel/core": "^7.20.12",
"@babel/runtime": "^7.20.13",
"@babel/types": "^7.20.7",
"@lingui/conf": "5.0.0-next.5",
"@lingui/core": "5.0.0-next.5",
"@lingui/message-utils": "5.0.0-next.5"
"@lingui/conf": "5.0.0",
"@lingui/core": "5.0.0",
"@lingui/message-utils": "5.0.0"
},
"peerDependencies": {
"babel-plugin-macros": "2 || 3"
Expand Down
14 changes: 7 additions & 7 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/cli",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "CLI for working wit message catalogs",
"keywords": [
"cli",
Expand Down Expand Up @@ -57,12 +57,12 @@
"@babel/parser": "^7.22.0",
"@babel/runtime": "^7.21.0",
"@babel/types": "^7.21.2",
"@lingui/babel-plugin-extract-messages": "5.0.0-next.5",
"@lingui/babel-plugin-lingui-macro": "5.0.0-next.5",
"@lingui/conf": "5.0.0-next.5",
"@lingui/core": "5.0.0-next.5",
"@lingui/format-po": "5.0.0-next.5",
"@lingui/message-utils": "5.0.0-next.5",
"@lingui/babel-plugin-extract-messages": "5.0.0",
"@lingui/babel-plugin-lingui-macro": "5.0.0",
"@lingui/conf": "5.0.0",
"@lingui/core": "5.0.0",
"@lingui/format-po": "5.0.0",
"@lingui/message-utils": "5.0.0",
"babel-plugin-macros": "^3.0.1",
"chalk": "^4.1.0",
"chokidar": "3.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/conf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/conf",
"version": "5.0.0-next.5",
"version": "5.0.0",
"sideEffects": false,
"description": "Get lingui configuration from package.json",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/core",
"version": "5.0.0-next.5",
"version": "5.0.0",
"sideEffects": false,
"description": "I18n tools for javascript",
"main": "./dist/index.cjs",
Expand Down Expand Up @@ -60,7 +60,7 @@
],
"dependencies": {
"@babel/runtime": "^7.20.13",
"@lingui/message-utils": "5.0.0-next.5",
"@lingui/message-utils": "5.0.0",
"unraw": "^3.0.0"
},
"devDependencies": {
Expand All @@ -69,7 +69,7 @@
"unbuild": "2.0.0"
},
"peerDependencies": {
"@lingui/babel-plugin-lingui-macro": "5.0.0-next.5",
"@lingui/babel-plugin-lingui-macro": "5.0.0",
"babel-plugin-macros": "2 || 3"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/detect-locale/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/detect-locale",
"version": "4.14.1",
"version": "5.0.0",
"sideEffects": false,
"description": "@Lingui package to help you find the correct browser/server locale",
"main": "./dist/index.cjs",
Expand Down
8 changes: 4 additions & 4 deletions packages/extractor-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/extractor-vue",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Custom Vue.js extractor to be used with the CLI tool",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -38,12 +38,12 @@
"/dist"
],
"dependencies": {
"@lingui/cli": "5.0.0-next.5",
"@lingui/conf": "5.0.0-next.5",
"@lingui/cli": "5.0.0",
"@lingui/conf": "5.0.0",
"@vue/compiler-sfc": "^3.2.47"
},
"devDependencies": {
"@lingui/babel-plugin-extract-messages": "5.0.0-next.5",
"@lingui/babel-plugin-extract-messages": "5.0.0",
"unbuild": "2.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/format-csv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/format-csv",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "CSV format for Lingui Catalogs",
"main": "./dist/csv.cjs",
"module": "./dist/csv.mjs",
Expand Down Expand Up @@ -39,7 +39,7 @@
"dist/"
],
"dependencies": {
"@lingui/conf": "5.0.0-next.5",
"@lingui/conf": "5.0.0",
"papaparse": "^5.4.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/format-json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/format-json",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "JSON format for Lingui Catalogs",
"main": "./dist/json.cjs",
"module": "./dist/json.mjs",
Expand Down Expand Up @@ -39,7 +39,7 @@
"dist/"
],
"dependencies": {
"@lingui/conf": "5.0.0-next.5",
"@lingui/conf": "5.0.0",
"ramda": "^0.28.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/format-po-gettext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/format-po-gettext",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Gettext PO format with gettext-style plurals for Lingui Catalogs",
"main": "./dist/po-gettext.cjs",
"module": "./dist/po-gettext.mjs",
Expand Down Expand Up @@ -41,9 +41,9 @@
"dist/"
],
"dependencies": {
"@lingui/conf": "5.0.0-next.5",
"@lingui/format-po": "5.0.0-next.5",
"@lingui/message-utils": "5.0.0-next.5",
"@lingui/conf": "5.0.0",
"@lingui/format-po": "5.0.0",
"@lingui/message-utils": "5.0.0",
"@messageformat/parser": "^5.0.0",
"cldr-core": "^45.0.0",
"node-gettext": "^3.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/format-po/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/format-po",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Gettext PO format for Lingui Catalogs",
"main": "./dist/po.cjs",
"module": "./dist/po.mjs",
Expand Down Expand Up @@ -41,8 +41,8 @@
"dist/"
],
"dependencies": {
"@lingui/conf": "5.0.0-next.5",
"@lingui/message-utils": "5.0.0-next.5",
"@lingui/conf": "5.0.0",
"@lingui/message-utils": "5.0.0",
"date-fns": "^3.6.0",
"pofile": "^1.1.4"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/loader",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "webpack loader for lingui message catalogs",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
Expand Down Expand Up @@ -43,11 +43,11 @@
],
"dependencies": {
"@babel/runtime": "^7.20.13",
"@lingui/cli": "5.0.0-next.5",
"@lingui/conf": "5.0.0-next.5"
"@lingui/cli": "5.0.0",
"@lingui/conf": "5.0.0"
},
"devDependencies": {
"@lingui/format-json": "5.0.0-next.5",
"@lingui/format-json": "5.0.0",
"unbuild": "2.0.0",
"webpack": "^5.76.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/macro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/macro",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Macro for generating messages in ICU MessageFormat syntax",
"main": "./index.js",
"types": "./index.d.ts",
Expand Down Expand Up @@ -47,8 +47,8 @@
"index.js"
],
"dependencies": {
"@lingui/core": "5.0.0-next.5",
"@lingui/react": "5.0.0-next.5"
"@lingui/core": "5.0.0",
"@lingui/react": "5.0.0"
},
"peerDependencies": {
"@lingui/babel-plugin-lingui-macro": "4.11.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/message-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/message-utils",
"version": "5.0.0-next.5",
"version": "5.0.0",
"license": "MIT",
"keywords": [],
"sideEffects": false,
Expand Down
8 changes: 4 additions & 4 deletions packages/metro-transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/metro-transformer",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Metro bundler transformer for LinguiJS catalogs",
"exports": {
"./expo": {
Expand Down Expand Up @@ -56,12 +56,12 @@
],
"dependencies": {
"@babel/runtime": "^7.20.13",
"@lingui/cli": "5.0.0-next.5",
"@lingui/conf": "5.0.0-next.5",
"@lingui/cli": "5.0.0",
"@lingui/conf": "5.0.0",
"memoize-one": "^6.0.0"
},
"devDependencies": {
"@lingui/format-json": "5.0.0-next.5",
"@lingui/format-json": "5.0.0",
"rimraf": "^6.0.1",
"unbuild": "2.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/react",
"version": "5.0.0-next.5",
"version": "5.0.0",
"sideEffects": false,
"description": "React components for translations",
"main": "./dist/index.cjs",
Expand Down Expand Up @@ -77,7 +77,7 @@
"macro/index.js"
],
"peerDependencies": {
"@lingui/babel-plugin-lingui-macro": "5.0.0-next.5",
"@lingui/babel-plugin-lingui-macro": "5.0.0",
"babel-plugin-macros": "2 || 3",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
Expand All @@ -91,7 +91,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@lingui/core": "5.0.0-next.5"
"@lingui/core": "5.0.0"
},
"devDependencies": {
"@lingui/jest-mocks": "*",
Expand Down
6 changes: 3 additions & 3 deletions packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lingui/vite-plugin",
"version": "5.0.0-next.5",
"version": "5.0.0",
"description": "Vite plugin for Lingui message catalogs",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -39,8 +39,8 @@
"dist/"
],
"dependencies": {
"@lingui/cli": "5.0.0-next.5",
"@lingui/conf": "5.0.0-next.5"
"@lingui/cli": "5.0.0",
"@lingui/conf": "5.0.0"
},
"peerDependencies": {
"vite": "^3 || ^4 || ^5.0.9"
Expand Down
6 changes: 3 additions & 3 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ const config: Config = {
respectPrefersColorScheme: true,
},
announcementBar: {
id: "v5_release",
id: "v5_release-available",
content:
'The <b>v5.0.0</b> Pre-Release is here, <a target="_blank" rel="noopener noreferrer" href="https://github.com/lingui/js-lingui/releases?q=tag%3Av5&expanded=true">discover its new capabilities!</a>',
backgroundColor: "#f36c6c",
'Lingui <b>v5.0</b> is officially released! <a href="/blog/2024/11/28/announcing-lingui-5.0" target="_blank" rel="noopener noreferrer">Check it out!</a>',
backgroundColor: "#89cecf",
textColor: "#1a1a1a",
},
metadata: [
Expand Down
Loading

0 comments on commit d1e56b5

Please sign in to comment.