The Swift language implementation of gRPC.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by glbrntt over 4 years ago
In order to support payloads other than Protocol Buffers, for example Flatbuffers, it was necessary for much of the surface API to be generic over a new protocol, GRPCPayload
instead of Message
. This therefore requires that services are regenerated.
We also took this opportunity to address the interface between the generated code and runtime library: clients previously relied on ClientConnection
for transport, they now rely on an something conforming to GRPClient
; such as ClientConnection
.
Generated clients have also had "Service" removed from their name. For example, the client for the Bar
service in the Foo
package would previously have been generated as Foo_BarServiceClient
and will now be generated as Foo_BarClient
. If you have multiple references to generated clients in your code which need updating it is possible to create a deprecated type alias such that Xcode will provide fixits:
@available(*, deprecated, renamed: "Foo_BarClient")
typealias Foo_BarServiceClient = Foo_BarClient
The list of supported platforms has now been added to Package.swift
; dependents using Swift Package Manager must now also declare their supported platforms.
Published by glbrntt almost 5 years ago
⚠️ This release contains a number of API breaking changes. ⚠️
Many of the types which should be implementation details are now either internal
or private
. Similarly, a number of components have been refactored to be extensible in a way which doesn't break the API in the future.
In addition to the API changes:
API Changes:
Published by glbrntt almost 5 years ago
ClientErrorDelegate
must now accept an additional argument logger
in didCatchError
.Published by glbrntt almost 5 years ago
Important: this change contains breaking changes to the generated client code.
Published by MrMage almost 5 years ago
Published by glbrntt about 5 years ago
Published by glbrntt about 5 years ago
Published by glbrntt about 5 years ago
Published by MrMage about 5 years ago
Published by MrMage about 5 years ago
Major Changes:
onNext
from connectivity state delegate (#506)Patches:
Published by MrMage over 5 years ago
Relevant for library users:
Less visible changes:
Published by MrMage over 5 years ago
First "official" preview of SwiftGRPC based on SwiftNIOHTTP2. See README.md
for a guide to the library's new interface.
Published by rebello95 over 5 years ago
This release contains fixes for Swift 5 warnings that were emitted by SwiftGRPC
and SwiftProtobuf
.
swiftc
argument to use static Swift libraries. (#424) - Daniel Alm (6bbc15c)Published by timburks over 5 years ago
Update vendored gRPC-core to v1.19.1. This commit also fixes a few minor problems in the vendoring
scripts and updates a call in shim/channel.c to use a modified API.
Update ClientCancellingTests to give clients more time to cancel before the server finishes streaming.
Update Roots.swift to use the latest roots.pem from gRPC.
Add SleepingEchoProvider
.
Updating podspec. gRPC-Core dependency is v1.19.0. There was no podspec published for gRPC-Core v1.19.1
but it has no changes in the C layer: vendoring v1.19.0 yields the same code as vendoring v1.19.1.
Changes from running "make project-carthage"
Published by rebello95 over 5 years ago
NIOClientTimeoutTests.testBidirectionalStreamingTimeoutAfterSending
on Linux for now (#409) - Daniel Alm (4df501a)ServerCallContext
protocol … (#389) - Daniel Alm (c082197)Published by rebello95 over 5 years ago
Published by rebello95 almost 6 years ago
protoc
plugins and add a make plugin
option. (48c274f - Daniel Alm)build-carthage
to the beginning of the build process for faster CI iteration times on failing Carthage builds. (8cd1420 - Daniel Alm)Published by rebello95 almost 6 years ago
Published by rebello95 almost 6 years ago
make clean
and switch to Carthage debug builds on CI for improved performance. (3e8720e - Daniel Alm)Published by rebello95 almost 6 years ago
Metadata.description
with Metadata.dictionaryRepresentation.description
. (588963a - Daniel Alm)