Releases: grpc/grpc-swift
Use StatusCode enum for status codes, improve handling of unknown messages in generated code.
Improvements made during prototyping of a Swift webserver-to-gRPC proxy.
Improved Examples, Removed unneeded CountDownLatch class.
CountDownLatch was removed and replaced with DispatchSemaphore.
More consistent naming with Swift Protobuf
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.
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
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
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
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
Merge pull request #42 from johndpope/patch-1 Updates to Runme.sh