Releases: apple/swift-protobuf
Releases · apple/swift-protobuf
SwiftProtobuf 1.5.0 Release
Complete support for Swift 5.
- Swift5: Fix warnings about loss of precision (#844)
- Drop the support for Swift <4.0. (#847)
- Swift5.0: Change
Data(bytes:)
toData(_:)
. (#848) - Fix build command to work also with Swift 5. (#852)
- Swift 5.0: Switch a stray
Data(bytes:)
toData(_:)
. (#854) - Swift 5: adopt new
Data.withUnsafeBytes
API. (#843)
Update some internals:
Add some features to the library:
SwiftProtobuf 1.4.0 Release
SwiftProtobuf 1.3.1 Release
Minor release to fix building with Swift versions <4.2 (#828).
SwiftProtobuf 1.3.0 Release
- SwiftPM Updates to be in better shape for Swift 5. (#819, #824)
- Code updates for Swift 5 being more strict about some things (#808, #809)
- Avoid generating code that doesn't compile when enum case aliases have naming collisions in their Swift forms (#822)
- Drop support for Swift <=3.1 since 4.2 has been the current GM for a while now. (#825)
SwiftProtobuf 1.2.0 Release
SwiftProtobuf 1.1.2 Release
SwiftProtobuf 1.1.1 Release
SwiftProtobuf 1.1.0 Release
Changes of interest:
- Support for Swift < 3.1 has been dropped. (#736, #765)
- Some fixes around text_format parsing (#738)
- Added missing support for escape sequences in JSON byte data (#744)
- Start taking advantage of the support from conditional conformances (#747, #749, #755)
- Fail for unknown JSON fields, but provide an option to ignore them instead (#771)
- Start Swift 4.2 support (#764, #766). There will be more work for this in future releases.
Note: This release includes a correction to the handing of unknown fields when parsing JSON messages. Previous releases were not matching the Protobuf Spec which calls for unknown fields to error. The spec does allow for an option to request that unknown fields are silently dropped. So this release includes the fix to error for unknown fields, but adds an option to JSONDecodingOptions
to request unknown fields be ignored instead of causing the failure. PR #771 includes these changes and more details.
SwiftProtobuf 1.0.3 Release
SwiftProtobuf 1.0.2 Release
Minor release to provide:
- Updated SwiftPM 4 manifest to expose the plugin library for people writing other plugins (#702)