Skip to content

Releases: apple/swift-protobuf

1.22.0 Release

02 Jun 12:44

Choose a tag to compare

What's Changed

  • Pull a few updates to the 1.x branch by @thomasvl in #1384
    • 2GB limits on delimited decode
    • Reading of delimited data in chunks for better performance/error handing
  • Update 1.x podspec to work with Xcode 14.3 by @bnickel in #1403
  • Bump version for a 1.22.0 release. by @thomasvl in #1404
  • Expose implementationOnlyImports option in SPM plugin by @gjcairo in #1406

New Contributors

Full Changelog: 1.21.0...1.22.0

1.21.0 Release

22 Feb 21:39

Choose a tag to compare

What's Changed

  • 1.x branch unknown enums decoding option support by @thomasvl in #1347
  • 1.x branch: Bump the Swift 5.7.0 testing to 5.7.2. by @thomasvl in #1354
  • 1.x branch: Fail to encode google.protobuf.Value number if not finite. by @thomasvl in #1353
  • 1.x branch: Add import paths to SPM Plugin (#1373) by @thomasvl in #1374
  • 1.x branch: Validate length before turning into an Int. by @thomasvl in #1376
  • 1.x branch: bump to 1.21.0 to make a release. by @thomasvl in #1383

Full Changelog: 1.20.3...1.21.0

1.20.3 Release

08 Nov 13:51

Choose a tag to compare

Full Changelog: 1.20.2...1.20.3

1.20.2 Release

23 Sep 16:30

Choose a tag to compare

  • Minor Updates
    • For protoc generator authors (swift-grpc), bring over some descriptor improvements to aid migration. by @thomasvl in #1291

Full Changelog: 1.20.1...1.20.2

1.20.1 Release

26 Aug 16:28

Choose a tag to compare

Full Changelog: 1.20.0...1.20.1

1.20.0 Release

25 Aug 12:51

Choose a tag to compare

Full Changelog: 1.19.1...1.20.0

1.19.1 Release

01 Aug 16:03

Choose a tag to compare

  • Minor Updates
    • Back port negative duration #1260

Full Changelog: 1.19.0...1.19.1

1.19.0 Release

02 Mar 21:05

Choose a tag to compare

  • Major Updates
    • SwiftWasm compilable #1192
    • Sendable conformance on Messages without library changes #1208 & #1213
  • Minor Updates
    • Swift format lint issues #1199
    • Visit extensions improvement #1201 (smaller codegen)
    • Tweak generation for messages with only extension ranges. #1202 (codegen change to help compilation performance)

1.18.0 Release

27 Sep 15:04

Choose a tag to compare

  • Minor Updates
    • Support JSON ignoreUnknownFields within WKTs. #1172
    • Handle writing out json when the value is empty/zero bytes and no type. #1167
  • Fixes from fuzz testing:
    • Handle skipping a JSON object that ends after the open brace. #1165
    • When skipping a varint for an unknown field, ensure it is valid. #1169
    • Rework JSON skipping so it's not recursive for nested arrays #1178
    • Track recursion depth for nested JSON ListValue structures #1179
    • Uses same workaround for stack sizes in non optimized builds. #1183
    • Reject fieldmasks that have non-ASCII characters for JSON #1185
    • Don't overrun string when parsing timestamps #1186

1.17.0 Release

14 May 16:17

Choose a tag to compare

  • Significant Change
    • TextFormatDecodingError has a new error case to got with a recursion limit for TextFormat decoding (add safety found via fuzz testing for potential bogus input trying trigger stack overflow #1132), if you have any switch states on all the cases, this is a breaking change in that you must handle the new case.
  • Fixes from fuzz testing:
    • Fix octal TextFormat decoding failure #1124
    • Avoid walking off the end of the buffer in two parsing cases. #1126
    • Add TextFormatDecodingOptions and implement a recursion limit. #1132
    • Don't walk off the end of the buffer during a unicode bytes decode. #1136
  • Minor Updates
    • Change oneof enforcement to allow null (found via upstream conformance test requirements) #1135
    • Allow proto3_optional for extensions. #1138
    • Some edge case speed improvements:
      • Add modify operation to ExtensionFieldValueSet. #1137
      • Don't do characterwise-compares if not needed. #1145
      • Clear previous contents before decoding Any from TextFormat #1147