Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/nicksnyder/go-i18n from 1.10.3 to 2.4.0+incompatible #1380

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2025

Bumps github.com/nicksnyder/go-i18n from 1.10.3 to 2.4.0+incompatible.

Release notes

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

v2.4.0

What's new

This release adds support for configurable template parsers in nicksnyder/go-i18n#317.

By setting TemplateParser on LocalizeConfig it is now possible to:

Full Changelog: nicksnyder/go-i18n@v2.3.0...v2.4.0

v2.3.0

New features

Bug fixes

Maintenance

New Contributors

Full Changelog: nicksnyder/go-i18n@v2.2.2...v2.3.0

v2.2.2

New features

Bug fixes

Maintenance

New Contributors

... (truncated)

Changelog

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

Changelog

Major version changes are documented in the changelog.

To see the documentation for minor or patch version, view the release notes.

v2

Motivation

The first commit to this project was January 2012 (go1 had not yet been released) and v1.0.0 was tagged June 2015 (go1.4). This project has evolved with the Go ecosystem since then in a backwards compatible way, but there is a growing list of issues and warts that cannot be addressed without breaking compatibility.

v2 is rewrite of the API from first principals to make it more idiomatic Go, and to resolve a backlog of issues: https://github.com/nicksnyder/go-i18n/milestone/1

Improvements

Upgrading from v1

The i18n package in v2 is completely different than v1. Refer to the documentation and README for guidance.

The goi18n command has similarities and differences:

  • goi18n merge has a new implementation but accomplishes the same task.
  • goi18n extract extracts messages from Go source files.
  • goi18n constants no longer exists. Prefer to extract messages directly from Go source files.

v2 makes changes to the canonical message file format, but you can use v1 message files with v2. Message files will be converted to the new format the first time they are processed by the new goi18n merge command.

v2 requires Go 1.9 or newer.

Commits

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 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](https://github.com/nicksnyder/go-i18n) from 1.10.3 to 2.4.0+incompatible.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases)
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md)
- [Commits](nicksnyder/go-i18n@v1.10.3...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/nicksnyder/go-i18n
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 24, 2025
@kpfleming
Copy link
Contributor

@dependabot ignore this major version

@dependabot dependabot bot closed this Jan 24, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 24, 2025

OK, I won't notify you about version 2.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/nicksnyder/go-i18n-2.4.0incompatible branch January 24, 2025 21:59
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.

1 participant