Skip to content

Tags: yassinedoghri/astro-i18next

Tags

v1.0.0-beta.21

Toggle v1.0.0-beta.21's commit message
chore(release): 1.0.0-beta.21 [skip ci]

# [1.0.0-beta.21](v1.0.0-beta.20...v1.0.0-beta.21) (2023-03-09)

### Bug Fixes

* resolve astroFileFullPath to extract relative astroFilePath on Windows ([c23cd27](c23cd27)), closes [#135](#135)

v1.0.0-beta.20

Toggle v1.0.0-beta.20's commit message
chore(release): 1.0.0-beta.20 [skip ci]

# [1.0.0-beta.20](v1.0.0-beta.19...v1.0.0-beta.20) (2023-03-09)

### Bug Fixes

* add missing `script` to regex in resolveRelativePathsLevel ([9288efe](9288efe)), closes [#129](#129)
* get astro pages' full paths using fdir's withFullPaths instead of withRelativePaths ([92a5178](92a5178)), closes [#135](#135)

### Features

* make base path for i18next resources configurable ([4e4b057](4e4b057))

v1.0.0-beta.19

Toggle v1.0.0-beta.19's commit message
chore(release): 1.0.0-beta.19 [skip ci]

# [1.0.0-beta.19](v1.0.0-beta.18...v1.0.0-beta.19) (2023-03-05)

### Bug Fixes

* add levels to relative path in script tag ([1203d42](1203d42)), closes [#129](#129)
* use unjs/pathe to resolve generated localized files paths across OS ([da80a8d](da80a8d)), closes [#135](#135)

### Reverts

* **i18next-peer:** reset i18next as package dependency ([7906e19](7906e19)), closes [#131](#131)

v1.0.0-beta.18

Toggle v1.0.0-beta.18's commit message
chore(release): 1.0.0-beta.18 [skip ci]

# [1.0.0-beta.18](v1.0.0-beta.17...v1.0.0-beta.18) (2023-02-26)

### Bug Fixes

* handle localizePath trailing slash depending on astro's trailingSlash config ([880666c](880666c)), closes [#119](#119)

### Features

* **language-selector:** add languageMapping prop to rename languages of choice ([20d94e4](20d94e4)), closes [#116](#116)

v1.0.0-beta.17

Toggle v1.0.0-beta.17's commit message
chore(release): 1.0.0-beta.17 [skip ci]

# [1.0.0-beta.17](v1.0.0-beta.16...v1.0.0-beta.17) (2023-01-24)

### Features

* Allow astro versions greater than 1.0.0 as peer dependency. ([0205d41](0205d41))

v1.0.0-beta.16

Toggle v1.0.0-beta.16's commit message
chore(release): 1.0.0-beta.16 [skip ci]

# [1.0.0-beta.16](v1.0.0-beta.15...v1.0.0-beta.16) (2023-01-22)

### Bug Fixes

* use unjs/pathe to resolve cross OS public path ([ad1d24f](ad1d24f)), closes [#105](#105)

v1.0.0-beta.15

Toggle v1.0.0-beta.15's commit message
chore(release): 1.0.0-beta.15 [skip ci]

# [1.0.0-beta.15](v1.0.0-beta.14...v1.0.0-beta.15) (2023-01-08)

### Bug Fixes

* add levels to Astro.global pattern and scripts' import statements ([9d88d79](9d88d79))
* remove trailing slash from localized path ([1998309](1998309)), closes [#77](#77)
* use fileURLToPath to normalize publicDir pathname accross operating systems ([3c07d6a](3c07d6a)), closes [#79](#79)

v1.0.0-beta.14

Toggle v1.0.0-beta.14's commit message
chore(release): 1.0.0-beta.14 [skip ci]

# [1.0.0-beta.14](v1.0.0-beta.13...v1.0.0-beta.14) (2022-11-27)

### Bug Fixes

* expect locales folder to be in astro's publicDir config by default ([ec72ff3](ec72ff3)), closes [#64](#64)
* import localizeUrl in HeadHrefLangs from index for access to astro-i18next runtime config ([5e3b96c](5e3b96c)), closes [#65](#65)
* **trans component:** import utility functions from index ([eea0d5d](eea0d5d))

### Features

* **plugins:** set i18next plugins config for both server and client side setups ([5ddb1c7](5ddb1c7)), closes [#68](#68)

v1.0.0-beta.13

Toggle v1.0.0-beta.13's commit message
chore(release): 1.0.0-beta.13 [skip ci]

# [1.0.0-beta.13](v1.0.0-beta.12...v1.0.0-beta.13) (2022-11-06)

### Bug Fixes

* add isFileHidden function + tests to prevent missing hidden files ([7dcd0aa](7dcd0aa))
* **generate:** replace isLocale check with user defined locales to prevent nested folders generation ([a598e2e](a598e2e)), closes [#56](#56)
* **i18next-server:** load locale files synchronously ([e7892e2](e7892e2))
* update types import to relative ([#58](#58)) ([44a5422](44a5422))

### Features

* add option to show the default locale in the url ([#51](#51)) ([ea939db](ea939db)), closes [#54](#54)
* add support for route translations ([db5200b](db5200b)), closes [#50](#50) [#29](#29)
* allow implicit key for <Trans> when omitting i18nKey prop ([ff14354](ff14354)), closes [#53](#53)
* simplified API + instanciate i18next both in server and client side ([ed44510](ed44510)), closes [#57](#57) [#46](#46) [#37](#37)

### BREAKING CHANGES

* - defaultLanguage is now defaultLocale
- supportedLanguages is now locales
- i18next config is now split into two configs: `i18nextServer`
and `i18nextClient`

v1.0.0-beta.12

Toggle v1.0.0-beta.12's commit message
chore(release): 1.0.0-beta.12 [skip ci]

# [1.0.0-beta.12](v1.0.0-beta.11...v1.0.0-beta.12) (2022-09-25)

### Bug Fixes

* **cli:** filter out any file other than .astro files for generate ([c34fa07](c34fa07))