Skip to content

v2.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 23:15
· 125 commits to main since this release
8af6a0d

2.4.0 (2026-09-26)

Features

  • add declared error_kind for sign-in and payment denials (d46702e), closes #82
  • go: add official MCP SDK instrumentation (ff3ec26), closes #84
  • record protocol version, request id, trace context, result type, error code and tool hints (d65f185), closes #87

Bug Fixes

  • go: cap buffer size at queue capacity (a68b7f5)
  • go: count events pushed after close as dropped (cd2ed54)
  • go: count request bytes as compact json (83b1446)
  • go: count response bytes without html escaping (ef13d36)
  • go: default transport to stdio without HTTP context (6df24fe)
  • go: fail instead of hanging on a zero-value EventBuffer (701943c)
  • go: keep the handler panic when recording it panics (bfd0a03)
  • go: match the sdk unknown tool error exactly (6ef305f)
  • go: pass bearer token info and headers to the identity resolver (a310af7)
  • go: record {} for omitted arguments when capture is on (9ddbc68)
  • go: record handler panics as failed calls (cf09bd2)
  • go: record the event when outcome parsing panics (1744286)
  • go: record ts with millisecond precision (e3568c1)
  • go: resolve identity and redact arguments after the handler (3b1eb2b)
  • go: resolve identity for canceled calls (595da6b)
  • go: round duration_ms to the nearest millisecond (28bb994)
  • go: skip input_required legs of multi-round-trip tool calls (a64ec46)
  • go: skip tools/call requests for unregistered tool names (62e2b9a)
  • keep the failed-call event when reading a declared error_kind throws (a090482)
  • node: freeze ERROR_KINDS and export isErrorKind (6ea1c86)
  • node: keep tool hints across duplicate registerTool, rename and remove (b264216)
  • node: record tools/call at the handler the dispatcher calls (4039629)
  • node: record tools/call failures that never reach the tool callback (b3b9f7e)
  • otlp: add the attributes the MCP semconv requires on server spans (a7f0ff9)
  • python: fall back to snake_case meta when _meta is None (12b5895)
  • python: list the tools once per registration change for tool hints (2fc7ad8)
  • python: record the streamable HTTP session id as session_id (bbd0d62)
  • python: share one tool listing between concurrent hint lookups (8f0d4f4)

Performance

  • go: count compact request bytes without a buffer (69090a3)
  • go: count response bytes without keeping a marshaled copy (1442876)
  • go: parse captured arguments in one pass (1a3b72b)
  • go: skip the flush path on idle worker ticks (9bfed44)
  • go: truncate strings without converting to runes (46ada6a)