v0.6.1
v0.6.1
Multi segment i18n routes
Now support localized path with multiple segments, meaning you can have segment_path_name = "some/path" for English, and segment_path_name = "un/chemin" for French and work as expected.
Scopes marker types
You can now define marker types to use as scopes:
type SubkeysScope = define_scope!(crate::i18n, namespace.subkeys);
let scoped_locale = Locale::en.scope::<SubkeysScope>();
let scoped_i18n = i18n.scope::<SubkeysScope>();Context unification
Introduce a new opt-in feature "unified_contexts" to unify contexts, if you work with multiple i18n module you may realise that they don't share the same I18nContext and you must provide them each with their own and can be hard to synchronize. By enabling this feature you noww merge all the context together and only need to provide one for everything.
What's Changed
- Update 01_configuration.md by @andreeco in #270
- Documentation Cleanup and Corrections by @andreeco in #271
- Support multi-segment i18n routes in leptos_i18n_router by @andreeco in #272
- Multi seg router by @Baptistemontan in #274
- chore: unify deps + upgrade leptos-use + introducing dependabot by @sabify in #276
- Bump actions/setup-node from 4 to 6 by @dependabot[bot] in #277
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #278
- Bump actions/upload-artifact from 4 to 6 by @dependabot[bot] in #279
- Bump the rust-dependencies group with 34 updates by @dependabot[bot] in #280
- Bump the rust-dependencies group with 18 updates by @dependabot[bot] in #281
- Bump the rust-dependencies group with 25 updates by @dependabot[bot] in #282
- Bump the rust-dependencies group with 26 updates by @dependabot[bot] in #284
- Const scopes by @Baptistemontan in #283
- feature for context unification across different
Localeby @Baptistemontan in #286
New Contributors
- @andreeco made their first contribution in #270
- @dependabot[bot] made their first contribution in #277
Full Changelog: v0.6.0...v0.6.1