Skip to content

Releases: apple/swift-protobuf

1.28.2 Release

02 Oct 18:24
Compare
Choose a tag to compare

Despite the large diffs (caused by adopting swift-format), the actual changes are small:

  • Change default of useAccessLevelOnImports to always be false by @gjcairo in #1711
  • Silence a warning when using Xcode 16/Swift6 toolchain. by @thomasvl in #1717

What's Changed

Full Changelog: 1.28.1...1.28.2

1.28.1 Release

30 Aug 17:20
Compare
Choose a tag to compare

This is a follow up that addresses some issues in the generated code when using access levels on imports.

What's Changed

Full Changelog: 1.28.0...1.28.1

1.28.0 Release

26 Aug 16:55
Compare
Choose a tag to compare

What's Changed

  • Update links for repositories moved to the swiftlang org on GitHub by @lamtrinhdev in #1682
  • Add missing periods and correct the typos. by @lamtrinhdev in #1684
  • Range check timestamps on all parsing paths. by @thomasvl in #1686
  • Enhance code block format in README.md by @lamtrinhdev in #1687
  • Add a plugin api for extracting back out the descriptor proto. by @thomasvl in #1690
  • Rename CI checkout directory from main to swift-protobuf and update tools version in PluginExamples Package.swift by @gjcairo in #1689
  • Support access level on import statements by @Skoti in #1683
  • Disable swiftlint AND swift-format checking by @tbkka in #1627
  • Add FieldMask utilities to Message types by @pouyayarandi in #1505
  • Documentation for fieldmask utilities by @pouyayarandi in #1693
  • Pin docc to a version that works for older swift versions. by @thomasvl in #1696

New Contributors

Full Changelog: 1.27.1...1.28.0

1.27.1 Release

23 Jul 16:55
Compare
Choose a tag to compare

Note: There are no changes to generated code or library in this released compared to 1.27.0. The only changes are related to the interface exposed for writing protoc plugins in Swift.

What's Changed

New Contributors

Full Changelog: 1.27.0...1.27.1

1.27.0 Release

08 Jul 14:29
Compare
Choose a tag to compare

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

1.26.0 Release

27 Mar 18:07
Compare
Choose a tag to compare

Note: This is the first release that includes support for a Privacy Manifest.

What's Changed

Full Changelog: 1.25.2...1.26.0

1.25.2 Release

29 Nov 18:42
65e8f29
Compare
Choose a tag to compare

What's Changed

  • Fix ordering bug in MessageSet parsing (1.x branch) by @thomasvl in #1513
  • Version bump to do a release with the messageset fix. (1.x branch) by @thomasvl in #1515

Full Changelog: 1.25.1...1.25.2

1.25.1 Release

31 Oct 14:37
Compare
Choose a tag to compare

No function changes, just fixes the checked in Xcode project file.

What's Changed

  • Add the new files for the Xcode project on the 1.x branch. by @thomasvl in #1494

Full Changelog: 1.25.0...1.25.1

1.25.0 Release

27 Oct 17:23
Compare
Choose a tag to compare

What's Changed

  • 1.x branch Better Plugin Support by @thomasvl in #1485
  • Add useDeterministicOrdering opt-in option to JSON + Binary encoding by @rebello95 in #1487

Full Changelog: 1.24.0...1.25.0

1.24.0 Release

28 Sep 16:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.23.0...1.24.0