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)