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

Bump github.com/bufbuild/protovalidate-go from 0.2.1 to 0.3.0 #620

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 24, 2023

Bumps github.com/bufbuild/protovalidate-go from 0.2.1 to 0.3.0.

Release notes

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

v0.3.0

Breaking Change: Refactoring of Schema-Level Constraint Enforcement

Summary:

In the recent changes to buf/validate/validate.proto, we've refactored message definitions, targeting the organization and enforcement of rules within number-centric messages like FloatRules, DoubleRules, Int32Rules, and others.

Specific Changes:

Fields such as gt, gte, lt, and lte have been structured within a oneof to ensure exclusivity: - Fields associated with lt and lte now reside within the less_than oneof. - Fields linked to gt and gte have transitioned to the greater_than oneof.

Additionally, timestamp and duration fields related to lt_now and gt_now have been assimilated into their respective less_than and greater_than oneof categories.

Action Required:

To ensure seamless compatibility and functionality, users must update their protobuf dependencies and package concurrently with this release. If your protos were designed with mutually exclusive rules initially, the impact of this change should be minimal.

Rationale:

The restructure aims to make the rule application process more intuitive, thereby eliminating ambiguities and overlaps present in the earlier configuration. This approach ensures that rules are naturally exclusive, reinforcing better design practices.

What's Changed

New Contributors

Full Changelog: bufbuild/protovalidate-go@v0.2.1...v0.3.0

Commits
  • b7c1481 Update to protovalidate v0.4.0 (#36)
  • 5a628a0 Add isNan and isInf (#35)
  • b7524f0 Replace protoc-gen-validate reference with protovalidate (#28)
  • 5d72f9c Bump github.com/google/cel-go from 0.17.1 to 0.17.3 (#34)
  • f88d093 Refactor LT/GT into a oneof (#33)
  • 97c6d9f Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.31.0-2...
  • 545ba7e Bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.31.0-2...
  • e9520ff Update readme with protovalidate-java link (#23)
  • See full diff 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 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.2.1 to 0.3.0.
- [Release notes](https://github.com/bufbuild/protovalidate-go/releases)
- [Commits](bufbuild/protovalidate-go@v0.2.1...v0.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 24, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 28, 2023

Superseded by #625.

@dependabot dependabot bot closed this Aug 28, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/bufbuild/protovalidate-go-0.3.0 branch August 28, 2023 15:30
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants