Skip to content

Releases: ruby-i18n/i18n

v1.5.2

14 Jan 04:29

Choose a tag to compare

  • Fixed a bug where the required_ruby_version was not set correctly in the gemspec - #462

v1.5.1

06 Jan 22:52

Choose a tag to compare

(Note that there is no v1.5.0 release. was prepping this release and found some more changes to make. So v1.5.1 is the first release for the v1.5.x series)

  • Fixed a regression that happened when numeric translation keys contained leading zeros: #456 / #457
  • Removed support for Ruby versions older than 2.3. Ruby 2.2 is now 4 years old. Applications have had ample time to upgrade, and if they haven't done so, now is an opportune time to do so.
  • Removed some code that was checking for RUBY_VERSION <= 1.9
  • Began testing over Ruby 2.6.

v1.4.0

01 Jan 21:33

Choose a tag to compare

  • Fixed two issues with i18n and JRuby compat (commit fb0c8be and #455). See #447.
  • Fixed issue where keys in an array were not symbolised #450
  • Fixed issue where ActiveSupport::HashWithIndifferentAccess was not handled correctly #454

v1.3.0

01 Jan 21:23

Choose a tag to compare

  • Updated post-install message to be more explicit about what versions things changed in - #446
  • Fixed a regression in backends where keys were incorrectly typecast - #443, #444, #445, etc.

Please note that as of this release, only 5.x and greater versions of Rails are supported (it might help to think of it as ~> 5.0, sorta.)

v1.2.0

11 Dec 00:24

Choose a tag to compare

  • Provide a uniform API between Simple, KeyValue and Chain backends - #109 (one of our oldest PRs, and I am pleased that @kidpollo has persisted for all this time!)
  • Support translation hashes with numeric keys in Simple backend - #422
  • Add CacheFile backend module - #423
  • Add JSON backend module - #429
  • Updated README to point to the wiki - #438
  • Added plural rules for oc locale - #440
  • Removed tests from the bundled gem (leading to smaller download sizes) - #441
  • Added a post-install message about fallback breaking change introduced in v1.1.0 - #442

v1.1.1

14 Oct 09:25

Choose a tag to compare

  • Expose translations with an option to perform initialization (if it hasn't been done already) (#353 / #254)
  • Removed un-used Kernel core extension #436
  • Added project metadata for RubyGems #434

v1.1.0

07 Aug 22:19

Choose a tag to compare

BREAKING CHANGE: Fallbacks

  • Fallbacks now exclude default locale - #415, possibly fixes #413 + #338

Please check your Rails app for this line:

config.i18n.fallbacks = true

This setting is now incorrect as of this version of I18n. It should instead be:

config.i18n.fallbacks = [I18n.default_locale]

If not, fallbacks will be broken in your app by I18n 1.1.x.

Ensure that you are using config.i18n.fallbacks = [I18n.default_locale] if you intend on fallbacks behaving correctly in I18n.

Other fixes

  • Simplified default exception handler - #414
  • Fixed deprecated use of assert_nothing_raised #417
  • Fixed pluralization behavior for KeyValue backend with subtrees disabled - #419
  • Allow yaml file extension - #421

v1.0.1

18 Apr 04:59

Choose a tag to compare

  • Removed creation of some anonymous objects in I18n - #393
  • Added missing key exception_handler to reserved keys - #412

Thanks to @stereobooster and @tjoyal.

v1.0.0

14 Apr 03:20

Choose a tag to compare

  • Dropped Ruby 1.9.3 support (see #409)

v0.9.5

13 Feb 22:10

Choose a tag to compare

  • #404 reported a regression in 0.9.3, which wasn't fixed by 0.9.4. #408 fixes this issue.

Thanks @wjordan!