Releases: yassinedoghri/astro-i18next
Releases · yassinedoghri/astro-i18next
v1.0.0-beta.21
1.0.0-beta.21 (2023-03-09)
Bug Fixes
v1.0.0-beta.20
v1.0.0-beta.19
v1.0.0-beta.18
1.0.0-beta.18 (2023-02-26)
Bug Fixes
Features
BREAKING CHANGE
i18next
is now a peer dependency, add it to your dependencies:
npm install i18next
or
pnpm add i18next
or
yarn add i18next
v1.0.0-beta.17
1.0.0-beta.17 (2023-01-24)
Features
- Allow astro versions greater than 1.0.0 as peer dependency. (0205d41)
v1.0.0-beta.16
1.0.0-beta.16 (2023-01-22)
Bug Fixes
v1.0.0-beta.15
v1.0.0-beta.14
1.0.0-beta.14 (2022-11-27)
Bug Fixes
- expect locales folder to be in astro's publicDir config by default (ec72ff3), closes #64
- import localizeUrl in HeadHrefLangs from index for access to astro-i18next runtime config (5e3b96c), closes #65
- trans component: import utility functions from index (eea0d5d)
Features
v1.0.0-beta.13
1.0.0-beta.13 (2022-11-06)
Bug Fixes
- add isFileHidden function + tests to prevent missing hidden files (7dcd0aa)
- generate: replace isLocale check with user defined locales to prevent nested folders generation (a598e2e), closes #56
- i18next-server: load locale files synchronously (e7892e2)
- update types import to relative (#58) (44a5422)
Features
- add option to show the default locale in the url (#51) (ea939db), closes #54
- add support for route translations (db5200b), closes #50 #29
- allow implicit key for when omitting i18nKey prop (ff14354), closes #53
- simplified API + instanciate i18next both in server and client side (ed44510), closes #57 #46 #37
BREAKING CHANGES
defaultLanguage
is nowdefaultLocale
supportedLanguages
is nowlocales
- i18next config is now split into two configs:
i18nextServer
andi18nextClient
v1.0.0-beta.12
1.0.0-beta.12 (2022-09-25)
Bug Fixes
- cli: filter out any file other than .astro files for generate (c34fa07)