Skip to content

Releases: gyozatech/grpckit

v0.0.10

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 03 Feb 11:40
v0.0.10
55718f5

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 wrappedServerStream type to override Context() method
  • Fix grpcStreamAuthInterceptor to use the enriched context from authFunc
  • 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

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 19 Jan 11:20
v0.0.9
4627700

Update scripts/create-service.sh to create a service with Go 1.24

v0.0.8

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 19 Jan 11:01
v0.0.8
16ce1c8
  • performances improvements
  • fix on the swagger URL fetch
  • code coverage
  • unit tests

v0.0.7

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 15 Jan 15:08
v0.0.7
256f586

fix ./scripts/create-service.sh bug on the makefile for make swagger

v0.0.6

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 15 Jan 14:44
v0.0.6
df1eee8

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

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 15 Jan 11:29
v0.0.5
ace1f7c

improve swagger management and resiliency

v0.0.4

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 15 Jan 10:49
v0.0.4
26b3679

fix swagger embeddings

v0.0.3

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 15 Jan 09:28
v0.0.3
001c2f6
  • treat swagger as a go dependency
  • create a ./scripts/create-service.sh utility to bootstrap a new microservice using grpckit

v0.0.2

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 14 Jan 13:59
8313db2
  • add support for the same port for both gRPC and REST
  • add testing utilities
  • improve example
  • improve documentation

v0.0.1

Choose a tag to compare

@alessandroargentieri alessandroargentieri released this 14 Jan 11:51
8f2998a

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