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/protocompile from 0.9.0 to 0.10.0 in /tools #193

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 8, 2024

Bumps github.com/bufbuild/protocompile from 0.9.0 to 0.10.0.

Release notes

Sourced from github.com/bufbuild/protocompile's releases.

v0.10.0

This release marks significant progress in implementing Protobuf Editions. Editions are not yet generally supported because there are a couple of remaining checks that need to be done. Until then, users can opt-in to using Editions source files with this compiler using the editionstesting.AllowEditions function.

This release also includes some backwards-incompatible changes, though they likely will not have any impact on most users. They are changes to interfaces that are compatible for users/callers of the interface, but incompatible for any code outside of this repo that implemented those interfaces.

What's Changed

Bugfixes

  • In the recently added options.StripSourceRetentionOptionsFromFile, clear options if no fields remain and also clear source code info, in #251

Enhancements

  • Editions-related updated:
    • Update descriptor implementations to work with Editions files, in #260, #261, and #270
    • Add more internal compiler support for Editions, in #264
    • Provide an exported function for users to opt-in to using Editions, in #267. Note that this capability is temporary and will be removed once Editions support is complete (since opt-in won't be necessary and Editions support will be generally available).
  • Support and enforce extension declarations, in #263

Other Changes

  • Remove feature related to "canonical bytes", in #261
    • This is a backwards-incompatible change, but only impacts a likely-unused feature. The method linker.Result.CanonicalProto() has been removed. This feature was too complicated to continue supporting in the face of changes to interpreting options that needed to be implemented for Editions. (The feature was ultimately never used for its original intended purpose, so is likely not used at all.)
  • Add support for iterating option nodes in the ast sub-package via new ast.NodeWithOptions interface, in #263
    • This is a backwards-incompatible change, but only impacts code that implements some of this repo's interfaces, not any code that merely uses those interfaces.
    • This adds a new RangeOptions function to several sub-interfaces of ast.Node, so they also are now sub-interfaces of ast.NodeWtihOptions. The interfaces changed are ast.FileDeclNode, ast.MessageDeclNode, ast.FieldDeclNode, ast.OneofDeclNode, ast.RPCDeclNode, and ast.EnumValueDeclNode.
    • This also adds a method, ExtensionsNode, to the parser.Result interface, and expands the return types of three methods (OneofNode, EnumNode, and ServiceNode) from ast.Node to ast.NodeWithOptions.

Full Changelog: bufbuild/protocompile@v0.9.0...v0.10.0

Commits
  • a556a4b Found and fixed a bug in FieldDescriptor.Cardinality implementation (#270)
  • ddfc09b Add temporary opt-in function so users can try out/test editions support (#267)
  • 1afd354 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#248)
  • 74dd30c Bump github.com/bufbuild/buf from 1.30.0 to 1.30.1 in /internal/tools (#269)
  • 2943a01 Bump github.com/bufbuild/buf from 1.29.0 to 1.30.0 in /internal/tools (#252)
  • 9d744ed Bump golang.org/x/tools from 0.17.0 to 0.19.0 in /internal/tools (#253)
  • bc69ae3 Bump github.com/bufbuild/protocompile from 0.8.0 to 0.9.0 in /internal/benchm...
  • 1adabbd Validate usage of features in editions (#264)
  • 3597c18 Support extension declarations (#263)
  • 869ef58 Remove canonical option bytes and split up option interpretation into two pha...
  • 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 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/protocompile](https://github.com/bufbuild/protocompile) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/bufbuild/protocompile/releases)
- [Commits](bufbuild/protocompile@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/bufbuild/protocompile
  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 8, 2024
@rodaine rodaine merged commit a453e3b into main Apr 8, 2024
6 checks passed
@rodaine rodaine deleted the dependabot/go_modules/tools/github.com/bufbuild/protocompile-0.10.0 branch April 8, 2024 16:01
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