This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
Releases: nashiradeer/hydrogen-i18n
Releases · nashiradeer/hydrogen-i18n
[2.2.0] - 2024-06-10
Added
- Create
I18nBuilder
struct. - Create
TokioI18nBuilder
struct. - Create
Error::InvalidFileName
variant. - Create
parsers
module to wrapserde_json
andsimd_json
.
Changed
- Deprecate
I18n::from_*
, useI18nBuilder
instead. - Deprecate
I18n::new*
, useI18nBuilder
instead. - Deprecate
I18n::set_default
, useI18nBuilder
instead. - Deprecate
I18n::cleanup_links
, useI18nBuilder
instead. - Deprecate
I18n
Tokio-based functions, useTokioI18nBuilder
instead. - Deprecate private
deduplicate_language
, not necessary anymore.
[2.1.0] - 2024-05-11
[2.0.0] - 2024-01-17
Added
- Add support
simd-json
crate. - Add support
tokio
-based async functions. - Create a way to link languages.
- Create deduplicate function.
- Create internal parsers.
- Create 'translation_option' function.
Changed
- Refactor file loader.
- Refactor directory loader.
- Refactor getters (translate and translate_default).
- Refactor 'serenity' support.
- Rename 'HydrogenI18n' to 'I18n', refactoring it.
- Set 'doc_cfg' feature when in docsrs.
- Set 'missing_docs' attribute as warn.
- Update 'serenity' to 0.12.0.
Removed
- Support for non-std environments.