Skip to content

Releases: grpc/grpc-swift

Improved Examples, Removed unneeded CountDownLatch class.

29 Dec 05:32
Compare
Choose a tag to compare

CountDownLatch was removed and replaced with DispatchSemaphore.

More consistent naming with Swift Protobuf

27 Dec 23:35
Compare
Choose a tag to compare

This update adds a dependency on SwiftProtobufPluginLibrary with the goal of using the SwiftProtobufNamer class to generate names that are consistent with the ones used by the Swift Protobuf project. Currently only message names are affected.

It also manually imports code used to determine file names for generated code to allow the default path names of files generated by protoc-gen-swiftgrpc to be more consistent with those from protoc-gen-swift.

Simpler client creation, secure connections are now the default.

22 Dec 23:44
Compare
Choose a tag to compare

Previous versions required a separate "roots.pem" file to be loaded to initialize secure connections. Now this file is built into the library binary (see Sources/gRPC/Roots.swift) so clients no longer have to worry about providing this file.

In a related simplification, the Channel constructor now takes an optional "secure" argument whose default value is true. Note that this will break code that calls the Channel constructor with just an address since previously that created insecure connections. To get an insecure channel, add "secure:false" to your Channel constructor.

Migrating to Swift 4

02 Sep 23:58
Compare
Choose a tag to compare

This release moves from Swift 3 to Swift 4. The update required changes to the modulemap for CgRPC that could break Swift 3 builds. If you still need to build with Swift 3, add the following line to the modulemap:

link "CgRPC"

See the change for more details.

Update to gRPC v1.6.0

02 Sep 17:27
Compare
Choose a tag to compare

The vendored gRPC is now v1.6.0, and the grpc-swift C shim layer compiles with versions of gRPC at least as far back as v1.4.5.

Simplify libz integration

08 Jun 17:41
Compare
Choose a tag to compare

Libz is now included as a source package that is built by the Swift Package Manager. This removes the need to add -lz to Package Manager builds of grpc-swift clients.

End-of-line for Swift 3.0 and swift-protobuf 0.9.24

17 Apr 22:04
Compare
Choose a tag to compare
Merge pull request #42 from johndpope/patch-1

Updates to Runme.sh