Skip to content

gRPC Swift 2.0.0-alpha.1

Compare
Choose a tag to compare
@glbrntt glbrntt released this 01 Oct 13:58
· 17 commits to main since this release
432c955

πŸš€ The gRPC Swift team is excited to announce the first alpha release of gRPC Swift v2! πŸš€

Highlights 🌟

  • An async/await implementation from the ground up. The new library is built on top of Swift's native concurrency features and takes advantage of structured concurrency to make it easier to reason about your RPCs. It's also built from the ground up to support the Swift 6 language mode.
  • Expressive and easy to use APIs. Our APIs have been designed to be simple to use for newcomers and flexible enough for expert users.
  • Pluggable transport layer. The underlying transport for clients and servers have been abstracted away to a transport layer; SwiftNIO is now an implementation detail and brought in via a separate package, grpc/grpc-swift-nio-transport.
  • Pluggable serialisation. The serialisation layer is also pluggable, support for Swift Protobuf is made available via grpc/grpc-swift-protobuf.
  • Better performance than v1. Benchmarks show that the SwiftNIO based transport for v2 is up to 80% faster than the equivalent benchmarks for gRPC Swift v1.

Getting started πŸ“š

Please note that this is pre-release software, we don't guarantee any API stability and this shouldn't be considered production ready.

To get started with gRPC Swift v2, take a look at our examples and documentation:

Feedback πŸ’¬

If you have any questions or feedback be it good, bad, big, or small please let us know by opening an issue.