Releases: Baptistemontan/leptos_i18n
v0.2.0-beta5
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
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
What's Changed
- Support for subkeys by @Baptistemontan in #41
Full Changelog: v0.2.0-beta2...v0.2.0-beta3
v0.2.0-beta2
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
Broken, do not use.
What's Changed
- Move from
i18n.json
toCargo.toml
metadata by @Baptistemontan in #29
The configuration filei18n.json
is not used anymore, configuration is now in theCargo.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
What's Changed
- Better errors when missing/duplicate interpolation keys by @Baptistemontan in #32
Those can be enabled with thedebug_interpolations
feature. - Various bugfixes and improvement
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
- Feat: support for specific type in plurals by @Baptistemontan in #23
- Feat: added support for OR (
|
) in plurals by @Baptistemontan in #24 - Fix: replace
-
by_
for keys indent by @Baptistemontan in #27
Full Changelog: v0.1.1...v0.1.2
v0.1.1
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
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.