Changelog
Every release is published on GitHub Releases. This page is regenerated from those releases during the site build.
Kinglet 0.5.0
Section titled “Kinglet 0.5.0”2026-11-23 · GitHub release · latest
Kinglet 0.5.0
Section titled “Kinglet 0.5.0”Before you upgrade
Section titled “Before you upgrade”- Set
KINGLET_SECRET_KEY(openssl rand -base64 32) and back it up apart from/data. Notification channel secrets (webhook URLs, bot tokens, API keys) are now encrypted at rest. Without the key, existing channels keep sending but you can’t add or change them; with a lost or different key, channels show as locked. - A remote database (Turso/libSQL) now requires
BETTER_AUTH_SECRET. Kinglet won’t start without it, since there’s no local data directory to keep a generated one in. - Changing your own password now revokes the API and MCP keys you created by default. Untick “also revoke my keys” in the dialog (or send
revokeApiKeys: false) for a routine change.
- Trill search: field filters (
field.status>=500,field.error:*), autocomplete, and clear-by-query. - More notification channels: ntfy, Gotify, Telegram, Pushover, email over SMTP, Resend, and Plunk, with React Email messages.
- Tables everywhere: monitors, channels, users, keys, alerts, and delivery history page and search on the server (5/20/50/100 rows).
- Settings cleanup: project settings split into keys / members / general tabs, a “my account” tab, a cog beside the project picker, and an edit-user dialog for admins.
- PHP SDK (
rushlightlab/kinglet): batching client with PSR-3 and Monolog handlers. - New logo.
Security and limits
Section titled “Security and limits”- Count monitors are evaluated one at a time within a time budget, and free-text search no longer costs time in proportion to other projects’ data.
- The per-project storage cap (
KINGLET_MAX_PROJECT_DB_MB) now counts on-disk size, search index included. Projects close to their cap may hit it sooner. - Ingest checks limits before reading the body, allows 4 uploads in flight per key (16 per person), and requests must finish arriving within 60 seconds.
- Each person can hold up to 25 keys per project, and live-tail slots count every key a person created.
- Monitor alerts are limited to 30 sends per minute per channel and project.
- Archive import refuses unencrypted parts while
KINGLET_BACKUP_PASSPHRASEis set (KINGLET_BACKUP_ALLOW_UNENCRYPTED_SNAPSHOTS=1for older parts), and a project delete or full clear can no longer leave a freshly archived part behind. - Alert search no longer matches hidden log text for keys without
logs.read; locked channels can’t be deleted until their key is restored; Slack samples and IPv6 webhook targets are stricter.
Images and packages
Section titled “Images and packages”ghcr.io/rushlightlab/kinglet:0.5.0@kinglet/mcp@0.5.0,@kinglet/sdk-node@0.5.0rushlightlab/kinglet0.5.0 on Packagist
v0.4.0: Backups, MCP, and a faster core
Section titled “v0.4.0: Backups, MCP, and a faster core”2026-11-21 · GitHub release
Kinglet 0.4.0 adds backups, a log archive, reusable notification channels, an MCP server for AI clients, and a much faster storage layer. Back up /data before upgrading: the first boot migrates the database (see Upgrade notes).
Highlights
Section titled “Highlights”- Backups and restore. Optional S3 snapshots (compressed, optionally encrypted with a passphrase), on a schedule with retention. Restores are staged and applied at boot, keeping a pre-restore copy for rollback. Local SQLite only; Turso users rely on Turso’s point-in-time restore.
- Log archive. Export events to compressed NDJSON in S3 before retention deletes them, and import them back when needed.
- Notification channels. Reusable webhook, Discord, and Slack channels shared by monitors, with a per-channel test button, rich Discord embeds and Slack attachments, and a delivery log.
- MCP server for AI clients.
npx -y @kinglet/mcpconnects Claude, Cursor, VS Code, Codex, and other MCP clients to one project with akm_MCP key. Scopes:logs.read,monitors.read, andmonitors.write(monitor writes also requireKINGLET_MCP_ALLOW_MONITOR_WRITES=1). - Node SDK on npm.
npm install @kinglet/sdk-node. The SDK and MCP server run on Node 24 or newer. - Faster and leaner. On the same hardware: the default log view loads ~70× faster on large windows, the histogram and grouped counts ~5–6× faster, ingest up to ~3× faster on small batches, and memory under load drops from ~1.2 GB to ~400 MB. Disk per event is ~25–30% smaller.
- New API.
GET /v1/aggregatefor counts and group-by, shareable event links (GET /v1/events/:uid) with surrounding context, alert detail and filters, and per-key usage (key:<id>filter). - UI. Settings split into account, workspace, and project; a reworked log toolbar with a wider time-window picker and refresh rates; histogram range selection; themed tooltips and consistent tables.
New settings
Section titled “New settings”KINGLET_SEARCH=substring(default) |words|off.wordsmatches words and word prefixes with ~20% faster ingest and ~22% less disk;offdrops the full-text index and scans the time window. Changing it rebuilds the index once at boot.- Backups, archive, and notification settings: see the Backups & archive docs.
Upgrade notes
Section titled “Upgrade notes”- Back up
/datafirst. The first boot migrates the database to schema v11. It converts all ids to UUID v7 and rebuilds the events table for compact storage, which takes roughly a minute per million events. Kinglet starts listening once it finishes. Upgrading a 0.3.0 install was tested end to end: events, search, users, API keys, and monitors all carry over. - Project ids change to UUIDs. Scripts that pass a numeric
project=id must use the new id shown in Settings → Projects. API keys keep working unchanged. - No downgrade. Older Kinglet versions refuse to open a v11 database; restore your backup to go back.
- Event order.
GET /v1/eventsnow returns newest first by event timestamp (ties by row id) instead of arrival order. The cursor is still the numeric row id. - Node SDK. Batches default to 1,000 events (was 200), with at most 5,000 per request. A backlog no longer risks being truncated, and
close()waits for an in-flight request and drains the buffer. - Event caps. The defaults are unchanged (1M events and 1 GB per project, 4 GB per database). At the default 14-day retention, a project averaging more than ~0.8 events/s reaches the event cap; raise
KINGLET_MAX_EVENTS_PER_PROJECTto fit your volume. See Capacity planning. - Turso. Turso databases on the newer MVCC engine are supported with search
off(they cannot hold the full-text index). For most installs the default local file is fastest; see Storage.
Images and packages
Section titled “Images and packages”ghcr.io/rushlightlab/kinglet:0.4.0(also0.4,latest), linux/amd64 and linux/arm64.@kinglet/sdk-node@0.4.0and@kinglet/mcp@0.4.0on npm.
v0.3.0: Small. Light. King.
Section titled “v0.3.0: Small. Light. King.”2026-11-19 · GitHub release
Small. Light. King. — the first tagged release of Kinglet: a tiny self-hostable log platform in one container.
- HTTP ingestion for NDJSON and JSON batches, including level, service, env, fields, and timestamp normalization.
- Live tail over SSE with follow mode, SQLite FTS5 substring search, filter grammar, and a histogram with drag-to-zoom.
- Monitors and alerts for instant matches, rate spikes, and silence, with webhook, Discord, and Slack channels, cooldowns, count-monitor auto-resolve, and test notifications.
- Better Auth email/password accounts with admin/member/viewer roles, per-project memberships, and project-scoped
kl_API keys. - Multi-project isolation, project member management, scoped key management, saved searches, shareable permalinks, and keyboard navigation.
- Retention, per-project event caps, local database caps, ingest/query limits, and admin diagnostics.
- Docker Compose deployment, a production-only non-root image with a healthcheck, a Caddy TLS sample, and Litestream-friendly storage.
Changed
Section titled “Changed”- Storage is one libSQL client for local SQLite or hosted Turso, with Drizzle ORM migrations.
- The production image is built from a production-only dependency tree and no longer carries dev tooling or source.
- Browser sessions use a short signed cookie cache; mutations revalidate against the database.
Security
Section titled “Security”- CSRF protection for cookie-authenticated mutations.
- SSRF-safe webhook delivery with DNS pinning and private-range blocking.
- API-key offboarding when a user is demoted or deleted, plus strict key scope validation.
- Session revocation on role changes and account deletion.
- Histogram, query, ingest, and SSE resource limits.
- Security headers, non-root containers, hardened CI, and pinned GitHub Actions.
Images
Section titled “Images”ghcr.io/rushlightlab/kinglet:0.3.0 · :0.3 · :latest
Docs: https://kinglet.rushlightlab.com
Full commit history: https://github.com/rushlightlab/kinglet/commits/v0.3.0