Skip to content

Changelog

Capability notes for logbun 1.1.0.

Updated View as Markdown

Versions below are from package.json (1.1.0) and the repository’s docs/changelog-notes.md.

1.1.0

logbun/adapters/cloudflare-analytics-engine — Cloudflare Workers Analytics Engine destination adapter. Writes via the AnalyticsEngineDataset binding (writeDataPoint), queries via the SQL API (POST /accounts/:id/analytics_engine/sql, FORMAT JSONEachRow). Pairs with CloudflareReliabilityAdapter as the analytics sink: the DO SQLite journal is the durable admission log (sampled, ~3 month retention, ~91-day query window). Shared dataset only, ≤250 points per invocation, 96-byte index / 16 KiB blob limits. prune is a no-op; query collapses duplicate ids from WAL/DLQ replay.

1.0.1

Patch on 1.0:

  • Fail-closed WAL/DLQ compact (wrong encryption key does not rewrite ciphertext as junk)
  • Per-tenant integrity restore
  • Durable tenant-cap DLQ (max_active_tenants)
  • Required adapterFactory for database_per_tenant
  • Elysia waitUntil via getWaitUntil
  • Batched SQLite/Turso prune (prune_incomplete)

This repository also includes live Turso / ClickHouse / Wrangler integration tests (bun run test:integration).

1.0

Runtime-specific reliability moved out of the package root.

  • Root: ES2022 / Web APIs; UUIDv7, memory reliability, batching, retries, integrity, tenancy, events, and framework-neutral request context.
  • logbun/durability/filesystem: persistent WAL/DLQ, encryption, fsync, caps, path confinement, and instance locking for Node/Bun/Deno.
  • logbun/durability/cloudflare: SQLite-backed Durable Object journal and DLQ with atomic state transitions and alarm scheduling.
  • runMaintenance() replaces recurring Bun cron and retry timers.
  • DLQ operations use stable opaque IDs; any filesystem path is diagnostic only.

Breaking changes: Migrate from 0.2.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close