---
summary: "mcp-ts-core 0.9.21: per-request log context fix, secret-stripping in fetch errors, withRetry fail-fast"
breaking: false
security: false
---

# 0.4.9 — 2026-06-02

## Changed

- **HTTP transport per-request log context** — per-request logs and traces now carry fresh request + trace/span IDs instead of the frozen boot-time context.
- **`fetchWithTimeout` error messages** — query-string secrets (e.g. `?api_key=`) are stripped from error messages and logs before surfacing.
- **`withRetry`** — fails fast on non-retryable errors; `ctx.fail` auto-populates the `retryable` flag.

## Dependencies

- `@cyanheads/mcp-ts-core` ^0.9.16 → ^0.9.21
- `vitest` ^4.1.7 → ^4.1.8
