swift-protobuf v1.7.0 Release Notes

Release Date: 2019-09-27 // 3 months ago
  • 👍 Complete support for Swift 5.1.

    ➕ Additions to the library:

    • The generated code for descriptor.proto is 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 switch statements for an enum if 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)

Previous changes from v1.6.0

  • ⚡️ Notable updates:

    • Raise a .illegalNull is the top level JSON is null. (#870)
    • Perf: Use new float formatting code (#882)
    • Specify swift_versions in podspec and minimum CocoaPods 1.7.0 version. (#891)