Skip to content
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

Bump protobuf-java from 3.11.4 to 3.14.0 #23

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2020

Bumps protobuf-java from 3.11.4 to 3.14.0.

Release notes

Sourced from protobuf-java's releases.

Protocol Buffers v3.14.0

Protocol Compiler

  • The proto compiler no longer requires a .proto filename when it is not generating code.
  • Added flag --deterministic_output to protoc --encode=....
  • Fixed deadlock when using google.protobuf.Any embedded in aggregate options.

C++

  • Arenas are now unconditionally enabled. cc_enable_arenas no longer has any effect.
  • Removed inlined string support, which is incompatible with arenas.
  • Fix a memory corruption bug in reflection when mixing optional and non-optional fields.
  • Make SpaceUsed() calculation more thorough for map fields.
  • Add stack overflow protection for text format with unknown field values.
  • FieldPath::FollowAll() now returns a bool to signal if an out-of-bounds error was encountered.
  • Performance improvements for Map.
  • Minor formatting fix when dumping a descriptor to .proto format with DebugString.
  • UBSAN fix in RepeatedField (#2073).
  • When running under ASAN, skip a test that makes huge allocations.
  • Fixed a crash that could happen when creating more than 256 extensions in a single message.
  • Fix a crash in BuildFile when passing in invalid descriptor proto.
  • Parser security fix when operating with CodedInputStream.
  • Warn against the use of AllowUnknownExtension.
  • Migrated to C++11 for-range loops instead of index-based loops where possible. This fixes a lot of warnings when compiling with -Wsign-compare.
  • Fix segment fault for proto3 optional (#7805)
  • Adds a CMake option to build libprotoc separately (#7949)

Java

  • Bugfix in mergeFrom() when a oneof has multiple message fields.
  • Fix RopeByteString.RopeInputStream.read() returning -1 when told to read 0 bytes when not at EOF.
  • Redefine remove(Object) on primitive repeated field Lists to avoid autoboxing.
  • Support "\u" escapes in textformat string literals.
  • Trailing empty spaces are no longer ignored for FieldMask.
  • Fix FieldMaskUtil.subtract to recursively remove mask.
  • Mark enums with @java.lang.Deprecated if the proto enum has option deprecated = true;.
  • Adding forgotten duration.proto to the lite library (#7738)

Python

  • Print google.protobuf.NullValue as null instead of "NULL_VALUE" when it is used outside WKT Value/Struct.
  • Fix bug occurring when attempting to deep copy an enum type in python 3.
  • Add a setuptools extension for generating Python protobufs (#7783)

... (truncated)

Commits
  • 2514f0b Removed protoc-artifacts/target directory
  • f3192d6 Update protobuf version
  • 8630972 Updated CHANGES.txt to add #8035
  • e91922a Additional test
  • e57f761 Fix parsing negative Int32Value that crosses segment boundary
  • 1b851b3 Update protobuf version
  • 129a5ed Updated CHANGES.txt to include #7928
  • 99149ba Fix PyUnknownFields memory leak (#7928)
  • 4928583 Updated CHANGES.txt for the 3.14.0 release
  • fbbe11a Reintroduced definitions for PHP GeneratedClassName() functions
  • 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 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 java Pull requests that update Java code labels Dec 30, 2020
@dependabot dependabot bot force-pushed the dependabot/gradle/com.google.protobuf-protobuf-java-3.14.0 branch from 83db3eb to 561472e Compare December 31, 2020 07:03
@dependabot dependabot bot force-pushed the dependabot/gradle/com.google.protobuf-protobuf-java-3.14.0 branch 2 times, most recently from 88069b5 to faab902 Compare December 31, 2020 07:04
@hannesa2 hannesa2 force-pushed the dependabot/gradle/com.google.protobuf-protobuf-java-3.14.0 branch from faab902 to dc630cc Compare December 31, 2020 07:05
@hannesa2 hannesa2 force-pushed the dependabot/gradle/com.google.protobuf-protobuf-java-3.14.0 branch from dc630cc to f8d873f Compare January 1, 2021 10:15
@hannesa2
Copy link
Owner

hannesa2 commented Jan 1, 2021

It runs into

2021-01-01 11:16:45.226 30080-30080/? A/DEBUG: Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI GetObjectClass called with pending exception java.lang.IllegalArgumentException: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field.  This could mean either that the input has been truncated or that an embedded message misreported its own length.
        at java.util.List com.google.mediapipe.framework.PacketGetter.getProtoVector(com.google.mediapipe.framework.Packet, com.google.protobuf.Parser) (PacketGetter.java:152)
        at void info.mediapipe.app.multihand.MultiHandActivity$onCreate$1.process(com.google.mediapipe.framework.Packet) (MultiHandActivity.kt:59)
     Caused by: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field.  This could mean either that the input has been truncated or that an embedded message misreported its own length.
        at com.google.protobuf.GeneratedMessageLite com.google.protobuf.GeneratedMessageLite.parsePartialFrom(com.google.protobuf.GeneratedMessageLite, byte[], int, int, com.google.protobuf.ExtensionRegistryLite) (GeneratedMessageLite.java:1572)
        at com.google.protobuf.GeneratedMessageLite com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(byte[], int, int, com.google.protobuf.ExtensionRegistryLite) (GeneratedMessageLite.java:1517)
        at com.google.protobuf.MessageLite com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(byte[], int, int, com.google.protobuf.ExtensionRegistryLite) (GeneratedMessageLite.java:1498)
        at com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[], int, int, com.google.protobuf.ExtensionRegistryLite) (AbstractParser.java:191)
        at com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[], com.google.protobuf.ExtensionRegistryLite) (AbstractParser.java:203)
        at com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[]) (AbstractParser.java:208)
        at java.lang.Object com.google.protobuf.AbstractParser.parseFrom(byte[]) (AbstractParser.java:48)
        at java.util.List com.google.mediapipe.framework.PacketGetter.getProtoVector(com.google.mediapipe.framework.Packet, com.google.protobuf.Parser) (PacketGetter.java:147)
        at void info.mediapipe.app.multihand.MultiHandActivity$onCreate$1.process(com.google.mediapipe.framework.Packet) (MultiHandActivity.kt:59)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 22, 2021

A newer version of com.google.protobuf:protobuf-java exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@hannesa2
Copy link
Owner

hannesa2 commented Mar 5, 2021

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 5, 2021

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@hannesa2
Copy link
Owner

hannesa2 commented Mar 5, 2021

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 5, 2021

Superseded by #47.

@dependabot dependabot bot closed this Mar 5, 2021
@dependabot dependabot bot deleted the dependabot/gradle/com.google.protobuf-protobuf-java-3.14.0 branch March 5, 2021 09:01
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant