Releases: yarpc/yarpc-go
Releases · yarpc/yarpc-go
v1.53.2
v1.53.0
Added
- gRPC: accept keepalive parameters for gRPC outbound configuration.
- observability: deprecation of logging levels
applicationError
andserverError
in favor
ofserverError
andclientError
. - The
transport.Request
provides a new fieldCallerProcedure
. A headerrpc-caller-procedure
is also propagated for outbound calls. This field represents the origin procedure where the
requests was sent.
Fixed
- peer: concurrency issue when using
rand
for the peer strategiesrandpeer
andtworandomchoices
v1.52.0
v1.51.0
v1.50.0
Added
- gRPC: accept dialer options in gRPC transportSpec config
Fixed
- Http: fix memory and connection leak in http outbound call handler
- Observability: error code CodeUnimplemented will be marked as an
application_error
- peer: the peer implementations provided by yarpc (hashring32, pendingheap,
randpeer, roundrobin, tworandomchoices) are thread-safe now
v1.49.1
v1.49.0
Added
- observability: Add request and response payload size histogram
- api: expose
BodySize
field in the transport request/response, middleware can use
this field to get or update the request/response body size - hashring32: new option OffsetGeneratorValue
Fixed
- yarpc: service name can contain
_
now.
v1.48.0
Added
- peer/hashring32: Support using an application header as the shard key, instead
oftransport.Request#ShardKey
- peer/hashring32: options NumReplicas and NumPeersEstimate are not private
anymore and can be used by consumer of the pkg. - observability: Add caller request TTL histogram in inbound middleware
v1.47.2
Fixed
- errors returned by
yarpcerrors.FromError
now behave properly when using
errors.Is
anderrors.Unwrap
. - thrift plugin:
types_yarpc.go
file, which contains exception annotations is
always generated. - thrift plugin:
types_yarpc.go
recognizes case-sensitive Thrift file names
for generating correct Go package name.
v1.47.1
Removed
- Reverted
go.mod
Go version from 1.14 to 1.13.