Skip to content

Releases: Baptistemontan/leptos_i18n

v0.2.0-beta5

21 Sep 16:18
Compare
Choose a tag to compare
v0.2.0-beta5 Pre-release
Pre-release

What's Changed

  • fix(context): get_keys_untracked() is no longer tracked by @brofrain in #50
  • feat: New td! macro to directly use a locale by @Baptistemontan in #51
  • Updated to Leptos v0.5.0-rc2

New Contributors

Full Changelog: v0.2.0-beta4...v0.2.0-beta5

v0.2.0-beta4

12 Sep 14:57
Compare
Choose a tag to compare
v0.2.0-beta4 Pre-release
Pre-release

What's Changed

  • Support for litterals number in plurals json by @Baptistemontan in #43
  • Generate warnings on missing keys instead of hard error by @Baptistemontan in #48
  • Moved to Leptos v0.5.0-rc1

Full Changelog: v0.2.0-beta3...v0.2.0-beta4

v0.2.0-beta3

07 Sep 12:04
Compare
Choose a tag to compare
v0.2.0-beta3 Pre-release
Pre-release

What's Changed

Full Changelog: v0.2.0-beta2...v0.2.0-beta3

v0.2.0-beta2

05 Sep 17:29
Compare
Choose a tag to compare
v0.2.0-beta2 Pre-release
Pre-release

Fixed the broken use_i18n_context function.

v0.2.0-beta is broken, I therefore yanked it in crates.io, if you use it please update.

Full Changelog: v0.2.0-beta...v0.2.0-beta2

v0.2.0-beta

04 Sep 12:46
067690b
Compare
Choose a tag to compare
v0.2.0-beta Pre-release
Pre-release

Broken, do not use.

What's Changed

  • Move from i18n.json to Cargo.toml metadata by @Baptistemontan in #29
    The configuration file i18n.json is not used anymore, configuration is now in the Cargo.toml under [package.metadata.leptos-i18n]
  • Plurals as sequence instead of map by @Baptistemontan in #33
  • Expand locales in mod by @Baptistemontan in #34
  • Use Leptos v0.5.0-beta2

Full Changelog: v0.1.3...v0.2.0-beta

v0.1.3

04 Sep 11:45
Compare
Choose a tag to compare

What's Changed

  • Better errors when missing/duplicate interpolation keys by @Baptistemontan in #32
    Those can be enabled with the debug_interpolations feature.
  • Various bugfixes and improvement

Full Changelog: v0.1.2...v0.1.3

v0.1.2

30 Aug 20:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.1.2

v0.1.1

26 Aug 03:03
Compare
Choose a tag to compare

Fixed a bug in the load_locales! macro that outputed invalid code when one locale had a key with plain text and another locale had interpolation with the same key

Full Changelog: v0.1.0...v0.1.1

v0.1.0

25 Aug 21:46
Compare
Choose a tag to compare

Initial release

I'm currently happy on the state of the crate so I'm publishing it on crates.io, you can now use

leptos_i18n = "0.1"

instead of using the git url.

Leptos is working on v0.5.x and it should be coming pretty soon, v0.2.0 will come with it.