Releases: grpc/grpc-swift-nio-transport
Releases · grpc/grpc-swift-nio-transport
1.0.0-beta.1
What's Changed
See also https://github.com/grpc/grpc-swift/releases/tag/2.0.0-beta.1 for changes to the core package.
✨ Notable changes
- RPC cancellation handler. Service implementers can use
withRPCCancellationHandler(operation:onCancelRPC:)
to register a callback which is invoked when the RPC is cancelled. (#13) - Remote peer information. The server context now contains information about the identity of the remote peer. (#36)
GRPCCore
is no longer@_exported
, this is a breaking change and requires you to add an explicit dependency onGRPCCore
and import it where appropriate. (#25)- Usability improvements when configuring transports. The security configuration is now separate to the transport configuration.
- Allow further TLS configuration when using NIOTS. (#18)
🐛 Bug fixes
- Propagate the authority pseudoheader (#33)
- Close channel on errors (#16)
- Use new descriptor API (#31)
- Ensure user-provided metadata has lowercase keys (#30)
- Delay closing until the next loop tick when gracefully shutting down (#38)
- Make sure we don't write additional DATA frames when flushing once request is finished (#19)
- Surface transient channel errors (#11)
🔧 Other Changes
- Use NIO's new schedule callback API for connection handler timers (#28)
- Add E2E tests with TLS enabled (#12)
- Slacken DoS heuristics for clients (#17)
- Add deployment targets to the package manifest (#10)
- CI improvements (#21, #23, #24, and #35)
- Migrate some tests to swift-testing (#14, #15)
- Remove
#if canImport(NIOSSL)
(#22) - Pre-emptively fix sendability issues with the next NIO release (#26)
- Improve docs (#9)
Full Changelog: 1.0.0-alpha.1...1.0.0-beta.1
gRPC Swift NIO Transport 1.0.0-alpha.1
Please refer to https://github.com/grpc/grpc-swift/releases/tag/2.0.0-alpha.1