summaryrefslogtreecommitdiff
path: root/net/grpc
AgeCommit message (Collapse)AuthorFilesLines
2020-12-06grpc: update to 1.34.0.wiz3-26/+26
This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Protect xds security code with the environment variable "GRPC_XDS_EXPERIMENTAL_SECURITY_SUPPORT". (#24782) Add support for "unix-abstract:" URIs to support abstract unix domain sockets. (#24500) Increment Index when parsing not plumbed SAN fields. (#24601) Revert "Revert "Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS"". (#24518) xds: Set status code to INVALID_ARGUMENT when NACKing. (#24516) Include stddef.h in address_sorting.h. (#24514) xds: Add support for case_sensitive option in RouteMatch. (#24381) Removing TLS workaround for Android NDK r12b. (#24283) C++ Fix --define=grpc_no_xds=true builds. (#24503) Experimental support and tests for CreateCustomInsecureChannelWithInterceptorsFromFd. (#24362)
2020-10-30grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.33.2adam2-7/+7
Release v1.33.2 Please see the notes for the previous releases here: https://github.com/grpc/grpc/releases. Please consult https://grpc.io/ for all information regarding this product. This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS. Expose Cronet error message to the application layer. Remove grpc_channel_ping from surface API. Do not send BDP pings if there is no receive side activity. C++ Makefile: only support building deps from submodule. C# Add trimming attribute to BindServiceMethodAttribute. Fix incremental build of csproj projects depending on grpc. Python [Backport] Implement grpc.Future interface in SingleThreadedRendezvous. [Backport] Make Python 2 an optional dependency for Bazel build. Allow asyncio API to be imported as grpc.aio. [gRPC Easy] Fix import errors on Windows. Make version check for importlib.abc in grpcio-tools more stringent.
2020-10-21grpc: updated to 1.33.1adam3-34/+19
Release v1.33.1 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS. Expose Cronet error message to the application layer. Remove grpc_channel_ping from surface API. Do not send BDP pings if there is no receive side activity. C++ Makefile: only support building deps from submodule. C# Add trimming attribute to BindServiceMethodAttribute. Fix incremental build of csproj projects depending on grpc. Python [Backport] Make Python 2 an optional dependency for Bazel build. Allow asyncio API to be imported as grpc.aio. [gRPC Easy] Fix import errors on Windows. Make version check for importlib.abc in grpcio-tools more stringent.
2020-09-10grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.32.0adam3-27/+18
Release v1.32.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Remove stream from stalled lists on remove_stream. Do not cancel RPC if send metadata size if larger than peer's limit. Don't consider receiving non-OK status as an error for HTTP2. Keepalive throttling. Include the target_uri in "target uri is not valid" error messages. Fix "cannot send compressed message large than 1024B" in cronet_transport. Receive SETTINGS frame on clients before declaring subchannel READY. Enabled GPR_ABSEIL_SYNC. Experimental xDS v3 support. C++ Upgrade bazel used for all tests to 2.2.0. Remove test targets and test helper libraries from Makefile. Fix repeated builds broken by re2's cmake. Log the peer address of grpc_cli CallMethod RPCs to stderr. Python [gRPC Easy] GA: This release enables runtime import of .proto Files. (gRFC, PR) Together with support for simple stubs present since 1.29, this completes gRPC Easy. To start using these features, take a look at the example. If using simple stubs without runtime proto import, generated code must be regenerated with an up-to-date version of the grpcio-tools package. [Aio] Graduation from experimental folder. [Aio] Prevent call objects from outliving its parent channel or server. [Aio] Add a fail-back polling mode for Windows+3.8+. Raises an exception when port binding failed. Implement compute_engine_channel_credentials in Python. Fix bazel out directory when using external repo.
2020-08-24grpc: update to 1.31.1.wiz2-7/+7
This release is a patch specifically for the Ruby bindings, which adds two backported PRs: Backport "Ruby: use absolute module name for request/response namespaces" to 1.31.x (#23830) Backport "Copy channel args hash before appending ruby user agent" to 1.31.x (#23826)
2020-08-07grpc: updated to 1.31.0adam4-30/+24
Release v1.31.0 Core The following new xDS functionality is added in this release: Requests matching based on path (prefix, full path and safe regex) and headers. Requests routing to multiple clusters based on weights. The features supported in a given release are documented here. Other changes: Remove MAX_EPOLL_EVENTS_HANDLED_EACH_POLL_CALL to ensure timely processing of events. Include the target name in top-level DNS error messages. Remove xds-experimental URI scheme. fix memory leak of grpc_resource_user_quota. Store ref to the ExternalConnectivityWatcher in external_watchers_ map. Update grpclb configuration with field "service_name". Fix possible deadlock in RemoveExternalConnectivityWatcher. Enable TLS 1.3 in the C-core and all wrapped languages. Add message-size check before message decompression with ordering change. Fix race condition caused by simultaneous updates on SSL server handshaker. Add missing reset for ping clocks to avoid mistakenly sending GOAWAY frames due to 'too_many_pings'. C++ Simplify makefile: Get rid of "install" rules with pure make, recommend cmake and bazel instead. Replaced grpc::string with std::string. Fix wrong version in gRPCConfigVersion.cmake and grpc++*.pc. Python [Aio] Support tuple and aio.Metadata interaction. [Aio] Allows poller to bind to ephemeral loops in multiple threads. [Aio] Hide init_grpc_aio and guard async API outside of AsyncIO context. [Aio] Implement methods to access auth context and peer info. Add protobuf as an "extras" dependency to grpcio package. [Aio] Use Metadata type. Avoid attribute error in del of _ChannelCallState. Default wait_for_ready to True in simple stubs. Propagate contextvars to auxiliary threads. Simplify channel credentials in simple stubs.
2020-07-31grpc: update to 1.30.2.wiz2-7/+7
This is the 1.30.2 release (gradius) of gRPC Core. Please see the notes for the previous releases here: https://github.com/grpc/grpc/releases. Please consult https://grpc.io/ for all information regarding this product. This release is a patch specifically for the Ruby plugin to address #23490 Ruby Fix ruby protoc plugin when message is in another package (#23501)
2020-07-09grpc: updated to 1.30.1adam2-7/+7
Release v1.30.1 This release is a patch specifically for the Ruby bindings Release v1.30.0 Core This release adds an xDS URI scheme called xds. This is the stable version of the scheme xds-experimental that was introduced in v1.28.0. xds-experimental scheme will be removed in subsequent releases so you must switch to xds scheme instead. xds scheme is a client side implementation of xDSv2 APIs. This allows a gRPC client written in C++, Python, Ruby, PHP and C# to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching, default path (“” or “/”) matching and cluster route action are supported. The features supported in a given release are documented here. Remove unnamed typedef structs in src/core. Support xDS via both xds and xds-experimental URI schemes. Fix sorting of gRPCLB addresses when resolved via DNS. Support local creds in grpc_cli. Add some additional delay when sending pings without there being activity on receive side. Added GRPC_TSAN_SUPPRESSED and GRPC_ASAN_SUPPRESSED. Fail decompression when the gzip trailer is missing. Include source address in tcp posix async connect errors. Fix HTTP status conversion inconsistencies. Add GRPC_ARG_HTTP_PROXY channel argument. Include the query type and name in all c-ares DNS error messages. Include the destination address in synchronous TCP connect errors. Use aligned calculation to determine transport stream from call data. Fixing bug with END_STREAM if header has continuations. Fail writes when End of stream has been received. C++ Fix missing include for std::string. Don't override cmake cxx standard when already set by the user. Grpc.Tools: Fix cpp paths in tools to match actual codegen. TlsCredentialsOption API optimization. Fixed MinGW 7.3.0 shared library compile and link issues. Fix interceptor batch method FailHijackedRecvMessage for async APIs. Python Add Aio stream stream client interceptor support. [Aio] Add AsyncIO support for Channelz. Stop memory leak when Python channel is deallocated without invoking "close". Expose ALTS client/server credentials in Python API. [Aio] Stream Unary client interceptor. [Aio] Make sync handlers runnable in AsyncIO server. [Aio] Add AsyncIO support to grpcio-status. [Aio] Implement the Unary Stream client interceptor.
2020-06-13grpc: needs 64-bit atomic opsnia1-1/+9
2020-06-03grpc: updated to 1.29.1adam3-22/+19
Release v1.29.1 PHP PHP: Fix include path for boringssl in windows build Objective-C --grpc_out: protoc-gen-grpc: Plugin killed by signal 6. Release v1.29.0 Core Move decompression into gRPC Core. Introduce CFRunLoop based iomgr. Add option for logging keepalive pings. Clamp the receive flow control window size to ((1 << 31) - 1). CallCredentials debug string API. C++ Append to CMAKE_MODULE_PATH instead of replacing it. Clean way to enable C and C++ standards in cmake. Autogenerate build.yaml equivalent from bazel BUILD metadata (with bazel query xml).
2020-04-04grpc: updated to 1.28.1adam3-8/+10
Release v1.28.1 This release is a patch specifically for the Python bindings to address 22546. Python Backport 22549 to 1.28 (Only load simple stubs code on 3.6+ interpreters). Release v1.28.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core feat: add x-goog-user-project header from quota_project_id field. Reintroduce 21527 (boringssl submodule unification - take two). Reintroduce 21527 (boringssl submodule unification). Treat an empty http_proxy mean "Don't use proxy" and skip parsing it. C++ This release adds an experimental client side implementation of xDSv2 APIs. This allows a gRPC client written in C++ to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching and cluster route action is supported. More features will be added in future. Cherrypick 22147: xds: send no-overprovisioning client capability and populate user_agent fields. Fix regression in MSVC runtime flag. Unify boringssl submodules and use non-developer boringssl cmake build. Objective-C Fix ObjC memory consumption increase as app runs. Python Backport Simple Stubs Codegen to 1.28. [Aio] Generate gRPC AsyncIO API Reference. Experimental: Implement Top-Level Invocation Functions Not Requiring an Explicit Channel. [Aio] Implement health checking servicer in AsyncIO. [Aio] Prohibit mixing two styles of API on client side. [Aio] Add channel_ready helper function. [Aio] Support compression for both client and server. [Aio] Close ongoing calls when the channel is closed. [Aio] Fix the server credentials & improve socket implementation. [Aio] Support wait-for-ready mechanism. [Aio] Fix the windows build failure. Stop building manylinux1 images. [Aio] Move status and initial metadata handling to Cython. Ruby Backport to 1.28.x: add ruby 2.7 to mac binary pkgs. Add ruby-2.7 to build process of binary gems for Windows and Linux.
2020-03-15grpc: updated to 1.27.3adam4-52/+22
Release v1.27.3 This is a patch release for the gRPC-C++.
2020-02-14grpc: updated to 1.27.2adam2-7/+7
Release v1.27.2 This is a patch release for the gRPC-Python.
2020-02-10grpc: updated to 1.27.1adam2-7/+7
Release v1.27.1 This release contains refinements, improvements, and bug fixes. Python Temporarily Readd Manylinux1 Support.
2020-02-06grpc: updated to 1.27.0adam4-15/+22
Release v1.27.0 Core fix build with OpenSSL1.1.1+ on Windows. Add a new submodule libuv v1.34.0. grpclb: Add support for balancer telling client to enter fallback mode. Bare bones of the libuv EventManager. Allow default use of system root certs on Android. C++ Backport: Fix regression in MSVC runtime flag (for v1.27.x). Add Support for Full Chain Callbacks - experimental namespace. Improve documentation for building with CMake. Conditionally enable OPENSSL_NO_ASM for Visual Studio. Allow gRPC_INSTALL with module providers. Add Findc-ares.cmake module. Census client filter: use current span and tags. Improve & update BUILDING.md.
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin1-1/+2
2020-01-05grpc: Add a version number to libupb tooleot3-6/+7
Fixes PLIST mismatches.
2020-01-03grpc: updated to 1.26.0adam5-22/+27
Release v1.26.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Fix compression filter crash on empty payload. Ensure awake pollset_work threads exist on Windows. Disable client_idle_filter. Remove gpr_get/set_allocation_functions. Security audit response. C++ Automatically disable testing frameworks if gRPC_BUILD_TESTS=OFF. Do not build channelz when gRPC_USE_PROTO_LITE. Add options for all codegen plugins. gRPC-C++ podspec follows gRPC versioning. Issue 19208: Fix pollset_set_del_fd to cleanup all fd references. De-duplicate .proto file processing. cmake: Add VERSION and SOVERSION properties to libraries. Python Release Python3.8 wheels for Windows. Release Python3.8 wheel on macOS. Fix issue with exception being out of scope in Python 3. [AIO] Implement the shutdown process for AIO server and completion queue. Attempt to drop support for Python 3.4. AIO Unified call interface. Make sure Core aware of gevent Cython objects. [bazel] Add an ability to call an optional custom plugin for py_proto_library and py_grpc_library.
2019-11-06grpc: updated to 1.25.0adam3-8/+15
Release v1.25.0 Core Change RR to consider a subchannel in TF if it has failed since it was READY. Fix a use after free in c-ares on Windows. C++ Honor CARES_ROOT_DIR. Make cmake grpc.pc depend on openssl too. Create pkg-config files from CMake. Add C++ wrapper for SPIFFE credentials v2. Upgrade bazel to 0.29.1. Python Add experimental option to run unary-stream RPCs on a single Python thread. [AIO] Minimal AsyncIO Server. Switch to concrete classes in experimental asyncio. Add manylinux2010_x86 wheels into artifacts. Release 3.8 binary wheels. Make grpc_testing's Servicer context abort method stop execution of the servicer handler. Build Python wheels with tag manylinux2010. Add experimental support for asyncio unary client.
2019-10-24grpc: updated to 1.24.3adam3-8/+9
Release v1.24.3 This release contains refinements, improvements, and bug fixes. Release v1.24.2 This release contains refinements, improvements, and bug fixes. Release v1.24.1 This release contains refinements, improvements, and bug fixes. Release v1.24.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core gRPC Core starts to have a dependency against the C++ standard library such as libstdc++.so depending on the platform. This applies to all wrapped libraries and they have this new dependency, too. (For more detail, see the proposal) Remove call from queued picks when failing it due to channel destruction. Catch the error if socket initialization fails. Do not create streams after a GOAWAY has been received. Prevent HTTP2 parser from queueing a lot of induced frames. Send RPC deadline to server in cronet header. Mandate static string for host and method passed to grpc_channel_register. Fail SEND_MESSAGE ops if stream is closed for writes. Add Delegating Channel. C++ Allow call credentials interception at PRE_SEND_INITIAL_METADATA. Upgrade to Bazel 0.29 (including Windows RBE). Update Google Benchmark v1.5.0 to get CMake < 3.6 fix. Fix a big source of races in CHTTP2 code. Channel idleness atomic. Update C++ code generation to work with Bazel 0.29 .
2019-10-03grpc: updated to 1.23.1adam2-7/+7
Release v1.23.1 This release contains refinements, improvements, and bug fixes.
2019-09-24grpc: libgrpc++_cronet must not be in PLISTadam1-4/+1
2019-08-25grpc: updated to 1.23.0adam4-118/+49
Release v1.23.0 Core Add missing APP callback context for custom iomgr. Increase lower bound on DNS re-resolution period to 30 seconds. Make sure there is at least a header in the frame storge of H2. Fix segfault when forking while using gevent. Mpmcqueue. Disable the backup poller when using the background poller. Clearly callout the behavior for listening ports. Enable CFStream by default on iOS. Fix DNS resolver cooldown. Simplify and fix c-ares TCP path on Windows. Modify codegen to use grpc_impl namespace and other cleanup. C++ Channel idleness. Threadpool. Bump min CMake to 3.5.1 to match Google benchmark. Migrate from dep.proto. to dep[ProtoInfo] provider.
2019-07-03grpc: updated to 1.22.0adam3-8/+11
Release v1.22.0 Core building upb as part of cmake build is not necessary (for v1.22.x). Convert TraceFlags in the hot path to DebugTraceFlags. Fix a bug where POST_RECV_MESSAGE was not being triggered. Adjust the order of IOMgr timer initialization and comment of grpc_timer::heap_index. C++ use bazel wrapper for "bazel" invocations in grpc workspace. Add method to validate service config json. Update comment on ssl hostname override. Rename root certificate bundle in gRPC-C++ pod.
2019-05-31grpc: updated to 1.21.2adam3-30/+8
Release v1.21.2 This is the 1.21.2 patch release for the PHP extension only. Please do not use this release for other language. PkgSrc: Fix linking with c-ares.
2019-05-26grpc: updated to 1.21.1adam2-7/+7
Release v1.21.1 This is the 1.21.1 patch release of gRPC Core. This patch is for gRPC-Python only. gRPC Python pkgs for 1.21.0 release could not be uploaded to PyPi.
2019-05-22grpc: updated to 1.21.0adam3-9/+27
Release v1.21.0 Core Service Config Changes to set channel in transient failure on invalid service config. Add a backup poller to c-ares resolver to take better advantage of c-ares query timeout/retry logic. Pass WSA_FLAG_NO_HANDLE_INHERIT flag to the WSASocketA() to avoid handle leaking on the Windows in case of using CreateProcess() on the server. Add fallback-at-startup into xds. Retire the GRPC_ARENA_INIT_STRATEGY env variable. Fix gevent segfault with C-Ares as DNS resolver. Explicitly call getsockname after accept for unix sockets to get the sun_path. RBE Windows c-core build. Loosen the dependency on the googleapis-common-protos-types gem. pick_first: don't go into TRANSIENT_FAILURE upon empty update when in IDLE. Add guard to the tv_nsec field of gpr_now return value. Re-enable ALPN check in gRPC C core SSL stack. C++ Global config variables migration. Make cc_grpc_library compatible with native proto_library and cc_proto_library rules. Add alarm in callback streaming test. Make C++ Channel Interceptors work for lame channels.
2019-04-28grpc: updated to 1.20.1adam2-7/+7
Release v1.20.1 Revert "Enable SIO_LOOPBACK_FAST_PATH on Windows" (for v1.20.x).
2019-04-19grpc: updated to 1.20.0adam5-58/+34
Release v1.20.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core Fix bug in CFStream endpoint. Fix a NULL deref in tcp_client_windows.cc. Avoid using grpc_core::Executor when the background poller is available. Update the c-ares submodule to the 1.15 release. Remove unnecessary hack which causes data races. Fix Potentially Dangerous Typo - locked function being run outside of combiner. Trace log the status of every c-ares lookup; cleanup error handling. Add SPIFFE security stack to gRPC . Nuking the poll-cv polling engine. Backport 18201 to fix "symbol not found: _ares_library_init" error in Bazel on MacOS build. Run run_after_write closures in h2 once write action is done. Transition into state CONNECTING when we start name resolution. Support "darwin_x86_64" CPU in cares.BUILD. Move grpc_shutdown internals to a detached thread. Fix c-ares on Windows "DNS resolution failure" triggered by logging. Disable c-ares on Android. C++ Global Interceptor Registration allowed only once. cmake fix: builds disabled by CODEGEN=OFF should not be installed. cmake: when cross-compiling, the host grpc_cpp_plugin should be used.
2019-03-22grpc: updated to 1.19.1adam6-67/+75
Release v1.19.1 Core Backport 18201 to fix "symbol not found: _ares_library_init" error in C++ Bazel build on MacOS. Python Backport "Add the missing grpc_cfstream dependency" to v1.19.x. Release v1.19.0 Core Fix c-ares on Windows "DNS resolution failure" triggered by logging. Disable c-ares on Android. Ignore reserved bit in WINDOW_UPDATE frame. Set c-ares as the default resolver. Add period at end of metadata.google.internal to prevent unnecessary DNS lookups. Decrease verbosity of ALTS platform check to avoid a spam log message. Fix windows localhost address sorting bug. Re-enable c-ares as the default resolver; but don't turn on SRV queries. Remove filters from subchannel args. C++ Register for cq avalanching when interceptors are going to be run. Add a caching interceptor to the keyvaluestore example. Enable per-channel subchannel pool. Fix build with bazel 0.21. Switch the default DNS resolver from native to c-ares. Modifying semantics for GetSendMessage and GetSerializedSendMessage. Also adding ModifySendMessage. Add interceptor methods to fail recv msg for hijacked rpcs and set recv message to nullptr on failure. Add interceptor method to fail hijacked send messages and get status on POST_SEND_MESSAGE. New Experimental Interception API - GetSendMessage and GetSerializedSendMessage. C# Upgrade System.Interactive.Async to 3.2.0. Refactor ServerServiceDefinition and move it to Grpc.Core.Api nuget. Allow passing null implementation to generated BindService overload using ServiceBinderBase. Move public types needed for server implementation to Grpc.Core.Api. Objective-C Disable c-ares on iOS. Added support for tvOS. Fixing a few thread safety issues in gRPC Objective-C library. Rolling out new API for gRPC Objective-C library. Python grpc_prefork(): check grpc_is_initialized before creating execctx. [gRPC] Enable Python 3 for Bazel to Run Tests. Escalate the failure of protoc execution. Remove dependency of grpc.framework.foundation.callable_util. Ruby Disable service config resolution with c-ares by default, for now. Ruby: refactor init/shutdown logic to avoid using atexit; fix windows. Ruby tooling: respect user toolchain overrides.
2018-12-31grpc: Add NetBSD supportleot3-9/+52
2018-08-04net/grpc: Update to 1.13.1minskim3-32/+37
Notable changes since 1.11.0: - Make GrpcBuffer{Reader|Writer} Public - Compile Out Tracers Option - Add RpcException.StatusCode property - gRPC stats will only be collected for debug builds or if GRPC_COLLECT_STATS is defined. - cmake install now also installs should also installs the roots.pem file
2018-05-15grpc: Add SunOS support.jperkin4-1/+75
2018-04-27net/grpc: Update to 1.11.0minskim8-68/+300
Notable changes since 1.7.2: - Requires protobuf>=3.5.0 - Exec_ctx has been made a thread_local, and is no longer to be passed as a function parameter. - LB policies request re-resolution without shutting down - On server, include receiving HTTP/2 settings in handshake timeout - C++ headers are moved from include/grpc++ to include/grpcpp. Headers in include/grpc++ are deprecated - Experimental gRPC-C++ Cocoapods podspec - Several features of core have been removed from the surface or GPR API: grpc_alarm, gpr_join_host_port, gpr_cmdline, gpr_subprocess, gpr_tls, gpr_avl, and gpr_thd - Add core underpinnings for TLS session ticket support - Experimental support for configurable retries
2018-01-17Belated PKGREVISION bump for devel/protobuf update.jperkin1-1/+2
Fixes at least joyent/pkgsrc#60.
2017-12-04net/grpc: Update to 1.7.2minskim2-7/+13
Changes in C# and Ruby libraries only. No change in C/C++.
2017-10-27net/grpc: Update to 1.7.0minskim5-38/+24
Notable changes: - Channel are now by default persistent - Some bug fixes from 1.4 branch - Fixed hang bug when fork() was used
2017-10-23net/grpc: Import version 1.6.7minskim7-0/+269
gRPC is a modern, open source remote procedure call (RPC) framework that can run anywhere. It enables client and server applications to communicate transparently, and makes it easier to build connected systems.