Skip to content

Releases: ruby-i18n/i18n

v1.8.4

20 Jul 00:32
Compare
Choose a tag to compare
  • Fixed issue where fallbacks were not working when I18n.fallbacks was an array - #534
  • Fixed conditional around deprecating constant of INTERPOLATION_PATTERN - #531

v1.8.3

05 Jun 00:24
Compare
Choose a tag to compare

Compare view: v1.8.2...v1.8.3

Features / Improvements

  • Memory and speed improvements - #527+ #528
  • Add option to disable fallbacks for I18n.exists? check - #482
  • Add an on_fallback hook to allow users to be notified when a fallback happens - #520

Bug Fixes

  • Fix an issue with deep_merge and chain fallback backends - #499 & #509
  • Fix an issue with Rails ordinal number proc and keyword splatting - #521
  • Pass options as keyword arguments to translation procs - #529
  • Fix pluralize on unknown locale with attributes - #519

v1.8.2

13 Jan 21:23
Compare
Choose a tag to compare
  • Restoration of #499 via #509 - deep_merge! & deep_merge methods appear again in the Hash refinement.
  • An issue was introduced in v1.7.0 where some translations were returned as hashes, see #510. This was fixed in 1b5e345, and is available in this release.

v1.7.0

13 Jan 21:15
aef8596
Compare
Choose a tag to compare
  • Added ability to interpolate values that have a pipe - #491
  • Splat keyword arguments to prevent warnings in Ruby 2.7 - #486
  • Reduce object allocations for I18n#default - #488
  • I18n is disabled during bootup if locale is false - #475
  • I18n::Backend::Chain#translations now merges translations from all backends - #470

v1.8.1

13 Jan 21:21
Compare
Choose a tag to compare
  • Reverted #499 in #508 due to #507 - missing deep_merge method.

v1.8.0

13 Jan 21:19
Compare
Choose a tag to compare
  • Use Rails' implementation of deep_merge when chaining fallback backends - #499.

v1.7.1

13 Jan 21:16
Compare
Choose a tag to compare
  • I18n is now tested with GitHub Actions, instead of Travis CI.

  • Fixed issue introduced in v1.7.0 (04a814b) where count option was not preserved - #503

  • #501 adds a comment that explains that you will need to double-splat keyword arguments given to I18n.t to avoid warnings in Ruby 2.7.

v1.6.0

03 Mar 21:11
Compare
Choose a tag to compare

Major updates

  • Added support for eagerloading I18n -- which probably improves boot times for applications if implemented correctly - See #469 for more details.
  • Added ability to disable I18n translation resolution by setting I18n.locale = false. See #471 for more information.

Bugfixes / other improvements

  • Add support for uppercased date format directives - #468

Other changes

  • Fixed flaky test issue with JRuby - #459 / #460
  • gemspec homepage now points to ruby-i18n/i18n - #465
  • Update README to point to ruby-i18n/i18n - #473

v1.5.3

21 Jan 21:44
Compare
Choose a tag to compare

Fix issue where localize would return strange messages if the translation was missing - #464

v1.5.2

14 Jan 04:29
Compare
Choose a tag to compare
  • Fixed a bug where the required_ruby_version was not set correctly in the gemspec - #462