Skip to content

build(deps): bump github.com/bufbuild/protovalidate-go from 0.7.3 to 0.10.0 #14

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

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps github.com/bufbuild/protovalidate-go from 0.7.3 to 0.10.0.

Release notes

Sourced from github.com/bufbuild/protovalidate-go's releases.

v0.10.0

Breaking Changes

  • The most notable change is that the validation for IP addresses and prefixes (both v4 and v6), email addresses, and URIs has been significantly enhanced to adhere to the relevant RFCs for each. Note that these tighter validations result in breaking changes as some previously-passing values may now be failures. Additionally, with regards to string.email/isEmail validation, we no longer follow RFC 5322 and instead use the HTML standard's definition for valid email addresses.

  • In addition, all references to the usage of constraint have been changed to rule. Previously, these were used interchangeably which led to some confusion. The v0.11.0 release of Protovalidate contains this full rename, which necessitated the change in protovalidate-go and was implemented in bufbuild/protovalidate-go#227. As a result, any reference to constraint in code will need to be changed to rule.

What's Changed

This release is compatible with Protovalidate v0.11.0.

Full Changelog: bufbuild/protovalidate-go@v0.9.3...v0.10.0

v0.9.3

What's Changed

This release fixes several bugs, including some edge cases involving IGNORE_ALWAYS and the memory usage increase that was introduced in protovalidate-go v0.9.1. In addition, it introduces GlobalValidator (bufbuild/protovalidate-go#216) and Filter (bufbuild/protovalidate-go#185).

Using the Filter API, it is possible to entirely ignore rules on a specific message, field or oneof, or only consider rules on specific messages, fields and oneofs. Using the GlobalValidator API, it is easier for libraries to both accept a user-provided Validator instance while defaulting to the global Validator instance, reducing memory usage.

[!NOTE] While we strive to not break the API unnecessarily, protovalidate-go is still considered unstable and APIs may still potentially change in backwards incompatible ways in the future until v1.0, hopefully very infrequently. In particular, the Filter API is still under active consideration.

Several dependencies are updated.

New Contributors

... (truncated)

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/bufbuild/protovalidate-go](https://github.com/bufbuild/protovalidate-go) from 0.7.3 to 0.10.0.
- [Release notes](https://github.com/bufbuild/protovalidate-go/releases)
- [Commits](bufbuild/protovalidate-go@v0.7.3...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/bufbuild/protovalidate-go
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Apr 28, 2025
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