fitbit-googlefit icon indicating copy to clipboard operation
fitbit-googlefit copied to clipboard

Bump protobuf from 4.21.2 to 4.21.6

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps protobuf from 4.21.2 to 4.21.6.

Release notes

Sourced from protobuf's releases.

Protocol Buffers v3.0.0-beta-4

Version 3.0.0-beta-4

General

  • Added a deterministic serialization API for C++. The deterministic serialization guarantees that given a binary, equal messages will be serialized to the same bytes. This allows applications like MapReduce to group equal messages based on the serialized bytes. The deterministic serialization is, however, NOT canonical across languages; it is also unstable across different builds with schema changes due to unknown fields. Users who need canonical serialization, e.g. persistent storage in a canonical form, fingerprinting, etc, should define their own canonicalization specification and implement the serializer using reflection APIs rather than relying on this API.

  • Added OneofOptions. You can now define custom options for oneof groups.

    import "google/protobuf/descriptor.proto";
    extend google.protobuf.OneofOptions {
      optional int32 my_oneof_extension = 12345;
    }
    message Foo {
      oneof oneof_group {
        (my_oneof_extension) = 54321;
        ...
      }
    }
    

C++ (beta)

  • Introduced a deterministic serialization API in CodedOutputStream::SetSerializationDeterministic(bool). See the notes about deterministic serialization in the General section.
  • Added google::protobuf::Map::swap() to swap two map fields.
  • Fixed a memory leak when calling Reflection::ReleaseMessage() on a message allocated on arena.
  • Improved error reporting when parsing text format protos.
  • JSON
    • Added a new parser option to ignore unknown fields when parsing JSON.
    • Added convenient methods for message to/from JSON conversion.
  • Various performance optimizations.

Java (beta)

  • File option "java_generate_equals_and_hash" is now deprecated. equals() and hashCode() methods are generated by default.
  • Added a new JSON printer option "omittingInsignificantWhitespace" to produce a more compact JSON output. The printer will pretty-print by default.
  • Updated Java runtime to be compatible with 2.5.0/2.6.1 generated protos.

Python (beta)

... (truncated)

Commits

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[bot] avatar Sep 19 '22 18:09 dependabot[bot]