Releases: nuxt-modules/i18n
Releases · nuxt-modules/i18n
v8.0.0-rc.5
🚀 Features
- Layer vue i18n config merging - by @BobbieGoede in #2358 (c4115)
- Locale message file cache configuration - by @BobbieGoede in #2357 (2eda7)
- Set locale domains via runtimeConfig - by @cjpearson in #2443 and #2446 (2fdcb)
🐞 Bug Fixes
- Inline options edge channel - by @BobbieGoede in #2361 (bdc29)
- Tweak timing for layer spec - by @kazupon (250dc)
- Layer VueI18n configuration should not deep copy primitives - by @BobbieGoede in #2376 (11d3c)
- Cannot resolve message for jit compilation - by @kazupon in #2387 (9a24c)
- Switch locale path query parameters - by @BobbieGoede in #2397 (595f9)
- Erratic redirection on different domains on server mode - by @luis11011 in #2404 (72328)
- Disable typescript check for generated
i18n.options.mjs
- by @BobbieGoede in #2402 (fbea0) - Transform resources failing when
autoImport
is disabled - by @BobbieGoede in #2426 (568c2) - Not loading
vueI18n
config from a nested path - by @BobbieGoede in #2460 (461ef) - Warn only when vueI18n property is set but not found - by @BobbieGoede in #2468 (31f06)
View changes on GitHub
v8.0.0-rc.4
🚀 Features
- Pickup from unplugin-vue-i18n plugin options to nuxt i18n options - by @kazupon in #2323 (fdf54)
- Support bundle size tunning with
dropMessageCompiler
option - by @kazupon in #2352 (417af) - Disable caching for dynamic locale messages - by @BobbieGoede in #2355 (3a621)
🐞 Bug Fixes
- Drop
vueI18n
option warning - by @kazupon in #2324 (d2223) - Redirect status code " - by @wxh06 in #1861 and #2337 (c276e)
- Regression for API extending - by @kazupon in #2340 (6c2a4)
- Loop redirection on 'ssr: false' and 'no_prefix' strategy - by @kazupon in #2341 (f8692)
- Normalise
sourcemap
option to boolean - by @danielroe in #2344 (cd9c3) - Lazy load locales - by @BobbieGoede in #2294 (3a522)
- I18n layer vue i18n resolution - by @BobbieGoede in #2347 (0ce01)
View changes on GitHub
v8.0.0-rc.3
🚀 Features
- Project relative layer locale resolution - by @BobbieGoede in #2290 (e33f1)
- Allow to set the plugin as parallel - by @huang-julien and @kazupon in #2297 (93e89)
🐞 Bug Fixes
- Inline options i18n module locale resolution - by @BobbieGoede in #2296 (d0e11)
- Cannot redirect when call
setLocale
- by @kazupon in #2307 (5fc06) - Query parameters passing when localePath - by @kazupon in #2310 (67ff1)
- Loop redirection on differentDomains - by @kazupon in #2318 (81f5d)
- Local scope on legacy API mode - by @kazupon in #2319 (10ec6)
- Add 'i18n.bundle.compositionOnly' and 'i18n.types' checking - by @kazupon in #2320 (28aef)
View changes on GitHub
v8.0.0-rc.2
🚀 Features
- Add is external logic from NuxtLink component - by @TitusKirch in #2273 (d8889)
🐞 Bug Fixes
- Not work to wait for page transition - by @kazupon in #2285 (03b02)
- Messages provided by layer vuei18n config files not merging - by @BobbieGoede in #2286 (f5443)
- module: Correct runtime nuxt hook module path - by @dargmuesli in #2282 (c1b00)
View changes on GitHub
v8.0.0-rc.1
🚀 Features
- Add NuxtLinkLocale component - by @BobbieGoede in #2229 (9dfb0)
- Support JIT compilation opt-outing - by @kazupon in #2250 (0411b)
🐞 Bug Fixes
- Integrate vue-i18n jit compilation - by @kazupon in #2199 (d20c6)
- Upgrade bundle-utils and unplugin-vue-i18n for fully esm using - by @kazupon in #2214 (8b873)
- Missing hash query param in load virtual conf - by @userquin in #2212 (6a110)
- Lazy load i18n files " - by @kazupon in #2193 and #2219 (8d65a)
- Make the message compiler work on the server side - by @kazupon in #2223 (d05ca)
- Routing on prefix_and_default strategy - by @kazupon in #2235 (2e108)
- Deps resolving for alias - by @kazupon in #2239 (eb55b)
- Cannot navigate on toppage - by @kazupon in #2240 (53161)
prefix_and_default
strategy routing - by @kazupon in #2249 (c6fff)- Query parameters removed when using useLocalePath - by @kazupon in #2251 (f5e7a)
detectBrowserLanguage.redirectOn
option - by @kazupon in #2252 (a503e)- Does not redirect when the site is reload again - by @kazupon in #2263 (55f2d)
- Resolve i18n.config paths in nuxt layers with unplugin simplefication - by @kazupon in #2265 (cfc0c)
detectBrowserLanguage
option - by @kazupon in #2276 (26f78)
View changes on GitHub
v8.0.0-beta.13
🚀 Features
- composables: Add options parameter - by @dargmuesli and @ineshbose in #2065 (b79c6)
🐞 Bug Fixes
- Put deprecation warning if hook in use - by @ineshbose in #2093 (a3146)
- Not work SPA (
ssr: false
) mode - by @kazupon in #2099 (3c5ed) - Avoid transform to
globalThis
with bundler - by @kazupon in #2120 (c8406) - Resolve the message in components which was rendered with slots - by @kazupon in #2130 (9f9fd)
- Tweak a bit docs - by @kazupon (18bba)
- Add defaultLocale property - by @kazupon in #2144 (5ed73)
- Corecctly transform the resources that including array messages, as array - by @kazupon in #2147 (88c96)
- Resolve i18n configuration for array module options - by @kazupon in #2148 (1b74b)
- Check if route is defined by i18n before redirect " - by @kazupon in #1902 and #2153 (9b541)
- Fix detect browser languages - by @kazupon in #2164 (7bc33)
- Order of locale merging when using lazy:false - by @mothership-nik-wolf (0beda)
- Revert playground configuration - by @BobbieGoede (b51cc)
- RegisterModule hook not working for js/ts format resources - by @BobbieGoede in #2188 (f80c3)
- Lazy load i18n files - by @userquin in #2193 (41c91)
- Lint warning - by @kazupon (20403)
- Integrate vue-i18n jit compilation - by @kazupon (493ea)
- Basic implementation - by @kazupon (ed975)
- Sourcemap warnings - by @kazupon (06e6d)
- Wrong tests - by @kazupon (96be8)
- alias: Do not use runtime version during nuxt prepare - by @yassilah in #2180 (7c206)
View changes on GitHub
v8.0.0-beta.12
🐞 Bug Fixes
- Typo - by @kazupon (e0d61)
- Type error - by @kazupon (e3e44)
- Generated options property typo - by @BobbieGoede in #1997 (a8d3e)
- Not enable precompile options - by @kazupon in #2002 (b896e)
- Format is not defined - by @BobbieGoede in #2003 (c4e32)
- Resolve incomplete vue-i18n configuration and js/ts extensions resources - by @kazupon in #2025 (a069f)
- 403 load error and sync loading - by @kazupon in #2048 (d1499)
View changes on GitHub
v8.0.0-beta.11
🚨 Breaking Changes
- Functions in the config to be used through hooks - by @ineshbose in #1919 (bd116)
- Prepare for deprecation of
i18n:extend-messages
hook - by @kazupon in #1969 (2c394) vueI18n
options from config path - by @kazupon and Inesh Bose in #1973 (f7925)
🚀 Features
- Set
baseUrl
viaruntimeConfig
- by @BobbieGoede in #1920 (caa69) - Support js and ts extension resource formats - by @kazupon, @pierresaid and @ineshbose in #1938 (c0b70)
- Support layer locales and pages - by @BobbieGoede in #1925 (f3667)
- Add basic module locale merging - by @BobbieGoede in #1955 (d898a)
- Genearte og:url - by @kazupon in #1986 (3783c)
🐞 Bug Fixes
- Typo in JSDocs - by @hoersamu in #1887 (8ff1a)
- AlwaysRedirect does not work with redirectOn 'all' and 'no prefix' - by @borghol and khaled.borghol in #1884 (afd9a)
- Check if route is defined by i18n before redirect - by @borghol and khaled.borghol in #1902 (18209)
- Detect langDir absolute path and refer to docs - by @BobbieGoede in #1921 (2960b)
- DefineI18nRoute not working outside setup sugar syntax pages - by @BobbieGoede in #1929 (da553)
- UseCookieLocale parameter defaults - by @BobbieGoede in #1932 (c59a9)
- Make the useCookieLocale
ref
import explicit - by @issenn in #1951 (47aea) - Locales not being included when srcDir has been changed - by @BobbieGoede in #1964 (7a0a5)
- Fix toggle locale warning - by @zenonux in #1980 (00810)
- docs: 4.API typo - by @yunyuyuan (8cb33)
View changes on GitHub
v8.0.0-beta.10
🐞 Bug Fixes
- NavigateTo handling - by @kazupon in #1842 (c439a)
- E2e errors on nuxt v3.1 - by @kazupon in #1841 (2e41d)
- Update docs - by @kazupon in #1835 (69505)
- Revert pnpm workspace - by @kazupon (891e6)
- Cannot resolve langDir path for locales file path - by @kazupon in #1846 (1266c)
- Loop redirection - by @kazupon in #1854 (225e0)
- Redirection loop on trailling slash - by @kazupon in #1858 (9b0eb)
- Redirect status code - by @kazupon in #1861 (23fe2)
- Cannot use some APIs on local scope - by @kazupon in #1871 (c12f6)
- Navigation breaks - by @kazupon in #1873 (50866)
View changes on GitHub
v8.0.0-beta.9
🐞 Bug Fixes
- Changelog - by @kazupon (e93cc)
- Merge resources correctly on multiple lazy loading - by @kazupon in #1809 (5bd81)
- Regression lazy loading for file option - by @kazupon in #1813 (041c1)
- Compare also decoded Url with a route - by @szwenni and Sven Kröger in #1816 (920a4)
- Correctly static site generation - by @kazupon in #1824 (f8657)