Releases: ruby-i18n/i18n
v1.4.0
v1.3.0
- 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
- 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
v1.1.0
BREAKING CHANGE: Fallbacks
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
v1.0.1
v1.0.0
v0.9.5
v0.9.4
v0.9.3
(For those wondering where v0.9.2 went: I got busy after I pushed the commit for the release, so there was no gem release that day. I am not busy today, so here is v0.9.3 in its stead. This changelog contains changes from v0.9.1 -> v0.9.3)
- I18n no longer stores translations for unavailable locales. #391.
- Added the ability to interpolate with arrays #395.
- Documentation for lambda has been corrected. #396
- I18n will use oj -- a faster JSON library -- but only if it is available. #398
- Fixed an issue with
translate
anddefault: [false]
as an option. #399 - Fixed an issue with
translate
withnil
and empty keys. #400 - Fix issue with disabled subtrees and pluralization for KeyValue backend #402
Thank you to @stereobooster, @fatkodima and @lulalala for the patches that went towards this release. We appreciate your efforts!