Changelog

Release notes and improvements for AtlasBurn.

SDK v1.6.1 — June 2026

  • Streaming usage capture (I3) — the SDK and Edge Proxy now inject stream_options.include_usage: true on OpenAI streams so the final SSE frame carries real input/output token counts. Pre-I3 streamed calls logged $0; that bug is fixed.
  • Estimated-token flag — events without a usage frame are now flagged est/~est in the Forensic Ledger.
  • License — repackaged under Apache-2.0. See License.
  • Docs — withdrew the legacy 94.2% accuracy figure pending re-derivation against current invoices.
  • Forecasting — engine outputs documented as p5 / p50 / p95 + VaR95 / CVaR95; the spurious P99 reference was removed.

v2.0.0 — May 2026

  • AtlasBurn Edge Proxy — new Cloudflare Worker integration. Zero code changes, native SSE streaming, fails open by design.
  • Autonomous Runtime Guardrails — server-side 5-layer defense engine replaces SDK-level Auto Kill:
    • Layer 1 — Financial Limits (daily / monthly hard cap)
    • Layer 2 — Dumb Loop Detector (identical token fingerprinting)
    • Layer 3 — Smart Loop Detector (monotonic context inflation)
    • Layer 4 — RPS Burst Protection (per-key frequency limits)
    • Layer 5 — Premium Model Concentration (prompt-injection / hijacked routing detection)
  • Cloudflare KV Kill Switch — <5ms edge enforcement with TTL auto-recovery and manual dashboard override.
  • New API endpoints: POST /api/ingest (telemetry collection) and POST /api/guardrails/enforce (KV flag webhook).
  • OpenRouter auto-detect via the Edge Proxy. Layer 4 is the primary safety net due to tokenizer drift from upstream load-balancing.

v1.5.0 — April 2026

  • Synchronous loop guards — added isRouting guard to prevent proxy recursion (RangeError: Maximum call stack size exceeded) in Next.js App Router
  • Universal Framework SupportinitAtlasBurnAuto now survives arbitrary globalThis.fetch overrides by host frameworks (Next.js, Nuxt, SvelteKit)
  • Improved SSE stream chunk parsing for complex AI provider outputs (multi-chunk usage metadata, partial JSON frames)
  • Single-init integration via Next.js Instrumentation hook (instrumentation.ts)
  • Streaming and JSON responses captured automatically across Server Components and API Routes
  • Added Vertex AI auto-detect support alongside OpenAI, Anthropic, and Gemini
  • Deprecated route-level patching and custom fetch wrappers — safe to delete

v1.2.0 — March 2026

  • Added OpenRouter auto-detect support
  • Burn forecasting upgraded with tail-risk modeling (VaR95 / CVaR95)
  • Improved retry cascade detection with configurable thresholds
  • SDK: reduced cold-start overhead by 40%

v1.1.0 — February 2026

  • Gemini auto-detect support (1.5 Pro, 1.5 Flash)
  • Reconciliation tool for provider invoice comparison
  • New metadata field for custom context on events
  • Dashboard: per-model cost breakdown view

v1.0.0 — January 2026

  • Initial release
  • Auto-detect support for OpenAI and Anthropic
  • Forensic ledger with append-only, server-authored audit trail
  • Real-time observed spend calculation
  • Fail-silent SDK behavior
  • Manual instrumentation mode