Skip to content

Commit 64d8d62

Browse files
chore(deps): update all non-major dependencies (#473)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [github.com/gabriel-vasile/mimetype](https://redirect.github.com/gabriel-vasile/mimetype) | `v1.4.8` -> `v1.4.9` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgabriel-vasile%2fmimetype/v1.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgabriel-vasile%2fmimetype/v1.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgabriel-vasile%2fmimetype/v1.4.8/v1.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgabriel-vasile%2fmimetype/v1.4.8/v1.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [hugo](https://redirect.github.com/gohugoio/hugo) | `0.145.0` -> `0.147.1` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/hugo/0.147.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/hugo/0.147.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/hugo/0.145.0/0.147.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/hugo/0.145.0/0.147.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | minor | | [protoc](https://redirect.github.com/protocolbuffers/protobuf) | `3.7.1` -> `3.20.3` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/protoc/3.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/protoc/3.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/protoc/3.7.1/3.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/protoc/3.7.1/3.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | minor | | [ratchet](https://redirect.github.com/sethvargo/ratchet) | `0.11.1` -> `0.11.2` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/ratchet/0.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/ratchet/0.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/ratchet/0.11.1/0.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/ratchet/0.11.1/0.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | patch | --- ### Release Notes <details> <summary>gabriel-vasile/mimetype (github.com/gabriel-vasile/mimetype)</summary> ### [`v1.4.9`](https://redirect.github.com/gabriel-vasile/mimetype/releases/tag/v1.4.9): GLTF support and performance improvements [Compare Source](https://redirect.github.com/gabriel-vasile/mimetype/compare/v1.4.8...v1.4.9) #### What's Changed - SRT detection: reduce allocs by [@&#8203;gabriel-vasile](https://redirect.github.com/gabriel-vasile) in [https://github.com/gabriel-vasile/mimetype/pull/636](https://redirect.github.com/gabriel-vasile/mimetype/pull/636) - json: more benchmarking by [@&#8203;gabriel-vasile](https://redirect.github.com/gabriel-vasile) in [https://github.com/gabriel-vasile/mimetype/pull/640](https://redirect.github.com/gabriel-vasile/mimetype/pull/640) - Bump golang.org/x/net from 0.33.0 to 0.39.0 in the gomod - json: add parser with query capacity by [@&#8203;gabriel-vasile](https://redirect.github.com/gabriel-vasile) in [https://github.com/gabriel-vasile/mimetype/pull/652](https://redirect.github.com/gabriel-vasile/mimetype/pull/652) - feat: add support for GLTF by [@&#8203;gabriel-vasile](https://redirect.github.com/gabriel-vasile) in [https://github.com/gabriel-vasile/mimetype/pull/655](https://redirect.github.com/gabriel-vasile/mimetype/pull/655) **Full Changelog**: https://github.com/gabriel-vasile/mimetype/compare/v1.4.8...v1.4.9 </details> <details> <summary>gohugoio/hugo (hugo)</summary> ### [`v0.147.1`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.147.1) #### Bug fixes - tpl: Fix overlapping layout sections [`be93d52`](https://redirect.github.com/gohugoio/hugo/commit/be93d5218) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13672](https://redirect.github.com/gohugoio/hugo/issues/13672) - Fix it so the owning taxonomy gets rerendered in server when new tags are added [`a1cb15e`](https://redirect.github.com/gohugoio/hugo/commit/a1cb15e1c) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13648](https://redirect.github.com/gohugoio/hugo/issues/13648) #### Improvements - tpl: Add some more test cases [`5fec782`](https://redirect.github.com/gohugoio/hugo/commit/5fec7829b) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13672](https://redirect.github.com/gohugoio/hugo/issues/13672) [#&#8203;13668](https://redirect.github.com/gohugoio/hugo/issues/13668) - commands/server: Display correct multihost language in console [`673a4d0`](https://redirect.github.com/gohugoio/hugo/commit/673a4d00e) [@&#8203;jmooring](https://redirect.github.com/jmooring) [#&#8203;12564](https://redirect.github.com/gohugoio/hugo/issues/12564) - hugolib: Use new build key in content placeholder [`31db7ed`](https://redirect.github.com/gohugoio/hugo/commit/31db7edf6) [@&#8203;jmooring](https://redirect.github.com/jmooring) [#&#8203;13655](https://redirect.github.com/gohugoio/hugo/issues/13655) #### Dependency Updates - build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2 [`620fc87`](https://redirect.github.com/gohugoio/hugo/commit/620fc87b5) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132.0 [`8b2124e`](https://redirect.github.com/gohugoio/hugo/commit/8b2124e7c) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/yuin/goldmark from 1.7.10 to 1.7.11 [`927d1ec`](https://redirect.github.com/gohugoio/hugo/commit/927d1ec6c) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] ### [`v0.147.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.147.0) This release comes with a new `aligny` option (shoutout to [@&#8203;pranshugaba](https://redirect.github.com/pranshugaba) for the implementation) for [images.Text](https://gohugo.io/functions/images/text/) that, in combination with `alignx` makes it simple to e.g. center the text on top of image in both axis. But the main reason this release comes now and not later, is the improvements/fixes to the order Hugo applies the default configuration to some keys. This is inherited from how we did this before we rewrote the configuration handling, and it made the merging of configuration from modules/themes into the config root harder and less flexible than it had to be. Me, [@&#8203;bep](https://redirect.github.com/bep), looking into this, was triggered by [this](https://discourse.gohugo.io/t/how-to-manage-common-config-in-hugo-using-modules/54485/4) forum topic. Having many sites share a common configuration is very useful. With this release, you can simply get what the thread starter asks for by doing something à la: ```toml baseURL = "http://example.org" title = "My Hugo Site" ### ... import any themes/modules. ### This will merge in all config imported from imported modules. _merge = "deep" ``` See the [documentation](https://gohugo.io/configuration/introduction/#merge-configuration-settings) for details. #### Bug fixes - tpl: Fix it so we always prefer internal codeblock rendering over render-codeblock-foo.html and similar [`07983e0`](https://redirect.github.com/gohugoio/hugo/commit/07983e04e) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13651](https://redirect.github.com/gohugoio/hugo/issues/13651) - tpl/tplimpl: Fix allowFullScreen option in Vimeo and YouTube shortcodes [`5c49140`](https://redirect.github.com/gohugoio/hugo/commit/5c491409d) [@&#8203;jmooring](https://redirect.github.com/jmooring) [#&#8203;13650](https://redirect.github.com/gohugoio/hugo/issues/13650) - config: Fix \_merge issue when key doesn't exist on the left side [`179aea1`](https://redirect.github.com/gohugoio/hugo/commit/179aea11a) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13643](https://redirect.github.com/gohugoio/hugo/issues/13643) [#&#8203;13646](https://redirect.github.com/gohugoio/hugo/issues/13646) - all: Fix typos [`6a0e042`](https://redirect.github.com/gohugoio/hugo/commit/6a0e04241) [@&#8203;coliff](https://redirect.github.com/coliff) #### Improvements - create/skeletons: Adjust template names in theme skeleton [`75b219d`](https://redirect.github.com/gohugoio/hugo/commit/75b219db8) [@&#8203;jmooring](https://redirect.github.com/jmooring) - tpl: Remove some unreached code branches [`ad4f63c`](https://redirect.github.com/gohugoio/hugo/commit/ad4f63c92) [@&#8203;bep](https://redirect.github.com/bep) - images: Add some test cases for aligny on images.Text [`5320231`](https://redirect.github.com/gohugoio/hugo/commit/53202314a) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13414](https://redirect.github.com/gohugoio/hugo/issues/13414) - images: Add option for vertical alignment to images.Text [`2fce0ba`](https://redirect.github.com/gohugoio/hugo/commit/2fce0bac0) [@&#8203;pranshugaba](https://redirect.github.com/pranshugaba) #### Dependency Updates - build(deps): bump github.com/evanw/esbuild from 0.25.2 to 0.25.3 [`1bd7ac7`](https://redirect.github.com/gohugoio/hugo/commit/1bd7ac7ed) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.16.0 to 2.17.0 [`41cb880`](https://redirect.github.com/gohugoio/hugo/commit/41cb880f9) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] ### [`v0.146.7`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.7) #### Bug fixes - Revert the breaking change from 0.146.0 with dots in content filenames [`4967308`](https://redirect.github.com/gohugoio/hugo/commit/496730840) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13632](https://redirect.github.com/gohugoio/hugo/issues/13632) - tpl: Fix indeterminate template lookup with templates with and without lang [`6d69dc8`](https://redirect.github.com/gohugoio/hugo/commit/6d69dc88a) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13636](https://redirect.github.com/gohugoio/hugo/issues/13636) - tpl/collections: Fix where ... not in with empty slice [`4eb0e42`](https://redirect.github.com/gohugoio/hugo/commit/4eb0e4286) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13621](https://redirect.github.com/gohugoio/hugo/issues/13621) - tpl: Fix layout fall back logic when layout is set in front matter but not found [`5e62cc6`](https://redirect.github.com/gohugoio/hugo/commit/5e62cc6fc) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13630](https://redirect.github.com/gohugoio/hugo/issues/13630) #### Improvements - parser/metadecoders: Add CSV targetType (map or slice) option to transform.Unmarshal [`db72a1f`](https://redirect.github.com/gohugoio/hugo/commit/db72a1f07) [@&#8203;jmooring](https://redirect.github.com/jmooring) [#&#8203;8859](https://redirect.github.com/gohugoio/hugo/issues/8859) - tpl: Detect and fail on infinite template recursion [`1408c15`](https://redirect.github.com/gohugoio/hugo/commit/1408c156d) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13627](https://redirect.github.com/gohugoio/hugo/issues/13627) #### Dependency Updates - build(deps): bump github.com/yuin/goldmark-emoji from 1.0.5 to 1.0.6 [`ad78761`](https://redirect.github.com/gohugoio/hugo/commit/ad787614e) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/bep/imagemeta from 0.11.0 to 0.12.0 [`9c65b9e`](https://redirect.github.com/gohugoio/hugo/commit/9c65b9e88) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] - build(deps): bump github.com/yuin/goldmark from 1.7.9 to 1.7.10 [`be3b147`](https://redirect.github.com/gohugoio/hugo/commit/be3b14786) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] ### [`v0.146.6`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.6) #### What's Changed - tpl: Fix when layout specified in front matter and no match is found [`088cd2f`](https://redirect.github.com/gohugoio/hugo/commit/088cd2f99) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13628](https://redirect.github.com/gohugoio/hugo/issues/13628) ### [`v0.146.5`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.5) #### What's Changed - build(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.9 [`64cf008`](https://redirect.github.com/gohugoio/hugo/commit/64cf00888) [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] - tpl: Fix language handling in partials [`d61b9fc`](https://redirect.github.com/gohugoio/hugo/commit/d61b9fc60) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13612](https://redirect.github.com/gohugoio/hugo/issues/13612) ### [`v0.146.4`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.4) #### What's Changed - tpl: Fix issue with partials without suffix [`65c94c7`](https://redirect.github.com/gohugoio/hugo/commit/65c94c7b2) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13601](https://redirect.github.com/gohugoio/hugo/issues/13601) - tpl: Avoid panic on nonsensical return construct [`e8e8ce1`](https://redirect.github.com/gohugoio/hugo/commit/e8e8ce10d) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13600](https://redirect.github.com/gohugoio/hugo/issues/13600) - tpl: Fix the case for a shortcode in a nested folder only [`cf9e690`](https://redirect.github.com/gohugoio/hugo/commit/cf9e6904c) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13605](https://redirect.github.com/gohugoio/hugo/issues/13605) - tpl: Add proper file context to template parse errors [`8a2830f`](https://redirect.github.com/gohugoio/hugo/commit/8a2830f2d) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13604](https://redirect.github.com/gohugoio/hugo/issues/13604) - tpl: Make {{ template "partials/foo.html" . }} work in older setups [`1e0287f`](https://redirect.github.com/gohugoio/hugo/commit/1e0287f47) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13599](https://redirect.github.com/gohugoio/hugo/issues/13599) ### [`v0.146.3`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.3) #### What's Changed - tpl: Make any layout set in front matter higher priority [`30b9c19`](https://redirect.github.com/gohugoio/hugo/commit/30b9c19c7) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13588](https://redirect.github.com/gohugoio/hugo/issues/13588) - tpl: Fix it so embedded render-codeblock-goat is used even if custom render-codeblock exists [`c871062`](https://redirect.github.com/gohugoio/hugo/commit/c8710625b) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13595](https://redirect.github.com/gohugoio/hugo/issues/13595) ### [`v0.146.2`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.2) #### What's Changed - tpl: Fix codeblock hook resolve issue [`d1c3944`](https://redirect.github.com/gohugoio/hugo/commit/d1c394442) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13593](https://redirect.github.com/gohugoio/hugo/issues/13593) - tpl: Fix legacy section mappings [`1074e01`](https://redirect.github.com/gohugoio/hugo/commit/1074e0115) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13584](https://redirect.github.com/gohugoio/hugo/issues/13584) - tpl: Resolve layouts/all.html for all html output formats [`c19f1f2`](https://redirect.github.com/gohugoio/hugo/commit/c19f1f236) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13587](https://redirect.github.com/gohugoio/hugo/issues/13587) - tpl: Fix some baseof lookup issues [`9221cbc`](https://redirect.github.com/gohugoio/hugo/commit/9221cbca4) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13583](https://redirect.github.com/gohugoio/hugo/issues/13583) ### [`v0.146.1`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.1) This fixes a regression introduced in [v0.146.0](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.146.0) released earlier today. - tpl: Skip dot and temp files inside /layouts [`3b9f2a7`](https://redirect.github.com/gohugoio/hugo/commit/3b9f2a7de) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;13579](https://redirect.github.com/gohugoio/hugo/issues/13579) </details> <details> <summary>protocolbuffers/protobuf (protoc)</summary> ### [`v3.20.3`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.20.3): Protocol Buffers v3.20.3 ### Java - Refactoring java full runtime to reuse sub-message builders and prepare to migrate parsing logic from parse constructor to builder. - Move proto wireformat parsing functionality from the private "parsing constructor" to the Builder class. - Change the Lite runtime to prefer merging from the wireformat into mutable messages rather than building up a new immutable object before merging. This way results in fewer allocations and copy operations. - Make message-type extensions merge from wire-format instead of building up instances and merging afterwards. This has much better performance. - Fix TextFormat parser to build up recurring (but supposedly not repeated) sub-messages directly from text rather than building a new sub-message and merging the fully formed message into the existing field. - This release addresses a [Security Advisory for Java users](https://redirect.github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2) ### [`v3.20.2`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.20.2): Protocol Buffers v3.20.2 ### C++ - Reduce memory consumption of MessageSet parsing - This release addresses a [Security Advisory for C++ and Python users](https://redirect.github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf) ### [`v3.20.1`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.20.1): Protocol Buffers v3.20.1 ### PHP - Fix building packaged PHP extension ([#&#8203;9727](https://redirect.github.com/protocolbuffers/protobuf/issues/9727)) - Fixed composer.json to only advertise compatibility with PHP 7.0+. ([#&#8203;9819](https://redirect.github.com/protocolbuffers/protobuf/issues/9819)) ### Ruby - Disable the aarch64 build on macOS until it can be fixed. ([#&#8203;9816](https://redirect.github.com/protocolbuffers/protobuf/issues/9816)) ### Other - Fix versioning issues in 3.20.0 ### [`v3.20.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.20.0): Protocol Buffers v3.20.0 2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) ### Ruby - Dropped Ruby 2.3 and 2.4 support for CI and releases. ([#&#8203;9311](https://redirect.github.com/protocolbuffers/protobuf/issues/9311)) - Added Ruby 3.1 support for CI and releases ([#&#8203;9566](https://redirect.github.com/protocolbuffers/protobuf/issues/9566)). - Message.decode/encode: Add recursion_limit option ([#&#8203;9218](https://redirect.github.com/protocolbuffers/protobuf/issues/9218)/[#&#8203;9486](https://redirect.github.com/protocolbuffers/protobuf/issues/9486)) - Allocate with xrealloc()/xfree() so message allocation is visible to the Ruby GC. In certain tests this leads to much lower memory usage due to more frequent GC runs ([#&#8203;9586](https://redirect.github.com/protocolbuffers/protobuf/issues/9586)). - Fix conversion of singleton classes in Ruby ([#&#8203;9342](https://redirect.github.com/protocolbuffers/protobuf/issues/9342)) - Suppress warning for intentional circular require ([#&#8203;9556](https://redirect.github.com/protocolbuffers/protobuf/issues/9556)) - JSON will now output shorter strings for double and float fields when possible without losing precision. - Encoding and decoding of binary format will now work properly on big-endian systems. - UTF-8 verification was fixed to properly reject surrogate code points. - Unknown enums for proto2 protos now properly implement proto2's behavior of putting such values in unknown fields. ### Java - Revert "Standardize on Array copyOf" ([#&#8203;9400](https://redirect.github.com/protocolbuffers/protobuf/issues/9400)) - Resolve more java field accessor name conflicts ([#&#8203;8198](https://redirect.github.com/protocolbuffers/protobuf/issues/8198)) - Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder} - Fix parseFrom to only throw InvalidProtocolBufferException - InvalidProtocolBufferException now allows arbitrary wrapped Exception types. - Fix bug in `FieldSet.Builder.mergeFrom` - Flush CodedOutputStream also flushes underlying OutputStream - When oneof case is the same and the field type is Message, merge the subfield. (previously it was replaced.)’ - Add [@&#8203;CheckReturnValue](https://redirect.github.com/CheckReturnValue) to some protobuf types - Report original exceptions when parsing JSON - Add more info to [@&#8203;deprecated](https://redirect.github.com/deprecated) javadoc for set/get/has methods - Fix initialization bug in doc comment line numbers - Fix comments for message set wire format. ### Kotlin - Add test scope to kotlin-test for protobuf-kotlin-lite ([#&#8203;9518](https://redirect.github.com/protocolbuffers/protobuf/issues/9518)) - Add orNull extensions for optional message fields. - Add orNull extensions to all proto3 message fields. ### Python - Dropped support for Python < 3.7 ([#&#8203;9480](https://redirect.github.com/protocolbuffers/protobuf/issues/9480)) - Protoc is now able to generate python stubs (.pyi) with --pyi_out - Pin multibuild scripts to get manylinux1 wheels back ([#&#8203;9216](https://redirect.github.com/protocolbuffers/protobuf/issues/9216)) - Fix type annotations of some Duration and Timestamp methods. - Repeated field containers are now generic in field types and could be used in type annotations. \*\[Breaking change] Protobuf python generated codes are simplified. Descriptors and message classes' definitions are now dynamic created in internal/builder.py. Insertion Points for messages classes are discarded. - has_presence is added for FieldDescriptor in python - Loosen indexing type requirements to allow valid **index**() implementations rather than only PyLongObjects. - Fix the deepcopy bug caused by not copying message_listener. - Added python JSON parse recursion limit (default 100) - Path info is added for python JSON parse errors - Pure python repeated scalar fields will not able to pickle. Convert to list first. - Timestamp.ToDatetime() now accepts an optional tzinfo parameter. If specified, the function returns a timezone-aware datetime in the given time zone. If omitted or None, the function returns a timezone-naive UTC datetime (as previously). - Adds client_streaming and server_streaming fields to MethodDescriptor. - Add "ensure_ascii" parameter to json_format.MessageToJson. This allows smaller JSON serializations with UTF-8 or other non-ASCII encodings. - Added experimental support for directly assigning numpy scalars and array. - Improve the calculation of public_dependencies in DescriptorPool. - \[Breaking Change] Disallow setting fields to numpy singleton arrays or repeated fields to numpy multi-dimensional arrays. Numpy arrays should be indexed or flattened explicitly before assignment. ### Compiler - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Rework allocations to power-of-two byte sizes. - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Make TaggedPtr Set...() calls explicitly spell out the content type. - Check for parsing error before verifying UTF8. - Enforce a maximum message nesting limit of 32 in the descriptor builder to guard against stack overflows - Fixed bugs in operators for RepeatedPtrIterator - Assert a maximum map alignment for allocated values - Fix proto1 group extension protodb parsing error - Do not log/report the same descriptor symbol multiple times if it contains more than one invalid character. - Add UnknownFieldSet::SerializeToString and SerializeToCodedStream. - Remove explicit default pointers and deprecated API from protocol compiler ### Arenas - Change Repeated\*Field to reuse memory when using arenas. - Implements pbarenaz for profiling proto arenas - Introduce CreateString() and CreateArenaString() for cleaner semantics - Fix unreferenced parameter for MSVC builds - Add UnsafeSetAllocated to be used for one-of string fields. - Make Arena::AllocateAligned() a public function. - Determine if ArenaDtor related code generation is necessary in one place. - Implement on demand register ArenaDtor for InlinedStringField ### C++ - Enable testing via CTest ([#&#8203;8737](https://redirect.github.com/protocolbuffers/protobuf/issues/8737)) - Add option to use external GTest in CMake ([#&#8203;8736](https://redirect.github.com/protocolbuffers/protobuf/issues/8736)) - CMake: Set correct sonames for libprotobuf-lite.so and libprotoc.so ([#&#8203;8635](https://redirect.github.com/protocolbuffers/protobuf/issues/8635)) ([#&#8203;9529](https://redirect.github.com/protocolbuffers/protobuf/issues/9529)) - Add cmake option `protobuf_INSTALL` to not install files ([#&#8203;7123](https://redirect.github.com/protocolbuffers/protobuf/issues/7123)) - CMake: Allow custom plugin options e.g. to generate mocks ([#&#8203;9105](https://redirect.github.com/protocolbuffers/protobuf/issues/9105)) - CMake: Use linker version scripts ([#&#8203;9545](https://redirect.github.com/protocolbuffers/protobuf/issues/9545)) - Manually \*struct Cord fields to work better with arenas. - Manually destruct map fields. - Generate narrower code - Fix [https://github.com/protocolbuffers/protobuf/issues/9378](https://redirect.github.com/protocolbuffers/protobuf/issues/9378) by removing shadowed *cached_size* field - Remove GetPointer() and explicit nullptr defaults. - Add proto_h flag for speeding up large builds - Add missing overload for reference wrapped fields. - Add MergedDescriptorDatabase::FindAllFileNames() - RepeatedField now defines an iterator type instead of using a pointer. - Remove obsolete macros GOOGLE_PROTOBUF_HAS_ONEOF and GOOGLE_PROTOBUF_HAS_ARENAS. ### PHP - Fix: add missing reserved classnames ([#&#8203;9458](https://redirect.github.com/protocolbuffers/protobuf/issues/9458)) - PHP 8.1 compatibility ([#&#8203;9370](https://redirect.github.com/protocolbuffers/protobuf/issues/9370)) ### C\# - Fix trim warnings ([#&#8203;9182](https://redirect.github.com/protocolbuffers/protobuf/issues/9182)) - Fixes NullReferenceException when accessing FieldDescriptor.IsPacked ([#&#8203;9430](https://redirect.github.com/protocolbuffers/protobuf/issues/9430)) - Add ToProto() method to all descriptor classes ([#&#8203;9426](https://redirect.github.com/protocolbuffers/protobuf/issues/9426)) - Add an option to preserve proto names in JsonFormatter ([#&#8203;6307](https://redirect.github.com/protocolbuffers/protobuf/issues/6307)) ### Objective-C - Add prefix_to_proto_package_mappings_path option. ([#&#8203;9498](https://redirect.github.com/protocolbuffers/protobuf/issues/9498)) - Rename `proto_package_to_prefix_mappings_path` to `package_to_prefix_mappings_path`. ([#&#8203;9552](https://redirect.github.com/protocolbuffers/protobuf/issues/9552)) - Add a generation option to control use of forward declarations in headers. ([#&#8203;9568](https://redirect.github.com/protocolbuffers/protobuf/issues/9568)) ### [`v3.19.4`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.19.4): Protocol Buffers v3.19.4 ### Python - Make libprotobuf symbols local on OSX to fix issue [#&#8203;9395](https://redirect.github.com/protocolbuffers/protobuf/issues/9395) ([#&#8203;9435](https://redirect.github.com/protocolbuffers/protobuf/issues/9435)) ### Ruby - Fixed a data loss bug that could occur when the number of `optional` fields in a message is an exact multiple of 32. ([#&#8203;9440](https://redirect.github.com/protocolbuffers/protobuf/issues/9440)). ### PHP - Fixed a data loss bug that could occur when the number of `optional` fields in a message is an exact multiple of 32. ([#&#8203;9440](https://redirect.github.com/protocolbuffers/protobuf/issues/9440)). ### [`v3.19.3`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.19.3): Protocol Buffers v3.19.3 ### Python - Fix missing Windows wheel for Python 3.10 on PyPI ### [`v3.19.2`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.19.2): Protocol Buffers v3.19.2 ### Java - Improve performance characteristics of UnknownFieldSet parsing ([#&#8203;9371](https://redirect.github.com/protocolbuffers/protobuf/issues/9371)) - This release addresses a [Security Advisory for Java users](https://redirect.github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67) ### [`v3.19.1`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.19.1): Protocol Buffers v3.19.1 ### Bazel - Ensure that release archives contain everything needed for Bazel ([#&#8203;9131](https://redirect.github.com/protocolbuffers/protobuf/issues/9131)) - Align dependency handling with Bazel best practices ([#&#8203;9165](https://redirect.github.com/protocolbuffers/protobuf/issues/9165)) ### JavaScript - Fix `ReferenceError: window is not defined` when getting the global object ([#&#8203;9156](https://redirect.github.com/protocolbuffers/protobuf/issues/9156)) ### Ruby - Fix memory leak in MessageClass.encode ([#&#8203;9150](https://redirect.github.com/protocolbuffers/protobuf/issues/9150)) ### [`v3.19.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.19.0): Protocol Buffers v3.19.0 ### C++ - Make proto2::Message::DiscardUnknownFields() non-virtual - Separate RepeatedPtrField into its own header file - For default floating point values of 0, consider all bits significant - cmake: support `MSVC_RUNTIME_LIBRARY` property ([#&#8203;8851](https://redirect.github.com/protocolbuffers/protobuf/issues/8851)) - Fix shadowing warnings ([#&#8203;8926](https://redirect.github.com/protocolbuffers/protobuf/issues/8926)) - Fix for issue [#&#8203;8484](https://redirect.github.com/protocolbuffers/protobuf/issues/8484), constant initialization doesn't compile in msvc clang-cl environment ([#&#8203;8993](https://redirect.github.com/protocolbuffers/protobuf/issues/8993)) - Fix build on AIX and SunOS ([#&#8203;8373](https://redirect.github.com/protocolbuffers/protobuf/issues/8373)) ([#&#8203;9065](https://redirect.github.com/protocolbuffers/protobuf/issues/9065)) - Add Android stlport and default toolchains to BUILD. ([#&#8203;8290](https://redirect.github.com/protocolbuffers/protobuf/issues/8290)) ### Java - For default floating point values of 0, consider all bits significant - Annotate `//java/com/google/protobuf/util/...` with nullness annotations - Use ArrayList copy constructor ([#&#8203;7853](https://redirect.github.com/protocolbuffers/protobuf/issues/7853)) ### Kotlin - Switch Kotlin proto DSLs to be implemented with inline value classes - Fixing inlining and deprecation for repeated string fields ([#&#8203;9120](https://redirect.github.com/protocolbuffers/protobuf/issues/9120)) ### Python - Proto2 DecodeError now includes message name in error message - Make MessageToDict convert map keys to strings ([#&#8203;8122](https://redirect.github.com/protocolbuffers/protobuf/issues/8122)) - Add python-requires in setup.py ([#&#8203;8989](https://redirect.github.com/protocolbuffers/protobuf/issues/8989)) - Add python 3.10 ([#&#8203;9034](https://redirect.github.com/protocolbuffers/protobuf/issues/9034)) ### JavaScript - Skip exports if not available by CommonJS ([#&#8203;8856](https://redirect.github.com/protocolbuffers/protobuf/issues/8856)) - JS: Comply with CSP no-unsafe-eval. ([#&#8203;8864](https://redirect.github.com/protocolbuffers/protobuf/issues/8864)) ### PHP - Added "object" as a reserved name for PHP ([#&#8203;8962](https://redirect.github.com/protocolbuffers/protobuf/issues/8962)) ### Ruby - Override Map.clone to use Map's dup method ([#&#8203;7938](https://redirect.github.com/protocolbuffers/protobuf/issues/7938)) - Ruby: build extensions for arm64-darwin ([#&#8203;8232](https://redirect.github.com/protocolbuffers/protobuf/issues/8232)) - Add class method Timestamp.from_time to ruby well known types ([#&#8203;8562](https://redirect.github.com/protocolbuffers/protobuf/issues/8562)) - Adopt pure ruby DSL implementation for JRuby ([#&#8203;9047](https://redirect.github.com/protocolbuffers/protobuf/issues/9047)) - Add size to Map class ([#&#8203;8068](https://redirect.github.com/protocolbuffers/protobuf/issues/8068)) - Fix for descriptor_pb.rb: google/protobuf should be required first ([#&#8203;9121](https://redirect.github.com/protocolbuffers/protobuf/issues/9121)) ### C\# - Correctly set ExtensionRegistry when parsing with MessageParser, but using an already existing CodedInputStream ([#&#8203;7246](https://redirect.github.com/protocolbuffers/protobuf/issues/7246)) - \[C#] Make FieldDescriptor propertyName public ([#&#8203;7642](https://redirect.github.com/protocolbuffers/protobuf/issues/7642)) ### [`v3.18.1`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.18.1): Protocol Buffers v3.18.1 ### Python - Update setup.py to reflect that we now require at least Python 3.5 ([#&#8203;8989](https://redirect.github.com/protocolbuffers/protobuf/issues/8989)) - Performance fix for DynamicMessage: force GetRaw() to be inlined ([#&#8203;9023](https://redirect.github.com/protocolbuffers/protobuf/issues/9023)) ### Ruby - Update ruby_generator.cc to allow proto2 imports in proto3 ([#&#8203;9003](https://redirect.github.com/protocolbuffers/protobuf/issues/9003)) ### [`v3.18.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.18.0): Protocol Buffers v3.18.0 ### C++ - Fix warnings raised by clang 11 ([#&#8203;8664](https://redirect.github.com/protocolbuffers/protobuf/issues/8664)) - Make StringPiece constructible from std::string_view ([#&#8203;8707](https://redirect.github.com/protocolbuffers/protobuf/issues/8707)) - Add missing capability attributes for LLVM 12 ([#&#8203;8714](https://redirect.github.com/protocolbuffers/protobuf/issues/8714)) - Stop using std::iterator (deprecated in C++17). ([#&#8203;8741](https://redirect.github.com/protocolbuffers/protobuf/issues/8741)) - Move field_access_listener from libprotobuf-lite to libprotobuf ([#&#8203;8775](https://redirect.github.com/protocolbuffers/protobuf/issues/8775)) - Fix [#&#8203;7047](https://redirect.github.com/protocolbuffers/protobuf/issues/7047) Safely handle setlocale ([#&#8203;8735](https://redirect.github.com/protocolbuffers/protobuf/issues/8735)) - Remove deprecated version of SetTotalBytesLimit() ([#&#8203;8794](https://redirect.github.com/protocolbuffers/protobuf/issues/8794)) - Support arena allocation of google::protobuf::AnyMetadata ([#&#8203;8758](https://redirect.github.com/protocolbuffers/protobuf/issues/8758)) - Fix undefined symbol error around SharedCtor() ([#&#8203;8827](https://redirect.github.com/protocolbuffers/protobuf/issues/8827)) - Fix default value of enum(int) in json_util with proto2 ([#&#8203;8835](https://redirect.github.com/protocolbuffers/protobuf/issues/8835)) - Better Smaller ByteSizeLong - Introduce event filters for inject_field_listener_events - Reduce memory usage of DescriptorPool - For lazy fields copy serialized form when allowed. - Re-introduce the InlinedStringField class - v2 access listener - Reduce padding in the proto's ExtensionRegistry map. - GetExtension performance optimizations - Make tracker a static variable rather than call static functions - Support extensions in field access listener - Annotate MergeFrom for field access listener - Fix incomplete types for field access listener - Add map_entry/new_map_entry to SpecificField in MessageDifferencer. They record the map items which are different in MessageDifferencer's reporter. - Reduce binary size due to fieldless proto messages - TextFormat: ParseInfoTree supports getting field end location in addition to start. - Fix repeated enum extension size in field listener - Enable Any Text Expansion for Descriptors::DebugString() - Switch from int{8,16,32,64} to int{8,16,32,64}\_t ### Java - Fix errorprone conflict ([#&#8203;8723](https://redirect.github.com/protocolbuffers/protobuf/issues/8723)) - Removing deprecated TimeUtil class. ([#&#8203;8749](https://redirect.github.com/protocolbuffers/protobuf/issues/8749)) - Optimized FieldDescriptor.valueOf() to avoid array copying. - Removing deprecated TimeUtil class. - Add Durations.parseUnchecked(String) and Timestamps.parseUnchecked(String) - FieldMaskUtil: Add convenience method to mask the fields out of a given proto. ### JavaScript - Optimize binary parsing of repeated float64 - Fix for optimization when reading doubles from binary wire format - Replace toArray implementation with toJSON. ### PHP - Migrate PHP & Ruby to ABSL wyhash ([#&#8203;8854](https://redirect.github.com/protocolbuffers/protobuf/issues/8854)) - Added support for PHP 8.1 (currently in RC1) to the C extension ([#&#8203;8964](https://redirect.github.com/protocolbuffers/protobuf/issues/8964)) - Fixed PHP SEGV when constructing messages from a destructor. ([#&#8203;8969](https://redirect.github.com/protocolbuffers/protobuf/issues/8969)) ### Ruby - Move DSL implementation from C to pure Ruby ([#&#8203;8850](https://redirect.github.com/protocolbuffers/protobuf/issues/8850)) - Fixed a memory bug with RepeatedField#+. ([#&#8203;8970](https://redirect.github.com/protocolbuffers/protobuf/issues/8970)) ### Python - Drops support for 2.7 and 3.5. ### Other - \[csharp] ByteString.CreateCodedInput should use ArraySegment offset and count ([#&#8203;8740](https://redirect.github.com/protocolbuffers/protobuf/issues/8740)) - \[ObjC] Add support for using the proto package to prefix symbols. ([#&#8203;8760](https://redirect.github.com/protocolbuffers/protobuf/issues/8760)) - field_presence.md: fix Go example ([#&#8203;8788](https://redirect.github.com/protocolbuffers/protobuf/issues/8788)) ### [`v3.17.3`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.17.3): Protocol Buffers v3.17.3 **Python** - Note: This is the last release to support Python 2.7. Future releases will require Python >= 3.5. **C++** - Introduce FieldAccessListener. - Stop emitting boilerplate {Copy/Merge}From in each ProtoBuf class - Fixed some uninitialized variable warnings in generated_message_reflection.cc. **Kotlin** - Fix duplicate proto files error ([#&#8203;8699](https://redirect.github.com/protocolbuffers/protobuf/issues/8699)) **Java** - Fixed parser to check that we are at a proper limit when a sub-message has finished parsing. **General** - Support M1 ([#&#8203;8557](https://redirect.github.com/protocolbuffers/protobuf/issues/8557)) ### [`v3.15.8`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.15.8): Protocol Buffers v3.15.8 ### Ruby - Fixed memory leak of Ruby arena objects ([#&#8203;8461](https://redirect.github.com/protocolbuffers/protobuf/issues/8461)) ### [`v3.15.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.15.0): 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. ### C++ - 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 [https://github.com/protocolbuffers/protobuf/issues/8129](https://redirect.github.com/protocolbuffers/protobuf/issues/8129) - 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 ([#&#8203;7180](https://redirect.github.com/protocolbuffers/protobuf/issues/7180)) - Fix some -Wunused-parameter warnings ([#&#8203;8053](https://redirect.github.com/protocolbuffers/protobuf/issues/8053)) - Fix detecting file as directory on zOS issue [#&#8203;8051](https://redirect.github.com/protocolbuffers/protobuf/issues/8051) ([#&#8203;8052](https://redirect.github.com/protocolbuffers/protobuf/issues/8052)) - Don't include sys/param.h for \_BYTE_ORDER ([#&#8203;8106](https://redirect.github.com/protocolbuffers/protobuf/issues/8106)) - remove CMAKE_THREAD_LIBS_INIT from pkgconfig CFLAGS ([#&#8203;8154](https://redirect.github.com/protocolbuffers/protobuf/issues/8154)) - Fix TextFormatMapTest.DynamicMessage [issue#5136](https://redirect.github.com/issue/protobuf/issues/5136) ([#&#8203;8159](https://redirect.github.com/protocolbuffers/protobuf/issues/8159)) - Fix for compiler warning [issue#8145](https://redirect.github.com/issue/protobuf/issues/8145) ([#&#8203;8160](https://redirect.github.com/protocolbuffers/protobuf/issues/8160)) - fix: support deprecated enums for GCC < 6 ([#&#8203;8164](https://redirect.github.com/protocolbuffers/protobuf/issues/8164)) - Fix some warning when compiling with Visual Studio 2019 on x64 target ([#&#8203;8125](https://redirect.github.com/protocolbuffers/protobuf/issues/8125)) ### Python - Provided an override for the reverse() method that will reverse the internal collection directly instead of using the other methods of the BaseContainer. - MessageFactory.CreateProtoype can be overridden to customize class creation. - Fix PyUnknownFields memory leak ([#&#8203;7928](https://redirect.github.com/protocolbuffers/protobuf/issues/7928)) - Add macOS big sur compatibility ([#&#8203;8126](https://redirect.github.com/protocolbuffers/protobuf/issues/8126)) ### JavaScript - Generate `getDescriptor` methods with `*` as their `this` type. - Enforce `let/const` for generated messages. - js/binary/utils.js: Fix jspb.utils.joinUnsignedDecimalString to work with negative bitsLow and low but non-zero bitsHigh parameter. ([#&#8203;8170](https://redirect.github.com/protocolbuffers/protobuf/issues/8170)) ### PHP - Added support for PHP 8. ([#&#8203;8105](https://redirect.github.com/protocolbuffers/protobuf/issues/8105)) - unregister INI entries and fix invalid read on shutdown ([#&#8203;8042](https://redirect.github.com/protocolbuffers/protobuf/issues/8042)) - Fix PhpDoc comments for message accessors to include "|null". ([#&#8203;8136](https://redirect.github.com/protocolbuffers/protobuf/issues/8136)) - fix: convert native PHP floats to single precision ([#&#8203;8187](https://redirect.github.com/protocolbuffers/protobuf/issues/8187)) - Fixed PHP to support field numbers >=2\*\*28. ([#&#8203;8235](https://redirect.github.com/protocolbuffers/protobuf/issues/8235)) - feat: add support for deprecated fields to PHP compiler ([#&#8203;8223](https://redirect.github.com/protocolbuffers/protobuf/issues/8223)) - Protect against stack overflow if the user derives from Message. ([#&#8203;8248](https://redirect.github.com/protocolbuffers/protobuf/issues/8248)) - Fixed clone for Message, RepeatedField, and MapField. ([#&#8203;8245](https://redirect.github.com/protocolbuffers/protobuf/issues/8245)) - Updated upb to allow nonzero offset minutes in JSON timestamps. ([#&#8203;8258](https://redirect.github.com/protocolbuffers/protobuf/issues/8258)) ### Ruby - Added support for Ruby 3. ([#&#8203;8184](https://redirect.github.com/protocolbuffers/protobuf/issues/8184)) - Rewrote the data storage layer to be based on upb_msg objects from the upb library. This should lead to much better parsing performance, particularly for large messages. ([#&#8203;8184](https://redirect.github.com/protocolbuffers/protobuf/issues/8184)). - Fill out JRuby support ([#&#8203;7923](https://redirect.github.com/protocolbuffers/protobuf/issues/7923)) - \[Ruby] Fix: (SIGSEGV) gRPC-Ruby issue on Windows. memory alloc infinite recursion/run out of memory ([#&#8203;8195](https://redirect.github.com/protocolbuffers/protobuf/issues/8195)) - Fix jruby support to handle messages nested more than 1 level deep ([#&#8203;8194](https://redirect.github.com/protocolbuffers/protobuf/issues/8194)) ### Java - Avoid possible UnsupportedOperationException when using CodedInputSteam with a direct ByteBuffer. - Make Durations.comparator() and Timestamps.comparator() Serializable. - Add more detailed error information for dynamic message field type validation failure - Removed declarations of functions declared in java_names.h from java_helpers.h. - Now Proto3 Oneof fields have "has" methods for checking their presence in Java. - Annotates Java proto generated \*\_FIELD_NUMBER constants. - Add -assumevalues to remove JvmMemoryAccessor on Android. ### C\# - Fix parsing negative Int32Value that crosses segment boundary ([#&#8203;8035](https://redirect.github.com/protocolbuffers/protobuf/issues/8035)) - Change ByteString to use memory and support unsafe create without copy ([#&#8203;7645](https://redirect.github.com/protocolbuffers/protobuf/issues/7645)) - Optimize MapField serialization by removing MessageAdapter ([#&#8203;8143](https://redirect.github.com/protocolbuffers/protobuf/issues/8143)) - Allow FileDescriptors to be parsed with extension registries ([#&#8203;8220](https://redirect.github.com/protocolbuffers/protobuf/issues/8220)) - Optimize writing small strings ([#&#8203;8149](https://redirect.github.com/protocolbuffers/protobuf/issues/8149)) ### [`v3.14.0`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v3.14.0): 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 ([#&#8203;2073](https://redirect.github.com/protocolbuffers/protobuf/issues/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 ([#&#8203;7805](https://redirect.github.com/protocolbuffers/protobuf/issues/7805)) - Adds a CMake option to build `libprotoc` separately ([#&#8203;7949](https://redirect.github.com/protocolbuffers/protobuf/issues/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 ([#&#8203;7738](https://redirect.github.com/protocolbuffers/protobuf/issues/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 ([#&#8203;7783](https://redirect.github.com/protocolbuffers/protobuf/issues/7783)) - Remove uses of pkg_resources in non-namespace packages. ([#&#8203;7902](https://redirect.github.com/protocolbuffers/protobuf/issues/7902)) - \[bazel/py] Omit google/**init**.py from the Protobuf runtime. ([#&#8203;7908](https://redirect.github.com/protocolbuffers/protobuf/issues/7908)) - Removed the unnecessary setuptools package dependency for Python package ([#&#8203;7511](https://redirect.github.com/protocolbuffers/protobuf/issues/7511)) - Fix PyUnknownFields memory leak ([#&#8203;7928](https://redirect.github.com/protocolbuffers/protobuf/issues/7928)) ### PHP - Added support for "==" to the PHP C extension ([#&#8203;7883](https://redirect.github.com/protocolbuffers/protobuf/issues/7883)) - Added `==` operators for Map and Array. ([#&#8203;7900](https://redirect.github.com/protocolbuffers/protobuf/issues/7900)) - Native C well-known types ([#&#8203;7944](https://redirect.github.com/protocolbuffers/protobuf/issues/7944)) - Optimized away hex2bin() call in generated code ([#&#8203;8006](https://redirect.github.com/protocolbuffers/protobuf/issues/8006)) - New version of upb, and a new hash function wyhash in third_party. ([#&#8203;8000](https://redirect.github.com/protocolbuffers/protobuf/issues/8000)) - add missing hasOneof method to check presence of oneof fields ([#&#8203;8003](https://redirect.github.com/protocolbuffers/protobuf/issues/8003)) ### Go - Update go_package options to reference google.golang.org/protobuf module. ### C\# - annotate ByteString.CopyFrom(ReadOnlySpan<byte>) as SecuritySafeCritical ([#&#8203;7701](https://redirect.github.com/protocolbuffers/protobuf/issues/7701)) - Fix C# optional field reflection when there are regular fields too ([#&#8203;7705](https://redirect.github.com/protocolbuffers/protobuf/issues/7705)) - Fix parsing negative Int32Value that crosses segment boundary ([#&#8203;8035](https://redirect.github.com/protocolbuffers/protobuf/issues/8035)) ### Javascript - JS: parse (un)packed fields conditionally ([#&#8203;7379](https://redirect.github.com/protocolbuffers/protobuf/issues/7379)) </details> <details> <summary>sethvargo/ratchet (ratchet)</summary> ### [`v0.11.2`](https://redirect.github.com/sethvargo/ratchet/releases/tag/v0.11.2) #### Changelog - [`5a3e883`](https://redirect.github.com/sethvargo/ratchet/commit/5a3e88314e650616d268b79c21017c548a8d915c): Pass in an auth token for tests (quota) ([#&#8203;109](https://redirect.github.com/sethvargo/ratchet/issues/109)) ([@&#8203;sethvargo](https://redirect.github.com/sethvargo)) - [`d87ef8c`](https://redirect.github.com/sethvargo/ratchet/commit/d87ef8c31f5cc077fdae3b56850f0af88081b830): docs: fix spell errors in readme ([#&#8203;110](https://redirect.github.com/sethvargo/ratchet/issues/110)) ([@&#8203;radar07](https://redirect.github.com/radar07)) - [`fc0c73d`](https://redirect.github.com/sethvargo/ratchet/commit/fc0c73d59509ed101ec54c06d88f7cada2da9381): Set shopt glob to allow files with dots ([#&#8203;111](https://redirect.github.com/sethvargo/ratchet/issues/111)) ([@&#8203;sethvargo](https://redirect.github.com/sethvargo)) - [`74c899c`](https://redirect.github.com/sethvargo/ratchet/commit/74c899c436607f936136d3197661618e246ad153): Include filename and line number in error message ([#&#8203;112](https://redirect.github.com/sethvargo/ratchet/issues/112)) ([@&#8203;sethvargo](https://redirect.github.com/sethvargo)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cashapp/hermit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 16c1214 commit 64d8d62

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
File renamed without changes.
File renamed without changes.

bin/hugo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.hugo-0.145.0.pkg
1+
.hugo-0.147.1.pkg

bin/ratchet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.ratchet-0.11.1.pkg
1+
.ratchet-0.11.2.pkg

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/avvmoto/buf-readerat v0.0.0-20171115124131-a17c8cb89270
1919
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
2020
github.com/creack/pty v1.1.24
21-
github.com/gabriel-vasile/mimetype v1.4.8
21+
github.com/gabriel-vasile/mimetype v1.4.9
2222
github.com/gobwas/glob v0.2.3
2323
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
2424
github.com/klauspost/compress v1.18.0
@@ -29,6 +29,7 @@ require (
2929
github.com/qdm12/reprint v0.0.0-20200326205758-722754a53494
3030
github.com/saracen/go7z v0.0.0-20191010121135-9c09b6bd7fda
3131
github.com/sassoftware/go-rpmutils v0.4.0
32+
github.com/square/exit v1.3.0
3233
github.com/willabides/kongplete v0.4.0
3334
github.com/willdonnelly/passwd v0.0.0-20141013001024-7935dab3074c
3435
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8
@@ -53,7 +54,6 @@ require (
5354
github.com/riywo/loginshell v0.0.0-20200815045211-7d26008be1ab // indirect
5455
github.com/saracen/go7z-fixtures v0.0.0-20190623165746-aa6b8fba1d2f // indirect
5556
github.com/saracen/solidblock v0.0.0-20190426153529-45df20abab6f // indirect
56-
github.com/square/exit v1.3.0 // indirect
5757
github.com/ulikunitz/xz v0.5.12 // indirect
5858
golang.org/x/crypto v0.37.0 // indirect
5959
golang.org/x/text v0.24.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfv
3737
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3838
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
3939
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
40-
github.com/gabriel-vasile/mimetype v1.4.8 h1:FfZ3gj38NjllZIeJAmMhr+qKL8Wu+nOoI3GqacKw1NM=
41-
github.com/gabriel-vasile/mimetype v1.4.8/go.mod h1:ByKUIKGjh1ODkGM1asKUbQZOLGrPjydw3hYPU2YU9t8=
40+
github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY=
41+
github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok=
4242
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
4343
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
4444
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=

0 commit comments

Comments
 (0)