Skip to content

docs: v6 release blog post + docs enhancement#2427

Draft
andrii-bodnar wants to merge 15 commits intonextfrom
docs/v6-blog-post
Draft

docs: v6 release blog post + docs enhancement#2427
andrii-bodnar wants to merge 15 commits intonextfrom
docs/v6-blog-post

Conversation

@andrii-bodnar
Copy link
Contributor

@andrii-bodnar andrii-bodnar commented Jan 29, 2026

Description

This PR includes the V6 release blog post and some additions to the documentation referenced in it:

  • New "i18n with AI" article
  • The ph macros description

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Examples update

Checklist

  • I have read the CONTRIBUTING and CODE_OF_CONDUCT docs
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)

@vercel
Copy link

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
js-lingui Ready Ready Preview Mar 16, 2026 9:37am

Request Review

@github-actions
Copy link

github-actions bot commented Jan 29, 2026

size-limit report 📦

Path Size
packages/core/dist/index.mjs 1.69 KB (0%)
packages/detect-locale/dist/index.mjs 618 B (0%)
packages/react/dist/index.mjs 1.22 KB (0%)

@andrii-bodnar andrii-bodnar marked this pull request as draft January 29, 2026 18:45
@timofei-iatsenko
Copy link
Collaborator

I would also like to advertise that we decreased installation size of the package. I don't how much now yet, (at least -20mb because of date-fns) but i'm expecting much more. Would be nice to publish next package so i can then check it on https://node-modules.dev/

@andrii-bodnar
Copy link
Contributor Author

@timofei-iatsenko I've just checked the @lingui/core using node-modules.dev and pkg-size.dev and it appears to bring in a lot of Babel-related dependencies (in v6), since now it depends on @lingui/babel-plugin-lingui-macro

@timofei-iatsenko
Copy link
Collaborator

@timofei-iatsenko I've just checked the @lingui/core using node-modules.dev and pkg-size.dev and it appears to bring in a lot of Babel-related dependencies (in v6), since now it depends on @lingui/babel-plugin-lingui-macro

Unfortunately, i believe we can deprecate and drop support of the [babel-plugin-macros](https://github.com/kentcdodds/babel-plugin-macros) in the near future since it was used primarily for CRA in favor of the dedicated babel/swc plugins.

This will drop a need of the @lingui/babel-plugin-lingui-macro as a dependency in the @lingui/core / @lingui/react

But anyway, this should not affect installation size of the Lingui, because @lingui/babel-plugin-lingui-macro already included in the @lingui/cli.

@andrii-bodnar
Copy link
Contributor Author

@timofei-iatsenko okay, thanks. Regarding decreased installation size of the package - which package would you recommend to focus on in the blog post?

@timofei-iatsenko
Copy link
Collaborator

All 3 of them, @lingui/cli @lingui/core @lingui/react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants