Releases: grpc/grpc-swift
Releases · grpc/grpc-swift
gRPC Swift 1.8.0
Notable Changes
This release adds support for async
/await
. Generated code now includes two flavours of clients and services:
- a "NIO" variant which existing users will already be familiar with, and
- 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
- Add Swift Concurrency flavoured clients and services (#1378, #1379, #1383, #1384, #1386, #1394, #1396, #1403, #1404, #1407, #1410, #1411, #1413, #1414, #1415, #1419, #1422, #1423, #1424, #1426, #1427, #1428, #1429, #1430, #1433, #1434, #1435)
- Allow client/server to be initialised with a connected socket (#1385, patch credit to @jvimal-eg)
- Raise minimum supported Swift version to 5.4 (#1397, #1406)
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
- Add very basic documentation on how to enable compression (#1388, patch credit to @Lutzifer)
- Update Github Actions version to v3 (#1395, patch credit to @Gumichocopengin8)
- Migrate speech to text example app to swift package manager & fix compile errors (#1402, patch credit to @Jake-Prickett)
- Various to CI updates (#1377, #1432, #1390)
- Make all tests discoverable on Linux (#1399, #1431)
gRPC Swift 1.7.3
gRPC Swift 1.7.2
gRPC Swift 1.7.1-async-await.2
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
andresponses
/responseStream
consistently. (#1320) - Use correct casing when making async calls (#1365)
Other Changes
gRPC Swift 1.7.1-async-await.1
gRPC Swift 1.7.1
gRPC Swift 1.7.0
gRPC Swift 1.6.1
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
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
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)