Skip to content

Releases: suprim-corp/kit-backend-base-java

1.1.0

Choose a tag to compare

@sant1ago-da-hanoi sant1ago-da-hanoi released this 13 May 05:00
4748594

What's New

Trace/Request ID Propagation

New infrastructure for propagating trace and request IDs across HTTP and gRPC boundaries.

kit-java-web:

  • RequestContext — ThreadLocal holder for trace/request ID
  • RequestContextFilter — Servlet filter that extracts/generates trace+request IDs, stores in MDC, sets response headers
  • ContextPropagation — Utilities to propagate context across async boundaries (wraps Runnable/Callable)

kit-java-grpc:

  • ContextPropagationInterceptor — Server interceptor that extracts trace/request/user/tenant from metadata into gRPC Context + MDC
  • ContextForwardingInterceptor — Client interceptor that forwards context values to outgoing calls

Behavior

  • Extracts X-Trace-ID / X-Request-ID from incoming headers (HTTP) or metadata (gRPC)
  • Generates UUIDv7 if absent
  • Stores in SLF4J MDC (traceId, requestId) for log correlation
  • Sets response headers automatically
  • Cleans up ThreadLocal + MDC after request completes

Full usage examples in README.

1.0.3

Choose a tag to compare

@sant1ago-da-hanoi sant1ago-da-hanoi released this 27 Apr 18:25
2964b54

Changes

  • Add BaseResponse.success() and BaseResponse.success(data) static factory methods to avoid ambiguous constructor call with null
  • Update README with new API usage

1.0.2

Choose a tag to compare

@sant1ago-da-hanoi sant1ago-da-hanoi released this 21 Apr 10:59
ce764e5

Breaking changes

  • kit-java-core: remove deprecated UUIDUtils.v4String() and UUIDUtils.v7String(). Use UUIDUtils.v4().toString() / UUIDUtils.v7().toString() instead.

1.0.1

Choose a tag to compare

@sant1ago-da-hanoi sant1ago-da-hanoi released this 21 Apr 10:14
44bf952

Changes

  • kit-java-core: deprecate UUIDUtils.v4String() and UUIDUtils.v7String() — use v4() / v7() + toString() instead.