Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Releases: nashiradeer/hydrogen-i18n

[2.2.0] - 2024-06-10

10 Jun 23:57
ba587e4
Compare
Choose a tag to compare

Added

  • Create I18nBuilder struct.
  • Create TokioI18nBuilder struct.
  • Create Error::InvalidFileName variant.
  • Create parsers module to wrap serde_json and simd_json.

Changed

  • Deprecate I18n::from_*, use I18nBuilder instead.
  • Deprecate I18n::new*, use I18nBuilder instead.
  • Deprecate I18n::set_default, use I18nBuilder instead.
  • Deprecate I18n::cleanup_links, use I18nBuilder instead.
  • Deprecate I18n Tokio-based functions, use TokioI18nBuilder instead.
  • Deprecate private deduplicate_language, not necessary anymore.

[2.1.0] - 2024-05-11

12 May 02:34
998b103
Compare
Choose a tag to compare

Added

  • Create a function to deduplicate all languages. (#11)

Fixed

  • Document the simd feature. (#12)

[2.0.0] - 2024-01-17

17 Jan 15:20
Compare
Choose a tag to compare

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.