Skip to content

Releases: Baptistemontan/leptos_i18n

v0.5.5

13 Jan 16:31
Compare
Choose a tag to compare

Renamed the newly added translations-uri option to translation-path as a better suited name, yanked v0.5.4 due to the breaking change.

Full Changelog: v0.5.4...v0.5.5

v0.5.4

12 Jan 17:41
Compare
Choose a tag to compare

v0.5.4

This update brings dynamic loading of translations to CSR!
This feature was previously only available to SSR, it is now also usable for CSR apps with a few extra steps, you can learn more about it in the book

Full Changelog: v0.5.3...v0.5.4

v0.5.3

30 Dec 22:10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.2...v0.5.3

v0.5.2

22 Dec 02:22
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2

v0.5.1

16 Dec 16:49
Compare
Choose a tag to compare

Fixed a compilation errors with the dynamic_load feature

Full Changelog: v0.5.0...v0.5.1

V0.5.0

16 Dec 16:24
Compare
Choose a tag to compare

v0.5.0

This release update the crate to Leptos v0.7, and also comes with new features:

Binary size improvement

This release brings two major features axed toward reducing binary sizes: lazy loading of translations and custom providers for ICU4X. You can find more informations about those two in the new Reduce binary size section of the book.

JSON 5

Now support JSON5 files format with the "json5_files" feature.

Header options

Now take options to pass down to leptos-use for header setter/getter.

Options builder

Options are now a builder instead of taking params one by one. This is done to later add more options without introducing breaking changes.

Routing crate split

The I18nRoute is now not generated with the load_locales! macro but lives in it's own crate: leptos_i18n_router.

Allow constant access

You can now access non-interpolated values at constant time if you can also compute the locale at const time. see book

Others:

  • t_plural!, see book
  • The addition of the direction method to Locale, which gives you the script direction of the variant.
  • The html "dir" attribute is being set alongside the "lang" attribute, thanks @sabify

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.5.0-rc1

09 Nov 01:18
Compare
Choose a tag to compare
v0.5.0-rc1 Pre-release
Pre-release

v0.5.0-rc1

Other than the update to Leptos v0.7.0-rc1, this release is mostly bug fixes and internal refactors.

The new things are:

  • t_plural!, see book
  • The addition of the direction method to Locale, which gives you the script direction of the variant.
  • The html "dir" attribute is being set alongside the "lang" attribute, thanks @sabify

What's Changed

New Contributors

Full Changelog: v0.5.0-gamma2...v0.5.0-rc1

v0.4.2

28 Oct 18:09
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.5.0-gamma2

24 Oct 18:53
Compare
Choose a tag to compare
v0.5.0-gamma2 Pre-release
Pre-release

v0.5.0-gamma2

This new pre-release updates to leptos v0.5.0-rc0 and brings utilities for icu datagen with the new leptos_i18n_build crate. See the datagen section of the book.

What's Changed

Full Changelog: v0.5.0-gamma...v0.5.0-gamma2

v0.5.0-gamma

13 Oct 23:23
Compare
Choose a tag to compare
v0.5.0-gamma Pre-release
Pre-release

Binary size improvement

This release brings two major features axed toward reducing binary sizes: lazy loading of translations and custom providers for ICU4X. You can find more informations about those two in the new Reduce binary size section of the book.

JSON 5

Now support JSON5 files format with the "json5_files" feature.

Header options

Now take options to pass down to leptos-use for header setter/getter.

Options builder

Options are now a builder instead of taking params one by one. This is done to later add more options without introducing breaking changes

Leptos -gamma2 release

This release works with the new -gamma2 release from Leptos

What's Changed

Full Changelog: v0.5.0-beta...v0.5.0-gamma