Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps github.com/bufbuild/protocompile from 0.6.0 to 0.14.1.

Release notes

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

v0.14.1

What's Changed

Bugfixes changes

  • Fix bug where extension declarations marked as reserved would not allow the full_name or type fields to be specified. This failed to mirror the corresponding rule in the reference compiler protoc, which allows them to be set for documentation purposes. Now these two fields can be used on reserved declarations as long as both are present. By @​jhump in #327
  • Fix panic and error-reporting anomalies that can occur when interpreting options in lenient mode via calling either options.InterpretOptionsLenient or options.InterpretUnlinkedOptions. By @​jhump in #331

Full Changelog: bufbuild/protocompile@v0.14.0...v0.14.1

v0.14.0

This version makes Protobuf Editions available to users of this package, without needing to use a special opt-in that is documented as test-only. It contains one backwards-incompatible change, only for users that used that Editions opt-in: it has been removed since the functionality is now generally available.

What's Changed

Bugfixes

  • Correctly handle groups in the TextName method of field descriptors created by the compiler in #297
  • Fix bug in extension declarations: presence of a declaration implies the range is verified in #303
  • Fix a typo in code that adapts/re-parses features to match a descriptor; addresses a bug in protoutil.ResolveCustomFeature in #305
  • Add more thorough checks for when to adapt a value when resolving custom feature; addresses a deficiency in protoutil.ResolveCustomFeature in #306
  • Correctly handle maps in the Kind method of field descriptors created by the compiler, in files that define a file-wide default of delimited encoding for messages in #312

Enhancements

  • Add google/protobuf/cpp_features.proto, google/protobuf/java_features.proto, and google/protobuf/go_features.proto to the set of files provided by protocomile.WithStandardImports in #295
  • Add some final checks to mirror logic of protoc v27.0: files cannot use custom features defined in the same file, enforce "feature support" options, which define the editions in which a feature and/or feature value can be used in #301 and #309
  • Enable support for Protobuf Editions. To start, this only supports edition 2023. Added in #301
    • This contains a backwards-incompatible change: the editionstesting.AllowEditions() function (which was documented as temporary when introduced in v0.10.0) has been removed.
  • Add wellknownimports package, for providing actual source code for the standard imports (wellknownimports.WithStandardImports is an alternative to protocompile.WithStandardImports) in #310

Other changes

  • Update linker tests to use protodesc to create descriptors from compilation results, to verify compilation results can be correctly processed by protobuf-go runtime in #302
  • Add another (missing) test case for extension declarations in #304

Full Changelog: bufbuild/protocompile@v0.13.0...v0.14.0

v0.13.0

This release includes a single addition to the protocompile.Compiler type.

What's Changed

Enhancements

  • Provide ability for caller to seed/re-use symbol table across compile jobs by @​jhump in #294

Full Changelog: bufbuild/protocompile@v0.12.0...v0.13.0

v0.12.0

This release mostly contains performance improvements. It also includes an addition that makes it possible to implement a descriptor resolver on top of linker.Files much more efficiently, using a *linker.Symbols as an index.

What's Changed

Enhancements

Other changes

... (truncated)

Commits
  • 4082cf0 Bump github.com/golangci/golangci-lint from 1.60.0 to 1.60.1 in /internal/too...
  • 6953ab0 Bump github.com/bufbuild/buf from 1.36.0 to 1.37.0 in /internal/tools (#332)
  • 0142a07 Fix panic that can occur when interpreting options in lenient mode (#331)
  • 0de629a Update to go1.21 and golangci 1.60.0, test with go1.23 (#330)
  • 245c11d Bump golang.org/x/tools from 0.23.0 to 0.24.0 in /internal/tools (#328)
  • 8bd6667 Bump github.com/bufbuild/buf from 1.35.1 to 1.36.0 in /internal/tools (#329)
  • 1c07140 Allow reserved extension declaration to specify full_name and type as long as...
  • cab8942 Bump golang.org/x/sync from 0.7.0 to 0.8.0 in /internal/benchmarks (#326)
  • 66f98f3 Bump golang.org/x/sync from 0.7.0 to 0.8.0 (#325)
  • 00a0cbd Bump github.com/bufbuild/buf from 1.34.0 to 1.35.1 in /internal/tools (#324)
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 19, 2025
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link

github-actions bot commented May 19, 2025

There are 1 test cases, failed count 0:

Name Average Max Min Count Error
11.208251ms 13.299986ms 9.571959ms 3 0

Reported by api-testing.

Bumps [github.com/bufbuild/protocompile](https://github.com/bufbuild/protocompile) from 0.6.0 to 0.14.1.
- [Release notes](https://github.com/bufbuild/protocompile/releases)
- [Commits](bufbuild/protocompile@v0.6.0...v0.14.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/bufbuild/protocompile-0.14.1 branch from 2efd5fe to 54178b8 Compare May 19, 2025 23:53
@sonarqubecloud
Copy link

@LinuxSuRen LinuxSuRen merged commit 8d3799c into master May 20, 2025
14 of 15 checks passed
@LinuxSuRen LinuxSuRen deleted the dependabot/go_modules/github.com/bufbuild/protocompile-0.14.1 branch May 20, 2025 00:07
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.

3 participants