Releases: apple/swift-protobuf
Releases · apple/swift-protobuf
1.10.2 Release
Minor fix for an accidental api break in the 1.10.0 Release.
- Fixes and version bump to right api break (#1027)
1.10.1 Release
Minor fix for an accidental api break in the 1.10.0 Release.
- Add back the old init signatures. (#1023)
1.10.0 Release
1.9.0 Release
- Better handing of proto identifiers that start with underscores and numbers #947 #954
- Added CMake based build for platforms with SwiftPM #957
- Use
withContiguousStorageIfAvailableforStringencoding inBinaryEncoder#949 - Make setting a repeated extension field to
[]clear it #966 - Declare the
MessageExtensionswith the correct visibility. #969 - Support for new Proto3
optional(this needs aprotocfrom protocolbuffers/protobuf v3.12.0 (or later)) #978 - Provide some more map helpers in the plugin library like the C++ Descriptor. #983
- Move the SwiftProtobuf.xcodeproj build settings into xcconfig files #986
1.8.0 Release
New features/interfaces:
- Add Message binary decoding support from
ContiguousBytes(#914) - Make things generic over
ContiguousBytesand@inlinable(#915, #921)
Notable changes:
- Use heap-based storage only when a Protobuf has a singular transitive recursion (#900)
- Use raw pointers instead of typed pointers (#918)
- Add missing
CaseIterablesupport for nested enums (#923) - Guard against TextFormat encoding of unknowns from overflowing the stack (#927)
Performance related changes:
SwiftProtobuf 1.7.0 Release
Complete support for Swift 5.1.
Additions to the library:
- The generated code for
descriptor.protois now included in the library, this means one no longer has to generate and compile it in if there are proto files that had extension declared on those types. (#727)
Notable changes:
- The Swift 5.1 compiler will error on
switchstatements for anenumif it has a large number of cases; this could happen in the generated code. The generated code now splits things up to avoid this compile error. (#904)
SwiftProtobuf 1.6.0 Release
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.withUnsafeBytesAPI. (#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).