Repository navigation
Releases: gyozatech/grpckit
Release list
v0.0.10
Fix: Streaming Auth Context Propagation
This release fixes a bug where the streaming auth interceptor (grpcStreamAuthInterceptor) was discarding the enriched context returned by authFunc. This prevented downstream interceptors from accessing auth claims (e.g., grant type).
Changes
- Add
wrappedServerStreamtype to overrideContext()method - Fix
grpcStreamAuthInterceptorto use the enriched context fromauthFunc - Add comprehensive tests for streaming auth context propagation
Why This Matters
This fix enables grant type validation to work correctly for streaming endpoints. Previously, ClaimsFromContext(ctx) would return nil in streaming handlers, causing grant type checks to be skipped.
Migration
No breaking changes. Simply update your dependency:
```bash
go get github.com/gyozatech/grpckit@v0.0.10
```
v0.0.9
Update scripts/create-service.sh to create a service with Go 1.24
v0.0.8
- performances improvements
- fix on the swagger URL fetch
- code coverage
- unit tests
v0.0.7
fix ./scripts/create-service.sh bug on the makefile for make swagger
v0.0.6
fetch the git token from local env if needed to get the swagger from a protected url wia the make swagger command
v0.0.5
improve swagger management and resiliency
v0.0.4
v0.0.3
- treat swagger as a go dependency
- create a ./scripts/create-service.sh utility to bootstrap a new microservice using grpckit
v0.0.2
- add support for the same port for both gRPC and REST
- add testing utilities
- improve example
- improve documentation
v0.0.1
gRPC to REST basic kit to an advanced form of customisation:
- gRPC to REST endpoints from a proto interface
- gRPC accepting non-JSON payloads and returning non-JSON responses
- global interceptors with some exceptions specificable
- non gRPC custom handlers outside the proto interface definition
- custom http middlewares which don't apply to gRPC endpoints