Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Bump i18n from 0.7.0 to 0.8.0 #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 17, 2022

Bumps i18n from 0.7.0 to 0.8.0.

Release notes

Sourced from i18n's releases.

v0.8.0

This release is the same as the v0.8.0.beta1 gem.

Notable changes

  • You can now set I18n.cache_key_digest to determine how cache keys are calculated. If you were seeing issues where the same value stored in a cache produced a different key, then this fix will interest you. For more information, see #285.
  • You can now override translate_format in I18n::Backend classes to customize how localize will perform. See svenfuchs/i18n#347 for more details.
  • You can now interpolate the value of a key inside another key. See #300 for more information.
  • The exists? method was added to the fallback backend, to match other backend implementations - #326
  • Added N_ to GetText::Helpers - #121
  • Added a :default option for I18n.localize - #251

Bug fixes

  • Reverted a commit which made it so that the great documentation for I18n.translate wasn't made visible through a yard documentation generation. - bc926ebf98a9ae8f2db843ce16a33a5282d18d35
  • I18n.MissingTranslation.new can now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295
  • I18n's Hash#slice method no longer fails if the hash does not have the specified key - #289
  • I18n::Backend::Metadata will now no longer attempt to set @translation_metadata on frozen objects - #305
  • Added missing many rule to pl translation rules - #346
  • Calling I18n.t(:foo, default: nil) Or I18n.t(:foo, default: false) will now return nil or false, rather than returning a missing translation exception - #144
  • Setting I18n.load_path via I18n.load_path= will now reset the @@available_locales_set setting. - #348 & #173
  • The subclasses of Hash when calling Hash#slice are maintained - #250
  • Fixed I18n.interpolate behaviour when it was passed an ActiveSupport::SafeBuffer object - #216

0.8.0.beta1

Notable changes

  • You can now set I18n.cache_key_digest to determine how cache keys are calculated. If you were seeing issues where the same value stored in a cache produced a different key, then this fix will interest you. For more information, see #285.
  • You can now override translate_format in I18n::Backend classes to customize how localize will perform. See svenfuchs/i18n#347 for more details.
  • You can now interpolate the value of a key inside another key. See #300 for more information.
  • The exists? method was added to the fallback backend, to match other backend implementations - #326
  • Added N_ to GetText::Helpers - #121
  • Added a :default option for I18n.localize - #251

Bug fixes

  • Reverted a commit which made it so that the great documentation for I18n.translate wasn't made visible through a yard documentation generation. - bc926ebf98a9ae8f2db843ce16a33a5282d18d35
  • I18n.MissingTranslation.new can now be called with two arguments. It will no longer raise a "TypeError: can't dup NilClass" exception - #295
  • I18n's Hash#slice method no longer fails if the hash does not have the specified key - #289
  • I18n::Backend::Metadata will now no longer attempt to set @translation_metadata on frozen objects - #305
  • Added missing many rule to pl translation rules - #346
  • Calling I18n.t(:foo, default: nil) Or I18n.t(:foo, default: false) will now return nil or false, rather than returning a missing translation exception - #144
  • Setting I18n.load_path via I18n.load_path= will now reset the @@available_locales_set setting. - #348 & #173
  • The subclasses of Hash when calling Hash#slice are maintained - #250
  • Fixed I18n.interpolate behaviour when it was passed an ActiveSupport::SafeBuffer object - #216
Commits
  • 529fc5b Bump to 0.8.0
  • d5fb5dd fix references to i18n in Gemfiles
  • 5cd5c9f Add link to i18n guide to README
  • 27d7ab7 Remove Gemfile.lock from source control
  • 4f0331d Bump dependencies
  • 210feb6 Update bundler
  • 7b205f2 Add issue template
  • 6f3a5bb Bump to 0.8.0.beta1
  • 5e1af91 Merge pull request #252 from Chipairon/fix-tests-for-stored-procs
  • e532e61 Merge pull request #216 from bogdan/interpolate-rails-safe-buffer
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.


This change is Reviewable

Bumps [i18n](https://github.com/ruby-i18n/i18n) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](ruby-i18n/i18n@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: i18n
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants