What's Changed
SemVer Minor
- reject repeated @type in google.protobuf.Any json by @uchiha-bug-hunter in #2195
- Add
SwiftProtobufPluginLibrarydescriptor and path utilities by @thomasvl in #2219 - Add per-descriptor lookup helpers to SwiftProtobufPluginLibrary. by @thomasvl in #2220
- Add extension and reserved range/name containment helpers to SwiftProtobufPluginLibrary. by @thomasvl in #2221
- Add extractProto() to non-file descriptors. by @thomasvl in #2222
- Version bump for a release by @thomasvl in #2226
- Expose
featureExtensionsonCodeGeneratorandDescriptorSet. by @thomasvl in #2224 - Bound Any recursion depth when transcoding to JSON and TextFormat by @thomasvl in #2232
SemVer Patch
- Drop swift 6.1 by @Owain94 in #2170
- make json and text format number parsing locale-independent by @uchiha-bug-hunter in #2187
- truncate out-of-range enum values to int32 in binary encoding by @uchiha-bug-hunter in #2198
- skip map entry fields with the wrong wire type in binary decoding by @uchiha-bug-hunter in #2202
- reject out-of-int32-range enum numbers in json decoding by @uchiha-bug-hunter in #2203
- reject text format numbers that run into an identifier or lack hex digits by @uchiha-bug-hunter in #2208
- Truncate out-of-range enum values to int32 in JSON and text encoding. by @thomasvl in #2214
- only use the verbose Any text form for type URLs the parser accepts by @uchiha-bug-hunter in #2212
- Fix two
SwiftProtobufPluginLibrarybugs by @thomasvl in #2218 - reject binary groups truncated before their end-group tag by @uchiha-bug-hunter in #2201
- fix utf-8 corruption when escaping non-ascii json field names by @uchiha-bug-hunter in #2227
Other Changes
- Remove hardcoded list of .proto files in releases. by @thomasvl in #2179
- Unpin the framework test since 6.4.1 should fix the issue. by @thomasvl in #2190
- Document the strtod usage constraints. by @thomasvl in #2191
- Update proto files form upstream. by @thomasvl in #2196
- Work around the sanitizer issue. by @thomasvl in #2210
- Update protos from upstream and regenerate. by @thomasvl in #2225
- Preserve unchanged file timestamps during make
regenerateby @thomasvl in #2231
New Contributors
- @Owain94 made their first contribution in #2170
- @uchiha-bug-hunter made their first contribution in #2187
Full Changelog: 1.39.0...1.40.0