Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

fix(deps): fix(deps): Update module google.golang.org/protobuf to v1.28.0 #386

Merged
merged 1 commit into from Jun 27, 2022

Conversation

cq-bot
Copy link
Contributor

@cq-bot cq-bot commented Jun 27, 2022

This PR contains the following updates:

Package Type Update Change
google.golang.org/protobuf require minor v1.27.1 -> v1.28.0

Release Notes

protocolbuffers/protobuf-go

v1.28.0

Compare Source

Overview

The release provides a new unmarshal option for limiting the recursion depth when unmarshalling nested messages to prevent stack overflows. (UnmarshalOptions.RecursionLimit).

Notable changes

New features:

  • CL/340489: testing/protocmp: add Message.Unwrap

Documentation improvements:

  • CL/339569: reflect/protoreflect: add more docs on Value aliasing

Updated supported versions:

UnmarshalOption RecursionLimit
  • CL/385854: all: implement depth limit for unmarshalling

The new UnmarshalOptions.RecursionLimit limits the maximum recursion depth when unmarshalling messages. The limit is applied for nested messages. When messages are nested deeper than the specified limit the unmarshalling will fail. If unspecified, a default limit of 10,000 is applied.

In addition to the configurable limit for message nesting a non-configurable recursion limit for group nesting of 10,000 was introduced.

Upcoming breakage changes

The default recursion limit of 10,000 introduced in the release is subject to change. We want to align this limit with implementations for other languages in the long term. C++ and Java use a limit of 100 which is also the target for the Go implementation.


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@cq-bot cq-bot requested a review from a team as a code owner June 27, 2022 00:56
@cq-bot cq-bot requested review from erezrokah and removed request for a team June 27, 2022 00:56
@kodiakhq kodiakhq bot merged commit 9c5c83f into main Jun 27, 2022
@kodiakhq kodiakhq bot deleted the renovate/google.golang.org-protobuf-1.x branch June 27, 2022 07:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants