Releases: aralroca/next-translate
2.4.0-canary.1
What's Changed
Full Changelog: 2.3.1...2.4.0-canary.1
2.3.1
What's Changed
- Change peer dependency for React by @EricImpact in #1074
New Contributors
- @EricImpact made their first contribution in #1074
Full Changelog: 2.3.0...2.3.1
2.3.0
Summer release 2.3 ☀️
Where are versions 2.1 and 2.2? Why did we go from 2.0.6 to 2.3? Well, this release we have focused on fixing compatibility bugs with Next.js 13.3, when writing the version it was a mistake to think so much about 3, but now it stays with 2.3! 😸
In this new release:
- You can use the pages directory together with the app directory to facilitate migration.
- We have fixed other issues with Next.js > 13.3 that we could fix on our end.
- You no longer need to use
experimental.appDir
withinnext.config.js
.
Breaking change from Next.js >= 13.3
The middleware of the appDir that we had in the example and recommended in the documentation stopped working.
As a solution, we have added support for it to be done using the dynamic route /[lang]
. The example and README.md have been updated so that you can see how to make it work. We have not stopped supporting the old way, and it is assumed that it will work again when this issue in Next.js is fixed:
If you are affected by this Next.js issue, you can write there or contribute to the solution. In any case, you can use now the dynamic route /[lang]
and, without needing the middleware, you can use the redirect within the RSC (see example).
What's Changed in Next-translate
- add hoc to fix client components in next-translate-plugin by @aralroca in #1061
- add tests about flat keys when keySeparator=false by @aralroca in #1065
- update appdir example and upgrade dependencies by @aralroca in #1070
- improve appDir example by @aralroca in #1071
What's Changed in Next-translate-plugin
- use appDir with pagesDir together + remove expermiental.appDir by @aralroca in aralroca/next-translate-plugin#25
- fix error in Next.js 13.4.x by @aralroca in aralroca/next-translate-plugin#26
- fix client components by @aralroca in aralroca/next-translate-plugin#27
- add tests and some improvements by @aralroca in aralroca/next-translate-plugin#29
- improve loadLocaleFrom detection to allow to change it with hotreloading by @aralroca in aralroca/next-translate-plugin#32
- avoid parsing client components inside node_modules by @aralroca in aralroca/next-translate-plugin#34
- support /[lang] dynamic route by @aralroca in aralroca/next-translate-plugin#36
- fix monorepo with appdir by @aralroca in aralroca/next-translate-plugin#37
Full Next-translate Changelog: 2.0.6...2.3.0
Full Changelog Next-translate-plugin: aralroca/next-translate-plugin@2.0.5...2.3.0
2.3.0-canary.3
What's Changed
Full Changelog: 2.0.6...2.3.0-canary.3
2.0.6
What's Changed
- Allow missing translation in Trans component with components by @aovens-quantifi in #1024
- fix: support spaces when matching tags by @MonstraG in #1055
New Contributors
- @aovens-quantifi made their first contribution in #1024
- @MonstraG made their first contribution in #1055
Full Changelog: 2.0.5...2.0.6
2.0.5
What's Changed
- Allow for falsey default values by @SimplyComplexable in #1021
What's Changed in next-translate-plugin
- Improve app dir detection aralroca/next-translate-plugin@7451605
Full Changelog: 2.0.4...2.0.5
2.0.4
What's Changed
- Removes explicit type restriction on Translate generic by @SimplyComplexable in #1013
Full Changelog: 2.0.3...2.0.4
2.0.3
What's Changed
- Query data doesn't update when I use
returnObjects
by @alziqziq in #953 - Fix/app directory example by @marcelotk15 in #996
- Update default option in
Translate
type. by @SimplyComplexable in #931
What's Changed in Next-translate-plugin
- Support Next.js 13 app-dir with pagesInDir config option by @awinogrodzki in aralroca/next-translate-plugin#12
New Contributors
- @alziqziq made their first contribution in #953
- @marcelotk15 made their first contribution in #996
- @SimplyComplexable made their first contribution in #931
Full Changelog: 2.0.2...2.0.3
2.0.2
2.0.1
What's Changed
- Correct typos in README by @felixonmars in #897
- Improve Next 13 app directory docs by @aralroca in #986
What's Changed in Next-translate-plugin
- Fix path for monorepos by @jporsay in aralroca/next-translate-plugin#2
- Add postinstall message by @aralroca in aralroca/next-translate-plugin#3
New Contributors
- @felixonmars made their first contribution in #897
Full Changelog: 2.0.0...2.0.1