Skip to content

1.27.0 Release

Compare
Choose a tag to compare
@thomasvl thomasvl released this 08 Jul 14:29
· 137 commits to main since this release

What's Changed

This release is the first one to be tagged from main in over two years. It includes many bug fixes, performance improvements, and new features that had not been made available on previous 1.x releases.

You can see the full changelog here, but some of the highlights include:

Bug Fixes and deprecations

  • Enforce 2GB limit when decoding binary data: #1377
  • Stop generating has and clear for repeated extension fields: #944
  • The importPaths SPM option has been removed, since it caused some issues: #1389
  • Remove 'u' suffix support from TextFormat: #1642

New Features

  • Added an async sequence over binary-delimited protobuf: #1434 (by @willtemperley)
  • Introduce a new SwiftProtobufContiguousBytes, to (de)serialise bytes from/into not just Data, but other bag of bytes types, such as [UInt8]
  • Support JSON and TextFormat encoding/decoding on group fields: #1623 and #1624
  • Support 'F' as a suffix for floating point in TextFormat: #1640
  • Support field separators on the last field of a message field: #1641
  • TextFormat decoding options to skip unknown fields/extensions: #1643
  • Allow TextFormat to map extreme doubles to infinity: #1648
  • Support "-nan" in TextFormat: #1651

Other

  • Swift 5.8 is now the minimum supported Swift version: #1210
  • Adopted Sendability throughout the project: #1221