Skip to content

Releases: grpc/grpc-swift

gRPC Swift 1.24.1

08 Oct 06:32
3ef3a9f
Compare
Choose a tag to compare

SemVer Minor

  • Raise minimum Swift version to 5.9 (#2064)

SemVer Patch

  • Ensure file path isn't percent encoded in the plugin (#2086)
  • Bump version number to 1.24.0 (#2088)

Other Changes

  • Update branch name in CI (#2087)

gRPC Swift 1.24.0

07 Oct 19:02
d5e0d70
Compare
Choose a tag to compare

⚠️ This release was incorrectly tagged. Please use 1.24.1.

gRPC Swift 2.0.0-alpha.1

01 Oct 13:58
432c955
Compare
Choose a tag to compare

🚀 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.

gRPC Swift 1.23.1

18 Sep 14:52
07123ed
Compare
Choose a tag to compare

SemVer Patch

  • Swift 6-ify the package manifest (#1955)
  • Fix warnings in SwiftPM plugin (#1958)
  • Update to protobuf 1.27.0 (#1973)
  • Improve error message for missing reflection data (#2038)
  • Use SwiftProtobuf's new CodeGenerator interface (#2043)
  • Stop using deprecated protobuf API (#2045)
  • Bump version number to 1.23.1 (#2062)

Other Changes

  • Manually cleanup unix domain socket path in NIOTS test (#1951)
  • Add integ test for SwiftPM plugin (#1956)
  • Move v1 examples to v1 subdirectory (#1963)
  • Update test certs (#1966)
  • Fix broken symlinks (#1988)
  • Update test certs (#1998)
  • Fix tests to work with unreleased swift-nio changes (#2001)
  • Add check that generated code is up-to-date (#2013)
  • Add docc docs for grpc core (#2016)
  • Use Swift 6 to build docs on Swift Package Index (#2020)
  • Move examples to top-level (#2024)
  • Regenerate protos (#2039)
  • Update plugin bundling script (#2053)

gRPC Swift 1.23.0

22 Apr 12:54
6a90b7e
Compare
Choose a tag to compare

SemVer Minor

SemVer Patch

  • Remove GRPCLogger (#1853)
  • Bump version number to 1.23.0 (#1863)

Other Changes

  • Update formatting script (#1845)
  • Update release GitHub workflow action (#1847, #1848)

gRPC Swift 1.22.0

02 Apr 14:14
393b02b
Compare
Choose a tag to compare

SemVer Minor

  • Add a minimum connections configuration to the ConnectionPool (#1822)
  • Raise minimum swift version to 5.8 (#1825)

SemVer Patch

  • Log connection age when closing a connection (#1799)
  • Notify of quiescing when there are no open streams on graceful shutdown (#1819)
  • Update Version.swift (#1846)

Other Changes

gRPC Swift 1.21.1

08 Feb 12:01
5d0cf1c
Compare
Choose a tag to compare

SemVer Patch

  • Fix a bug in protoc-gen-grpc-swift where no output would be produced Client=False,TestClient=True (#1765, patch credit to @severnt)
  • Update metric serialization in logs to send integers as values (#1783, patch credit to @gliush)
  • Better waiter errors with NIOTS (#1775)
  • Use configured connect timeout when retries is none (#1777)
  • Add scripts to fetch and generate protos and update generated files (#1784)
  • Additional logging for connection pool (#1795)
  • Bump version number to 1.21.1 (#1798)

Other Changes

  • Fix format.sh -f printing usage (#1767, patch credit to @severnt)
  • Add reflection service to .spi.yml (#1742)
  • Add benchmark thresholds for nightly (#1743)
  • Update @available annotations in tests to fix build for non-macOS Apple platforms (#1746)

gRPC Swift 1.21.0

11 Dec 09:54
6ade19f
Compare
Choose a tag to compare

SemVer Minor

SemVer Patch

  • Add some missing Sendable annotations (#1702)
  • Avoid invalid state when a connect failed (#1739)
  • Bump version number to 1.21.0 (#1741)

gRPC Swift 1.20.0

01 Nov 15:34
663a852
Compare
Choose a tag to compare

SemVer Minor

  • Drop support for Swift 5.6 (#1657)
  • Make the connection pool error public (#1685)
  • Allow binding to a socket address via the server builder (#1686)
  • Add convenience methods to keepalive to jitter the interval (#1697)

SemVer Patch

  • Switch to swift-format and re-format (#1655)
  • Add missing deque import (#1670)
  • Add support for package visibility modifier to the code generator (#1674)
  • Additional keepalive diagnostics (#1692)
  • Fix last peer initiated stream ID when quiescing (#1700)
  • Bump version number to 1.20.0 (#1701)

Other Changes

gRPC Swift 1.19.1

22 Aug 09:09
84bac65
Compare
Choose a tag to compare

SemVer Patch

  • Update SwiftFormat version (#1639)
  • Revert "Adopt h2handler multiplexer (#1587)" (#1641)
  • Bump version number to 1.19.1 (#1642)