Skip to content

Releases: e3stpavel/astro-nanointl

v1.0.0

11 Apr 14:45
a55d4c6
Compare
Choose a tag to compare

Major Changes

  • 89bbcb7: Added new useTranslations function

    There is no backward compatibility because function API is changed. Refer to docs to learn more.

  • 3a570d3: Removed some overhead and updated to Astro v4.0.0

    There is no backward compatibility because of new built-in Astro i18n API.

    Deprecated features:

    • Custom integration
    • Literal types for locales
    • Strict translations loading from file system
    • Access to default locale
    • Custom middleware
    • l function
    • Integration with nanostores and @nanostores/i18n

Patch Changes

v0.0.7

17 Sep 14:44
db455c4
Compare
Choose a tag to compare

Patch Changes

  • e439b6f: Fixed unmet peer dependency for Astro ^v3.0.0

v0.0.6

11 Jul 15:00
7d0389f
Compare
Choose a tag to compare

Patch Changes

  • 9bb2395: 🐛 Fixed Could not resolve "virtual:nanointl" in extractLocale middleware

v0.0.5

07 Jul 12:22
473fc0a
Compare
Choose a tag to compare

Patch Changes

  • 9d594d0: ✨ Added aliases for useLocale and useLocales composables.

    Now you can call createTranslation or useTranslation instead of useLocale as well as call useTranslations instead of useLocales. This might be useful for you to write more comprehensive and self-documenting code.

  • 1979955: ✨ Added YAML support.

    Now you can load not only .json translation files, but also .yaml and .yml.

  • ab65f5e: 📦 Rearranged dependencies

v0.0.4

06 Jul 15:09
90b9528
Compare
Choose a tag to compare

Patch Changes

  • b33fb0e: Fixed (intermediate value).glob is not a function issue

v0.0.3

06 Jul 08:12
77a3fa6
Compare
Choose a tag to compare

Patch Changes

v0.0.2

04 Jul 14:20
547e540
Compare
Choose a tag to compare

Patch Changes