Releases: apple/swift-protobuf
1.28.2 Release
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
- Make README clearer about
serializedBytes()
by @gjcairo in #1710 - Add CompileTests for InternalImportsByDefault by @gjcairo in #1709
- Change default of useAccessLevelOnImports to always be false by @gjcairo in #1711
- Set up for swift-format by @thomasvl in #1712
- Add a blame ignore for the formatting. by @thomasvl in #1713
- Update proto files from upstream by @thomasvl in #1714
- Silence a warning when using Xcode 16/Swift6 toolchain. by @thomasvl in #1717
- Add Swift 6 toolchains to CI. by @thomasvl in #1718
- Drop docc dep. by @thomasvl in #1720
- [docs] Fix typo for Xcode that is consistent with others at
PLUGIN.md
. by @lamtrinhdev in #1722 - Some swift-format lint fixes by @thomasvl in #1721
- Add two more formatting fixes to the blame ignore. by @thomasvl in #1723
- Allow block comments for the table in the code. by @thomasvl in #1724
- Resolve some more swift-format lint issues. by @thomasvl in #1725
- Update proto files from upstream. by @thomasvl in #1726
- Move the 6.0 workflows to 6.0.1. by @thomasvl in #1727
- Version bump for a release. by @thomasvl in #1728
Full Changelog: 1.28.1...1.28.2
1.28.1 Release
This is a follow up that addresses some issues in the generated code when using access levels on imports.
What's Changed
- Fix Foundation import's access level in generated code by @gjcairo in #1701
- Less generation when no messages, enums, or extensions. by @thomasvl in #1703
- Conditional foundation import by @thomasvl in #1704
- Missed comments on #1704. by @thomasvl in #1705
- Revert "Pin docc to a version that works for older swift versions." by @thomasvl in #1706
- Revise empty file support for
import public
by @thomasvl in #1707 - Version bump for a release. by @thomasvl in #1708
Full Changelog: 1.28.0...1.28.1
1.28.0 Release
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
- @lamtrinhdev made their first contribution in #1682
- @Skoti made their first contribution in #1683
- @pouyayarandi made their first contribution in #1505
Full Changelog: 1.27.1...1.28.0
1.27.1 Release
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
- Update the api check. by @thomasvl in #1670
- Move api check to just against main. by @thomasvl in #1672
- Revert "Use older base image for sanitizer and fuzz testing." by @thomasvl in #1671
- Update the CI swift images. by @thomasvl in #1673
- Fix typos in deprecation messages by @gjcairo in #1675
- Update README.md by @Archish27 in #1674
- Let CodeGenerators provide extension for CustomOptions. by @thomasvl in #1679
- Fix FuzzTests unit tests by @gjcairo in #1680
- Version bump for a release. by @thomasvl in #1681
New Contributors
- @Archish27 made their first contribution in #1674
Full Changelog: 1.27.0...1.27.1
1.27.0 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
andclear
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
1.26.0 Release
Note: This is the first release that includes support for a Privacy Manifest.
What's Changed
- Update upstream proto files on the 1.x branch. by @thomasvl in #1523
- Don't allow implementationOnly with package visibility. (1.x branch) by @thomasvl in #1532
- Update CI from 5.9.1 to 5.9.2 for the 1.x branch. by @thomasvl in #1534
- Update the proto files from upstream for the 1.x branch by @thomasvl in #1538
- Move to actions/checkout@v4 (on 1.x branch). by @thomasvl in #1544
- Add SwiftPM diagnose-api-breaking-changes check to 1_x branch. by @thomasvl in #1546
- Update upstream protos 1.x branch by @thomasvl in #1557
- [1_x_release_branch] Include "empty" privacy manifest file by @tbkka in #1566
- make fuzz and sanitizer tests not break CI. by @thomasvl in #1578
- Work around the Fuzz & Sanitizer issues on the 1.x branch by @thomasvl in #1581
- Add swift 5.10 to CI to the 1.x branch. by @thomasvl in #1570
- Drop a test on 1.x branch by @thomasvl in #1591
- Version bump to enable a release. by @thomasvl in #1584
- Pull the concurrency warnings fixes to the 1.x branch by @thomasvl in #1583
- Update xcodeproj on 1.x branch by @glbrntt in #1593
- Update proto files on the 1.x branch by @thomasvl in #1600
Full Changelog: 1.25.2...1.26.0
1.25.2 Release
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
No function changes, just fixes the checked in Xcode project file.
What's Changed
Full Changelog: 1.25.0...1.25.1
1.25.0 Release
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