Skip to content

build(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.6.1 to 2.7.0 - #222

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/nicksnyder/go-i18n/v2-2.7.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/nicksnyder/go-i18n/v2-2.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 7, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/nicksnyder/go-i18n/v2 from 2.6.1 to 2.7.0.

Release notes

Sourced from github.com/nicksnyder/go-i18n/v2's releases.

v2.7.0

What's Changed

New

  • Add i18n.ParseMessageBytes, Bundle.ParseMessageBytes, and Bundle.MustParseMessageBytes to parse messages from bytes with an explicit language tag and unmarshal func. This supports message files whose names aren't language tags (e.g. locales/en/translation.json). Fixes #347.
  • Update plural rules to CLDR v49.

goi18n

  • goi18n extract now type-checks the files in each package together, so message fields can reference constants and vars declared in other files of the same package.
  • goi18n extract no longer crashes on string() conversions or self-referencing declarations, and resolves each name in a multi-name declaration (const a, b = "x", "y") to its own value.
  • goi18n merge now writes the plural forms that are already translated into translate.*.toml, so translators can see the existing wording for better translation context.
  • goi18n merge reports a missing other plural form as an error instead of panicking. Fixes #235.

Fixes

  • Plural count strings that are empty or have exponents outside [-30, 30] now return an error. Before, an empty string panicked and inputs like "0e300000000" could use up all available memory.

Docs

  • README explains what translate.*.toml files contain and when to delete them (fixes #193), and what the hashes in active files are for (refs #294).
  • Fix the status badge and remove the retired Go Report Card badge (#407, #411).

Requirements and dependencies

  • Go 1.26 or newer is now required (was 1.24).
  • Upgrade golang.org/x/text to v0.43.0 and go.yaml.in/yaml/v3 to v3.0.5 (#413).

Full Changelog: nicksnyder/go-i18n@v2.6.1...v2.7.0

Commits
  • d2149e6 i18n: add ParseMessageBytes
  • dc059a4 goi18n extract: resolve constants with go/types across package files
  • 4e2b2f9 CLDR v49
  • 240ac46 Explain hashes in active files in README
  • 3cabfcb Include translated plural forms in translate files for context
  • 721d00e Explain translate.*.toml contents and cleanup in README
  • 6c03000 Use the latest Go patch release in CI for stable cache keys
  • 8d14838 Check out code before setup-go so the Go cache works
  • d1b09b3 Upgrade to Go 1.26 and latest dependencies
  • 9a26c9a Report missing other form in goi18n merge instead of panicking
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [github.com/nicksnyder/go-i18n/v2](https://github.com/nicksnyder/go-i18n) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases)
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md)
- [Commits](nicksnyder/go-i18n@v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: github.com/nicksnyder/go-i18n/v2
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from donislawdev as a code owner November 7, 2026 23:52
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants