Skip to content

Update gettext: 0.20.0 → 0.22.0 (major)

kloenk requested to merge depfu/update/elixir/gettext-0.22.0 into main

Created by: depfu[bot]

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

️ gettext (0.20.0 → 0.22.0) · Repo · Changelog

Release Notes

0.22.0 (from changelog)

  • Deprecate (with a warning) the --plural-forms CLI option and the :plural_forms option in favor of --plural-forms-header and :plural_forms_header.
  • Supply the Plural-Forms header to Gettext.Plural callbacks.
  • Bump Expo requirement to ~> 0.3.0.
  • Add the types:
    • Gettext.Interpolation.bindings/0
    • Gettext.Error.t/0
    • Gettext.Plural.locale/0
    • Gettext.Plural.pluralization_context/0
    • Gettext.Plural.plural_info/0
  • Add the optional callbacks Gettext.Plural.init/1 and Gettext.Plural.plural_forms_header/1.

Bug fixes

  • Fix --check-up-to-date with msgids split in different ways.
  • Don't write the same file more than once in references when using write_reference_line_numbers: false.

0.21.0 (from changelog)

New features and improvements

  • Bump Elixir requirement to 1.11+.

  • Extract parsing and dumping of PO/POT files to the expo library, and start depending on that.

  • Support marking messages as obsolete with the new :on_obsolete Gettext configuration option.

  • Add the :write_reference_line_numbers Gettext configuration option.

  • Save the previous messages when there's a fuzzy match, with the new :store_previous_message_on_fuzzy_match Gettext configuration option.

  • Change :sort_by_msgid to accept false, :case_sensitive, or :case_insensitive and deprecate the true value.

Bug fixes

  • Sort messages independent of line splits when dumping PO files.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🆕 expo (added, 0.3.0)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Merge request reports