Releases: aralroca/next-translate
Releases · aralroca/next-translate
0.16.0
Here comes another release! 😊 I would especially thank @Faulik and @bickmaev5 for their contributions. 👏
There are new features in this release and some bugfixes.
We recommend changing redirectToDefaultLang
to defaultLangRedirect
. redirectToDefaultLang
it's deprecated and we will no longer support it in future major versions. To migrate from redirectToDefaultLang
to defaultLangRedirect
:
redirectToDefaultLang=true
-> Same asdefaultLangRedirect='lang-path'
redirectToDefaultLang=false
-> Same asdefaultLangRedirect=undefined
(default one)- New one ->
defaultLangRedirect='root'
-> /en/example redirects to /example
FEATURES
- Add options object for t function and returnObjects option (by @bickmaev5) #158
- Add redirect from
/en
to/
(by @Faulik) #149 - Change html lang attribute on change language (by @aralroca) #155
- Deprecate
redirectToDefaultLang
in favor ofdefaultLangRedirect
(by @aralroca) #162 - Expose
fixHref
to the API (by @aralroca) #160 - Support mdx (by @aralroca) #163
PATCHES
0.16.0-canary.8
CHANGES
- Add options object for t function and returnObjects option #158
0.16.0-canary.7
CHANGES
- Fix issue introduced on
0.16.0-canary.5
#172
0.16.0-canary.6
CHANGES
- Fix bug i18nMiddleware and appWithI18n (getting the language) #171
0.16.0-canary.5
CHANGES
- Support mdx #163
0.16.0-canary.4
0.16.0-canary.3
Changes
- Change html lang attribute on change language #155
0.16.0-canary.2
CHANGES
- Fix warning from next.js on CatchAll #151