Skip to content

Bump protobuf-java from 3.14.0 to 3.15.1

Bumps protobuf-java from 3.14.0 to 3.15.1.

Release notes

Sourced from protobuf-java's releases.

Protocol Buffers v3.15.1


  • Bugfix for Message.[] for repeated or map fields (#8313)
  • Fix for truncating behavior when converting Float to Duration (#8320)


  • Small fixes for MinGW and for C++20 with GCC (#8318)

Protocol Buffers v3.15.0

Protocol Compiler

  • Optional fields for proto3 are enabled by default, and no longer require the --experimental_allow_proto3_optional flag.


  • MessageDifferencer: fixed bug when using custom ignore with multiple unknown fields
  • Use init_seg in MSVC to push initialization to an earlier phase.
  • Runtime no longer triggers -Wsign-compare warnings.
  • Fixed -Wtautological-constant-out-of-range-compare warning.
  • DynamicCastToGenerated works for nullptr input for even if RTTI is disabled
  • Arena is refactored and optimized.
  • Clarified/specified that the exact value of Arena::SpaceAllocated() is an implementation detail users must not rely on. It should not be used in unit tests.
  • Change the signature of Any::PackFrom() to return false on error.
  • Add fast reflection getter API for strings.
  • Constant initialize the global message instances
  • Avoid potential for missed wakeup in UnknownFieldSet
  • Now Proto3 Oneof fields have "has" methods for checking their presence in C++.
  • Bugfix for NVCC
  • Return early in _InternalSerialize for empty maps.
  • Adding functionality for outputting map key values in proto path logging output (does not affect comparison logic) and stop printing 'value' in the path. The modified print functionality is in the MessageDifferencer::StreamReporter.
  • Fixed
  • Ensure that null char symbol, package and file names do not result in a crash.
  • Constant initialize the global message instances
  • Pretty print 'max' instead of numeric values in reserved ranges.
  • Removed remaining instances of std::is_pod, which is deprecated in C++20.
  • Changes to reduce code size for unknown field handling by making uncommon cases out of line.
  • Fix std::is_pod deprecated in C++20 (#7180)
  • Fix some -Wunused-parameter warnings (#8053)
  • Fix detecting file as directory on zOS issue #8051 (#8052)
  • Don't include sys/param.h for _BYTE_ORDER (#8106)
  • remove CMAKE_THREAD_LIBS_INIT from pkgconfig CFLAGS (#8154)
  • Fix TextFormatMapTest.DynamicMessage issue#5136 (#8159)

... (truncated)

  • 052dc79 Update protobuf version
  • 24d8a55 Updated CHANGES.txt
  • d721e36 Made some small fixes for MinGW and for C++20 with GCC
  • b12ab0c Merge pull request #8320 from haberman/ruby-duration-fix
  • 3b3aac9 [Ruby] Fix for truncating behavior when converting Float to Duration.
  • 4f961c8 Merge pull request #8313 from haberman/ruby-crash-fix
  • 256f132 [Ruby] Bugfix for Message.[] for repeated or map fields.
  • ae50d9b Update protobuf version
  • 8260126 Update protobuf version
  • c741c46 Resovled issue in the files
  • Additional commits viewable in compare view

Merge request reports