The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Remove connectrpc error middleware by default. You need to add it
connectrpc.NewErrorsInterceptor
- Added abiliy to map connectrpc error
- Removed
WithAuthChecker
support. UsePostUnaryInterceptors
&PostStreamInterceptors
to add an authentication interceptor - Added
WithRegisterService
ondgrpc.Server
(which is obtained viadgrpc.NewServer2
). - Introduced a
NewServer2
that embeds more power inside a thin-wrapperdgrpc.Server
struct that wraps both a HTTP server and a gRPC server. The HTTP server is started only whendgrpc.WithHealthCheck(dgrpc.HealthCheckOverHTTP, ...)
option is used. TheNewServer2
handles more configurability option like TLS config, health check, and many more. - Deprecation The
dgrpc.NewServer
is deprecated, it will be replaced by another implementation in the future, replaces with a call todgrpc.NewGRPCServer
instead. - Deprecation The
dgrpc.SimpleHealthCheck
is deprecated usesserver := dgrpc.NewServer2(options...)
with thedgrpc.WithHealthCheck(dgrpc.HealthCheckOverHTTP, ...)
option thengo server.Launch()
- Deprecation The
dgrpc.SimpleHTTPServer
is deprecated ssesserver := dgrpc.NewServer2(options...)
with thedgrpc.WithHealthCheck(dgrpc.HealthCheckOverHTTP, ...)
thengo server.Launch()
instead. - Deprecation The
dgrpc.ListenAndServe
is deprecated ssesserver := dgrpc.NewServer2(options...)
with thedgrpc.WithHealthCheck(dgrpc.HealthCheckOverHTTP, ...)
thengo server.Launch()
instead. - move from deprecated
github.com/bufbuild/connect-go
toconnectrpc.com/connect
- License changed to Apache 2.0