-
Notifications
You must be signed in to change notification settings - Fork 4
chore(deps): update protobuf to v34 (major) #103
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
Open
renovate-bot
wants to merge
1
commit into
googleapis:main
Choose a base branch
from
renovate-bot:renovate/major-protobuf
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f95b882 to
cb4881b
Compare
cb4881b to
5d4087e
Compare
5d4087e to
81594b6
Compare
81594b6 to
d151f9f
Compare
d151f9f to
208ad2a
Compare
208ad2a to
10f6422
Compare
10f6422 to
a2e77c9
Compare
a2e77c9 to
dad21eb
Compare
dad21eb to
34fad9d
Compare
34fad9d to
4856182
Compare
b77d113 to
2165768
Compare
2165768 to
05302ff
Compare
05302ff to
0b94c01
Compare
0b94c01 to
05e0111
Compare
727f173 to
1103771
Compare
1103771 to
1467d6a
Compare
1467d6a to
d14c7e2
Compare
ec1ec42 to
7fd754c
Compare
7fd754c to
4088c25
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v29.3→v34.0-rc1.1v29.3→v34.0-rc1.1Release Notes
protocolbuffers/protobuf (com_google_protobuf)
v34.0-rc1.1: Protocol Buffers v34.0-rc1Compare Source
Announcements
0a5c2f6)3a2af35)7a75898)a70115f)RepeatedField,RepeatedPtrField, andMapprivate. (ef890c3)b76faa9)b115358)68346ec)837a2cd)9dbc5d4)c301c2c)2afb0dc)generate_minimal_importsgeneration option warning (45b1297)GPB*Dictionarytypes. (ea67d6d)-[GPBFieldDescriptor optional](3414dc1)97c979b)9c45014)4208121,cd76e67,4208121)aee03b7)b01099d)5b116fe)e4854a1)00aaca1)f027f1f)b76faa9)0a8ff55)c301c2c)Bazel
8c857c3)0a5c2f6)cc23698)proto_descriptor_set(#23369) (8d4dfdd)Compiler
6ebdf85)Xyzand a direct sibling enum namedXyzView(eba53e8)ed3c571)pbpackage. (872d3ce)9ef9e80)1229d4a)debug_redactoptions via import option. (f58b098)C++
397d5d9)e8923a8)783da0a)3a2af35)5687acc)[unverified_lazy = true]on extensions, which have been (d2a42e7)38927bf)0f3dd06)7f431bb)DeleteSubrange, create new helper,RuntimeAssertInBoundsGE, and modifyLogIndexOutOfBoundsAndAbortto customize the message being logged. (71cc97c)c301c2c)2ec322e)a70115f)3acf23c)014f676)0f109cb)b76faa9)ed3c571)68346ec)2afb0dc)9dbc5d4)837a2cd)b115358)bc60e2e)46575f0)8c981b8)pbpackage. (872d3ce)--//third_party/protobuf:bounds_check_mode. (3079d15)constmessage field accessors. (60f60d0)88261aa)88efe88)40fe103)1f3fe2e)1229d4a)7a75898)RepeatedField,RepeatedPtrField, andMapprivate. (ef890c3)b8e690a)4624d81)818b8ef)RepeatedField(Arena*)constructor private in a future release. (b39f10c)195da19)bc0b635)Java
e536204)2732c60)2607595)1bc2c63)7f431bb)33b16e8)531c644)1041d62)46575f0)3514901)pbpackage. (872d3ce)0c48552)40fe103)57770eb)57338e8)8e623d1)7b6be54)8fa15e9)db16bca)f50c425)dead64c)ec3c8a7)Csharp
c3ddacb)Objective-C
0bc4192)generate_minimal_importsgeneration option warning (45b1297)2aae07e)GPB*Dictionarytypes. (ea67d6d)-[GPBFieldDescriptor optional](3414dc1)Rust
1f07ec6)Xyzand a direct sibling enum namedXyzView(eba53e8)+ Send(bc517b9)eb8d34e)adb1957)cfa8f67)a42e64f)Python
46061cb)bbc9dd9)c301c2c)b76faa9)4459a20)5b116fe)e4854a1)59f2a6e)0a8ff55)1eb4e52)b8bef14)8e35431)e2ddebe)13fe37f)f027f1f)00aaca1)412d0a2)26d08d5)PHP
aee03b7)5d29dca)b01099d)4208121)8f569de. (94fe944)cd76e67)9c45014)996e04c)6df6c8a)69efbc6)PHP C-Extension
5d29dca)b01099d)4208121)8f569de. (94fe944)6df6c8a)69efbc6)Ruby
6ebdf85)93f4eba)UPB (Python/PHP/Ruby C-Extension)
e8923a8)syntaxandeditionwhen parsing descriptors. (4c5c4b2)0e84323)a3ca522)e44d421)Other
b046c9a)27e67a7)97c979b)7b9feca)//:protocfrom language runtimes (#19679) (4986a77)31cadad)v33.4: Protocol Buffers v33.4Compare Source
Announcements
Other
47b3385)//:protocfrom language runtimes (#19679) (453cfb2)v33.3: Protocol Buffers v33.3Compare Source
Announcements
Bazel
7b30360)04ca1b7)aeaede0)Compiler
command_line_interface_unittestandcode_generator_unittest. (cb0a8c5)44e090c)d167dd0)C++
44e090c)d167dd0)Java
d167dd0)94c7f73)Csharp
d167dd0)Python
d167dd0)38ca2d3. (184b5e8)UPB (Python/PHP/Ruby C-Extension)
d167dd0)cd0cb21)Other
aeedbc6)f7b18f8)d4e7a81)9027d6b)f0907f3)v33.2: Protocol Buffers v33.2Compare Source
Announcements
Compiler
9247790)pbpackage. (483173d)8a0b438)C++
50c9e62)pbpackage. (483173d)Java
pbpackage. (483173d)Csharp
9247790)9f263cd)058bffa)PHP
9247790)PHP C-Extension
e9f62c6)9247790)058bffa)Ruby
Ruby C-Extension
e9f62c6)058bffa)UPB (Python/PHP/Ruby C-Extension)
e9f62c6)72a48f9)13ee2ce)v33.1: Protocol Buffers v33.1Compare Source
Announcements
C++
Anyhasbit consistency issue in OSS. (#24400) (59db671)Java
5737cd2)v33.0: Protocol Buffers v33.0Compare Source
Announcements
Bazel
d5217fd)30d2332)d98e2ef)Compiler
ae308fc)abeb130)C++
813a7ef)RepeatedField(Arena*)constructor private in a future release. (768db14)Map(Arena*)constructor private in a future release. (543a17f)3d94d83)RepeatedPtrField(Arena*)constructor private in a future release (6422b9d)b64e490)RuntimeAssertInBoundsto remove repeated logic and makeGet/Mutableeasier to read. (2f270c4)ae308fc)e25e267)90824aa)6ea1640)a959f27)c7030f4)95b1763)Java
Restored compatibility of runtime with gencode created with protoc <3.21
With this release, compatibility of the runtime with older gencode down to 3.0.0 is restored, compared to the previous support minimum of gencode created with 3.22+. Note that it is still strongly recommended to regenerate your gencode with a newer protoc and to avoid using gencode which was created with an old protoc.
Generated code from this range is covered by CVE-2022-3171 and is potentially vulnerable to a Denial of Service risk.
JavaProto 4.x previously dropped compatibility with the potentially vulnerable generated code, having the behavior of:
Starting with this release:
-Dcom.google.protobuf.error_on_unsafe_pre22_gencode) or to entirely silence the logged messages (-Dcom.google.protobuf.use_unsafe_pre22_gencode)This change was made based on community feedback regarding the difficulty in identifying and quickly remediating stale gencode in their transitive dependencies weighed against a careful evaluation of the realistic risk exposure of DoS (with no risk of other concerns including information leak or RCE).
We strongly recommend that any users who observe the log messages to regenerate the corresponding code with a newer protoc. We recommend that any security-conscious services opt into the
error_on_unsafe_pre22_gencodebehavior to preclude any risk of a Denial of Service surface area being exposed.A future 4.x release may flip the default behavior to error by default as a measure to further help the ecosystem avoid the Denial of Service risks, while still maintaining the ability to opt into continuing to use insecure gencode for users who are parsing trusted inputs and where the difficulty of regenerating is high.
Changes
e55224c)8de4002)c4ff7a6)537ac35)eba6df2)ca4fb2f)4376591)a995803)7b0bee3)varint,fixed32, andfixed64fields inUnknownFieldSet.Field(810272f)badaf41)c518f25)8d51e34)94a2a44(ea33ae8)7bff169(f2257f5)abeb130)e05db5c)isPlaceholder()accessors to file, message, and enum descriptors (f978ec2)745e15b)b68b673)5768acd)7c51e5b)GeneratedMessage.ExtendableMessage.extensions(b25d39e)Rust
_(c3f7e8d)Send(8bff944)Python
56b2b89)d57d270)5f6c013)07ef676)c36f728)__slots__to empty in.pyifiles. (38ca2d3)4659cd7)4ee55d7)PHP
Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.