Skip to content

gRPC Swift 1.0.0-alpha.18

Pre-release
Pre-release
Compare
Choose a tag to compare
@glbrntt glbrntt released this 07 Aug 08:51
· 878 commits to main since this release
46d1a29

This release includes breaking changes to the ServerErrorDelegate protocol. The functions transformLibraryError(_:) and transformRequestHandlerError(_:) now return the GRPCStatus and HTTPHeaders: this allows users to send additional metatada to clients. The original API returning just GRPCStatus has been deprecated and will be removed prior to 1.0.0.

As part of this release, gRPC will no longer log by default. A logger must be provided to gRPC in order for logs to be emitted.

SemVer Major

  • Allow the server error delegate to return HTTPHeaders in addition to the gRPC status in order to allow for additional metatada to be sent to the client. (#873, patch credit to @FranzBusch)

SemVer Minor

  • Added configuration to allow for loggers to be specified on the client and server (#902)
  • Added configuration to allow clients and servers to provide a debugging channel initializer (#908, #911)

SemVer Patch

  • Mitigate an issue where insecure connections using Network.framework may stall in the event of zero-length writes. (#917)
  • Removed some unnecessary copy-on-writes (#906)
  • Reduced code duplication between builders and configuration (#907)
  • Update to SwiftNIO HTTP/2 1.13.0 (#922)
  • Switch a numericCast to the required type (#920)

Other Changes