github aralroca/next-translate 2.0.0

21 months ago

Release v2.0.0 🚀

We are pleased to announce the latest release of next-translate with several significant changes that improve the user experience and address known issues.

Improved support for Next.js 13 app directory

With this release, we have made it easier for users to use the app directory of Next.js 13 for both server/client pages and components. Refer to the README.md documentation for more information on this feature. If you're interested in the underlying functionality, we also recommend reading this article.

Also, you have an example here: https://github.com/aralroca/next-translate/tree/master/examples/with-app-directory

Replaced regex with parser in Webpack plugin

Previously, we were using regex in the Webpack plugin, which caused a significant number of issues. With the latest release, we have replaced the regex with a parser, which automatically resolves many of the previously open issues. We would like to extend a special thanks to @StLyn4 for their contributions to this effort.

Next-translate-plugin

To reduce the weight of the plugin, which now includes the parser, we have moved it to a separate package called next-translate-plugin. You can now install it as a devDependency, without impacting your pipeline. This move also ensures that we are ready to provide support for when Turbopack is no longer in alpha.

Migrating from v1.0 to v2.0 😊

If you are currently using next-translate v1.0 and want to upgrade to the latest version, please follow the migration steps described in this link. The migration process involves a few changes, including modifying the next.config.js file and updating your translations. Following these steps will ensure a smooth transition to the new version.

What's Changed

What's Changed on next-translate-plugin

New Contributors

Thank you for using next-translate! We hope that this release enhances your experience, and please feel free to report any issues you encounter.

Full Changelog: 1.6.0...2.0.0

Don't miss a new next-translate release

NewReleases is sending notifications on new releases.