Skip to content

build(deps): bump github.com/jhump/protoreflect from 1.15.6 to 1.19.0 - #424

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/jhump/protoreflect-1.19.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/jhump/protoreflect-1.19.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/jhump/protoreflect from 1.15.6 to 1.19.0.

Release notes

Sourced from github.com/jhump/protoreflect's releases.

v1.19.0

This point release addresses a potential issue identified here: GHSA-mm34-2v69-6vg6

"github.com/jhump/protoreflect/dynamic"

Changes/fixes:

  • Address potential stack overflow fatal errors in dynamic.Message, when unmarshaling untrusted input or when marshaling a message that contains a reference cycle. A mitigation has been added for all three formats: binary, text, and json.
  • Fixed a bug that prevented the convert and merge methods (for converting to/from other message implementations) from working correctly with *dynamicpb.Message (the dynamic message implementation added to the core runtime in API v2).

Additions:

  • Adds new ToDynamicPB method to dynamic.Message, to aid with users migrating to API v2 and to work around interop issues with API v2's prototext and protojson packages.

v1.18.1

This point release addresses a potential issue identified here: GHSA-4qcm-mfjx-j36w

"github.com/jhump/protoreflect/grpcreflect"

Changes/fixes:

  • If a file to download has an import cycle, it is now detected, and an error is returned. This fixes an issue where such a set of files would previously induce infinite recursion and result in the calling program terminating with a "stack overflow" fatal error.
  • If a file does not have an import cycle but still has a pathologically deep import tree, that is also detected, and an error is returned. Such a set of files could be generated by a malicious server and result in the same "stack overflow" fatal error. The import depth is now limited to 1024, which should be signifcantly higher than import depths in any real code bases (so we don't trigger false positives), but also low enough that it won't result in a stack overflow.

v1.18.0

This is expected to be the final release of this module with a v1.x version. (All subsequent releases are expected to be v2.x.)

The main change here is to insulate users from any future backwards-incompatible changes in bufbuild/protocompile. Previous releases (between 1.15 and 1.17, inclusive) depended on this module, but it hasn't yet released a stable v1.0 version, so it has occasionally been a turbulent dependency. More breaking changes are expected since it is expected to get a totally new compiler and API before it reaches v1.0. So anyone still using v1 of this repo should update to this new release before then to avoid being broken when that happens.

"github.com/jhump/protoreflect/desc/builder"

Changes/fixes:

  • If resolving custom options and extensions resulted in a generated extension description created by the older v1 of protoc-gen-go, a nil-dereference panic could occur. This has been fixed. Instead, the legacy extension that would otherwise have caused a panic will now either be ignored or, if BuilderOptions.RequireInterpretedOptions is set to true, result in an error that not all options could be interpreted.
    • The older v1 has import path "github.com/golang/protobuf/protoc-gen-go". It was replaced in 2020 by the v2, which is at path "google.golang.org/protobuf/cmd/protoc-gen-go".

"github.com/jhump/protoreflect/desc/protoparse"

Changes/fixes:

  • The internal compiler no longer comes from a separate Go module. Instead, this module now contains a fork of bufbuild/protocompile, which will maintain stability even when the upstream repo diverges with unstable/breaking changes. The only user-visible changes would be related to Editions support, thanks to unreleased changes in upstream that were included in this repo's fork. (See more below.)

Additions:

  • This adds a field named AllowExperimentalEditions to the protoparse.Parser struct. When set to true, the parser will accept and return descriptors for files that use Edition 2024 (the only experimental edition at this time). It is experimental because it does not implement all of the rules and semantics of Edition 2024. But it does provide the ability to parse and compile files that include new language features in Edition 2024, such as visibility modifiers (export and local) as well as the option import modifier.

"github.com/jhump/protoreflect/desc/protoprint"

Changes/fixes:

  • If resolving custom options and extensions resulted in a generated extension description created by the older v1 of protoc-gen-go, a nil-dereference panic could occur. This has been fixed. Instead, the legacy extension that would otherwise have caused a panic is ignored and will not be included in the printed output (since it would result in an invalid source file that could not be compiled).

v1.17.0

This release deprecates some packages that have newer alternatives in the Protobuf runtime. It also includes some small additions to the grpcreflect and desc/sourceinfo packages. The rest of the changes are bug fixes.

"github.com/jhump/protoreflect/desc"

... (truncated)

Commits
  • bc7afd9 v1: Add bridge between this module's dynamic package and API v2's dynamicpb (...
  • 9edae2f Address potential stack overflow issues in dynamic.Message (#658)
  • dcd52d1 Fix potential stack overflow in gRPC reflection client (#654)
  • 19645dd Add a test case to make sure experimental Edition 2024 support is usable (#648)
  • 3297f00 Fixes for one last (🤞) v1 release (#646)
  • 225aff8 Update README to mention purpose of this branch (#625)
  • 9d27593 update to same CI config as main (v2) (#624)
  • 8f5fd1d share source code info store w/ v2
  • 06e5c08 Update desc/sourceinfo to not wrap descriptors (#622)
  • 645b9dd Update protocompile, which fixes possible panic in ParseButDontLink (#621)
  • 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 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/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.15.6 to 1.19.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](jhump/protoreflect@v1.15.6...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
  dependency-version: 1.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 1, 2026 13:02
@dependabot dependabot Bot added the go Pull requests that update Go code label Nov 1, 2026

This branch has not been deployed

No deployments
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

Development

Successfully merging this pull request may close these issues.

0 participants