Skip to content

Latest commit

 

History

History
77 lines (44 loc) · 2.55 KB

CHANGELOG.md

File metadata and controls

77 lines (44 loc) · 2.55 KB

astro-nanointl

1.0.0

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

  • fd66630: Updated args transformer with @nanostores/i18n dependencies removed
  • 1a07cb4: Added Content Collection custom translations schema. See Using third-party collection schemas for more.
  • ca26e87: Updated count transformer with @nanostores/i18n dependencies removed
  • 1187648: Updated params transformer with @nanostores/i18n dependencies removed

0.0.7

Patch Changes

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

0.0.6

Patch Changes

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

0.0.5

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

0.0.4

Patch Changes

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

0.0.3

Patch Changes

0.0.2

Patch Changes

  • 7a6927b: Re-exported @nanostores/i18n transform and strings helper functions to easily create own transformers