Skip to content

Releases: grpc/grpc-swift

gRPC Swift 1.8.0

13 Jun 15:24
466cc88
Compare
Choose a tag to compare

Notable Changes

This release adds support for async/await. Generated code now includes two flavours of clients and services:

  1. a "NIO" variant which existing users will already be familiar with, and
  2. a new "async" variant using Swift's concurrency features.

The "async" variants require Swift 5.6 or newer.

As part of this change, and to support Sendable, the previously generated "NIO" variant clients (which are class based) have been deprecated. They have been replaced with struct based equivalents.


SemVer Minor

SemVer Patch

  • Increase the minimum swift-protobuf version to 1.19.0 (#1376)
  • ConnectionPool Waiter should store its timeout task (#1380)
  • Update formatter (#1381)
  • Update version to 1.8.0 (#1437)

Other Changes

gRPC Swift 1.7.3

25 Mar 09:07
593fe0f
Compare
Choose a tag to compare

SemVer Patch

  • Ignore state machine inputs in unexpected states (#1374)

Other Changes

  • Update allocation limits (#1375)

gRPC Swift 1.7.2

23 Mar 11:22
858f977
Compare
Choose a tag to compare

SemVer Patch

  • protoc-gen-grpc-swift: FileHandle for stdin, stdout (#1361, patch credit to @lrewega)
  • Better handle client sent GOAWAY frames
  • Release stream callback, once the stream has finished (#1363)
  • Bump version number to 1.7.2 (#1372)

Other Changes

  • Enable CI for Swift 5.6 (#1370)

gRPC Swift 1.7.1-async-await.2

10 Mar 15:41
30fd564
Compare
Choose a tag to compare
Pre-release

This release brings the 1.6.0-async-await branch up-to-date with the 1.7.1 release, and fixes an issue with the gRPC Swift 1.7.1-async-await.1 tag, which points to the wrong branch.

Breaking Changes

  • Use requests/requestStream and responses/responseStream consistently. (#1320)
  • Use correct casing when making async calls (#1365)

Other Changes

  • Generate static service metadata (#1322)
  • Allow end stream to be dropped in the async server handler (#1323)
  • Relax availability range and compiler requirements (#1364)

gRPC Swift 1.7.1-async-await.1

02 Mar 16:17
be02b34
Compare
Choose a tag to compare
Pre-release

This release brings the 1.6.0-async-await branch up-to-date with the 1.7.1 release.

Breaking Changes

  • Use requests/requestStream and responses/responseStream consistently. (#1320)
  • Use correct casing when making async calls (#1365)

Other Changes

  • Generate static service metadata (#1322)
  • Allow end stream to be dropped in the async server handler (#1323)
  • Relax availability range and compiler requirements (#1364)

gRPC Swift 1.7.1

11 Feb 11:24
d796174
Compare
Choose a tag to compare

SemVer Patch

  • Update minimum HTTP/2 version (#1359)
  • Bump version number to 1.7.1 (#1360)

gRPC Swift 1.7.0

10 Feb 16:11
393feb7
Compare
Choose a tag to compare

SemVer Minor

  • Add cause to GRPCStatus.processingError for uncaught errors (#1356)

SemVer Patch

  • Tolerate channel error when connecting (#1349)
  • Use trace log level for buffering logs (#1352)
  • Add cause to GRPCStatus.description if it is non-nil (#1357)
  • Bump version number to 1.7.0 (#1358)

Other Changes

  • Update allocation counter limits (#1347)
  • Add more flexibility to perf tests (#1354)
  • Remove perf tests for 5.2 (#1355)

gRPC Swift 1.6.1

15 Dec 14:14
5cc08eb
Compare
Choose a tag to compare

SemVer Patch

  • Delay closing until the next loop tick (#1326)
  • Propagate request ID for channel pool (#1328)
  • Bump version number to 1.6.1 (#1332)

Other Changes

  • Add note to README about installing plugins via Homebrew (#1318, patch credit to @El-Moatasem)
  • Update Cocoapods for 1.6.0 (#1315)
  • Deflake zero length write tests (#1317)

gRPC Swift 1.6.0-async-await.1

26 Nov 09:56
Compare
Choose a tag to compare
Pre-release

This release brings the 1.4.1-async-await.3 release up-to-date with the 1.6.0 release.

Other Changes

  • Extend interoperability tests to use async provider (#1312)

gRPC Swift 1.6.0

15 Nov 11:30
c48b15e
Compare
Choose a tag to compare

SemVer Minor

  • Allow clients to shutdown gracefully (#1308)

SemVer Patch

  • Add 'cause' to more transformed statuses (#1306)
  • Add tests to verify mTLS behaviour (#1307)
  • Use more accurate imports (#1309)
  • Remove client didSet state transition check (#1310)
  • Allow gRPC to be built without NIOSSL (#1311)
  • Bump version number to 1.6.0 (#1314)

Other Changes

  • Upload linux release artifacts (#1295, patch credit to @FranzBusch)
  • Update Cocoapods for 1.5.0 (#1296)
  • Use atomics for counting outstanding RPCs in the QPS benchmark (#1298)
  • Update CI for 5.5 (#1313)