Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
deps: update dependency com.google.protobuf:protobuf-bom to v3.13.0 (#…
Browse files Browse the repository at this point in the history
…126)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://github.com/protocolbuffers/protobuf)) | minor | `3.12.4` -> `3.13.0` |

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf</summary>

### [`v3.13.0`](https://github.com/protocolbuffers/protobuf/releases/v3.13.0)

[Compare Source](https://github.com/protocolbuffers/protobuf/compare/v3.12.4...v3.13.0)

### PHP

-   The C extension is completely rewritten. The new C extension has significantly
     better parsing performance and fixes a handful of conformance issues. It will
    also make it easier to add support for more features like proto2 and proto3 presence.
-   The new C extension does not support PHP 5.x, which is the reason for the major
     version bump. PHP 5.x users can still use pure-PHP.

### C++

-   Removed deprecated unsafe arena string accessors
-   Enabled heterogeneous lookup for std::string keys in maps.
-   Removed implicit conversion from StringPiece to std::string
-   Fix use-after-destroy bug when the Map is allocated in the arena.
-   Improved the randomness of map ordering
-   Added stack overflow protection for text format with unknown fields
-   Use std::hash for proto maps to help with portability.
-   Added more Windows macros to proto whitelist.
-   Arena constructors for map entry messages are now marked "explicit"
    (for regular messages they were already explicit).
-   Fix subtle aliasing bug in RepeatedField::Add
-   Fix mismatch between MapEntry ByteSize and Serialize with respect to unset
    fields.

### Python

-   JSON format conformance fixes:
    -   Reject lowercase t for Timestamp json format.
    -   Print full_name directly for extensions (no camelCase).
    -   Reject boolean values for integer fields.
    -   Reject NaN, Infinity, -Infinity that is not quoted.
    -   Base64 fixes for bytes fields: accept URL-safe base64 and missing padding.
-   Bugfix for fields/files named "async" or "await".
-   Improved the error message when AttributeError is returned from **getattr**
    in EnumTypeWrapper.

### Java

-   Fixed a bug where setting optional proto3 enums with setFooValue() would
    not mark the value as present.
-   Add Subtract function to FieldMaskUtil.

### C

-   Dropped support for netstandard1.0 (replaced by support for netstandard1.1).
    This was required to modernize the parsing stack to use the `Span<byte>`
    type internally. ([#&#8203;7351](https://github.com/protocolbuffers/protobuf/issues/7351))
-   Add `ParseFrom(ReadOnlySequence<byte>)` method to enable GC friendly
    parsing with reduced allocations and buffer copies. ([#&#8203;7351](https://github.com/protocolbuffers/protobuf/issues/7351))
-   Add support for serialization directly to a `IBufferWriter<byte>` or
    to a `Span<byte>` to enable GC friendly serialization.
    The new API is available as extension methods on the `IMessage` type. ([#&#8203;7576](https://github.com/protocolbuffers/protobuf/issues/7576))
-   Add `GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE` define to make
    generated code compatible with old C# compilers (pre-roslyn compilers
    from .NET framework and old versions of mono) that do not support
    ref structs. Users that are still on a legacy stack that does
    not support C# 7.2 compiler might need to use the new define
    in their projects to be able to build the newly generated code. ([#&#8203;7490](https://github.com/protocolbuffers/protobuf/issues/7490))
-   Due to the major overhaul of parsing and serialization internals ([#&#8203;7351](https://github.com/protocolbuffers/protobuf/issues/7351) and [#&#8203;7576](https://github.com/protocolbuffers/protobuf/issues/7576)),
    it is recommended to regenerate your generated code to achieve the best
    performance (the legacy generated code will still work, but might incur
    a slight performance penalty).

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies).
  • Loading branch information
renovate-bot authored Aug 17, 2020
1 parent f72cef3 commit 908063f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<grpc.version>1.31.0</grpc.version>
<gax.version>1.58.2</gax.version>
<guava.version>29.0-android</guava.version>
<protobuf.version>3.12.4</protobuf.version>
<protobuf.version>3.13.0</protobuf.version>
<google.api-common.version>1.10.0</google.api-common.version>
<google.common-protos.version>1.18.1</google.common-protos.version>
<google.core.version>1.93.8</google.core.version>
Expand Down

0 comments on commit 908063f

Please sign in to comment.