Skip to content

Releases: nexcode/rpcplatform

v1.7.0

Choose a tag to compare

@nexcode nexcode released this 30 Mar 22:09

This release introduces new configuration options and updates APIs to support context cancellation.

Added Options

  • ServerOptions.StopTimeout() determines the server's shutdown behavior when its context is canceled. If greater than zero, a graceful stop is applied; otherwise, it stops immediately. Default is 0.
  • ServerOptions.EtcdClientTimeout() and ClientOptions.EtcdClientTimeout() configure the timeout duration for etcd client operations. Default is 5s.
  • ServerOptions.EtcdLeaseTimeout() sets the Time-To-Live (TTL) duration for the etcd lease. Default is 5s.

Changed (Breaking API Updates)

  • (*RPCPlatform).NewClient() and (*Server).Serve() now require context.Context for proper lifecycle and cancellation management.

v1.6.1

Choose a tag to compare

@nexcode nexcode released this 05 Dec 22:53

Updated load balancer logic for better stability and improved error handling by enforcing strict validation on resource names and etcd prefixes.

v1.6.0

Choose a tag to compare

@nexcode nexcode released this 26 Nov 20:11

The internal load balancer now uses endpointsharding + pickfirst instead of balancer/base. All dependencies have also been updated.

v1.5.1

Choose a tag to compare

@nexcode nexcode released this 06 Nov 12:11

Internal improvements related to using a single balancer builder for all clients instead of creating a new one for each client.

v1.5.0

Choose a tag to compare

@nexcode nexcode released this 30 Oct 12:31

Added aliases for some types from internal folder and a small API update related to this.

v1.4.0

Choose a tag to compare

@nexcode nexcode released this 29 Oct 13:28

Breaking changes to the API (all examples updated) and other internal improvements. A new Lookup method has been added that allows you to get attributes of running servers by name.

  • update otel/semconv from v1.34.0 to v1.37.0
  • all other dependencies are updated

v1.3.6

Choose a tag to compare

@nexcode nexcode released this 04 Aug 20:30

Fixed an issue where OpenTelemetry injection wasn't applied to clients

v1.3.5

Choose a tag to compare

@nexcode nexcode released this 04 Aug 14:55
  • update otel/semconv from v1.30.0 to v1.34.0
  • all other dependencies are updated
  • added SchemaURL and ServiceInstanceID attributes to resource
  • added Container detector to resource

v1.3.4

Choose a tag to compare

@nexcode nexcode released this 05 May 15:03
  • update otel/semconv from v1.27.0 to v1.30.0
  • all other dependencies are updated

v1.3.3

Choose a tag to compare

@nexcode nexcode released this 30 Jan 23:24

Part of stateWatcher code has been moved to stateInit, which is now called before grpc.NewClient