This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): fix(deps): Update module google.golang.org/protobuf to v1.…
…28.0 (#386) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [google.golang.org/protobuf](https://togithub.com/protocolbuffers/protobuf-go) | require | minor | `v1.27.1` -> `v1.28.0` | --- ### Release Notes <details> <summary>protocolbuffers/protobuf-go</summary> ### [`v1.28.0`](https://togithub.com/protocolbuffers/protobuf-go/releases/tag/v1.28.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0) - [Overview](#v1.28-overview) - [Notable changes](#v1.28-notable-changes) - [UnmarshalOption RecursionLimit](#v1.28-recursion-limit) - [Upcoming breakage changes](#v1.28-breaking-changes) #### Overview <a name="v1.28-overview"></a> The release provides a new unmarshal option for limiting the recursion depth when unmarshalling nested messages to prevent stack overflows. ([`UnmarshalOptions.RecursionLimit`](https://pkg.go.dev/google.golang.org/protobuf/proto#UnmarshalOptions.RecursionLimit)). #### Notable changes <a name="v1.28-notable-changes"></a> **New features:** - [CL/340489](https://go.dev/cl/340489): testing/protocmp: add Message.Unwrap **Documentation improvements:** - [CL/339569](https://go.dev/cl/339569): reflect/protoreflect: add more docs on Value aliasing **Updated supported versions:** - [CL/370055](https://go.dev/cl/370055): all: update supported versions ##### UnmarshalOption RecursionLimit <a name="v1.28-recursion-limit"></a> - [CL/385854](https://golang.org/cl/385854): all: implement depth limit for unmarshalling The new [`UnmarshalOptions.RecursionLimit`](https://pkg.go.dev/google.golang.org/protobuf/proto#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](https://developers.google.com/protocol-buffers/docs/proto#groups) nesting of 10,000 was introduced. #### Upcoming breakage changes <a name="v1.28-breaking-changes"></a> 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. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
- Loading branch information