Skip to content

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

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

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
donislawdev added a commit that referenced this pull request Nov 11, 2026
The change Dependabot proposed in #222, with the notices naming the version
the window now links. go-i18n is linked by the window alone.

Between 2.6.1 and 2.7.0: the CLDR v49 plural rules (Vietnamese, Galician
and French move between groups), ParseMessageBytes, and fixes to the goi18n
command. The window speaks English and Polish, whose rules did not change.
go.yaml.in/yaml/v3 moves from 3.0.4 to 3.0.5 in go.sum only - nothing links
it. Both LICENSE files are the same text as in the versions before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
donislawdev added a commit that referenced this pull request Nov 11, 2026
… ending (#231)

* An otlp file of one request ends in .json, and tfg formats names each ending

An otlp file in the minified or indented layout is one JSON document, and
its name ended in .jsonl - which tells a reader that picks its parser by the
name to read it line by line. A setting can now declare the endings its
values give (format.Property.Extensions), and the engine names every file by
Descriptor.ExtensionFor, once for each target. The bytes of every file are
unchanged, and a name template somebody wrote still wins.

tfg formats otlp prints the endings beside the extension, tfg formats --json
carries them as "extensions" on the setting, the site lists both endings,
and the sentence under formatting says them. Two guards hold the declaration
and the names the engine plans, with three mutation entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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

The change Dependabot proposed in #222, with the notices naming the version
the window now links. go-i18n is linked by the window alone.

Between 2.6.1 and 2.7.0: the CLDR v49 plural rules (Vietnamese, Galician
and French move between groups), ParseMessageBytes, and fixes to the goi18n
command. The window speaks English and Polish, whose rules did not change.
go.yaml.in/yaml/v3 moves from 3.0.4 to 3.0.5 in go.sum only - nothing links
it. Both LICENSE files are the same text as in the versions before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* tfg formats is held to the endings a setting gives, in its text and its JSON

The guards on this change held the names the engine plans, and nothing held
what tfg formats says about them: the card could go back to ".jsonl" alone,
and --json could drop "extensions", with every guard green. A guard now reads
both - the card of otlp with its line written out, and the JSON of every
format whose settings give an ending against what they declare - with two
mutation entries, one for each output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Looks like github.com/nicksnyder/go-i18n/v2 is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 11, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/nicksnyder/go-i18n/v2-2.7.0 branch November 11, 2026 13:42
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