From c3c5e4948dcfbfdc9803c4938d7e17f29c9c985d Mon Sep 17 00:00:00 2001 From: Gabriel Lobo <53491359+gabrielrbl@users.noreply.github.com> Date: Mon, 30 Nov 2026 22:54:19 -0300 Subject: [PATCH] docs(profile): link to the releases and show the current benchmark --- profile/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/profile/README.md b/profile/README.md index e5edfaf..107c7e2 100644 --- a/profile/README.md +++ b/profile/README.md @@ -11,9 +11,9 @@ Auditstream records **who** changed **what** at the database level with full `be **No 24/7 consumer daemon. No WAL replication slots. No new infrastructure.** -`+3.2% (+5.1 µs/row)` durable PostgreSQL 19 UPDATE · `2.4M` PgBouncer tx with `0` actor leaks · [Benchmarks](https://auditstream.dev/docs/evidence/) +Single-row `UPDATE` throughput on PostgreSQL 19: `−7%` limited by the disk, `−73%` limited by the CPU · `2.4M` PgBouncer tx with `0` actor leaks · [Benchmarks](https://auditstream.dev/docs/evidence/) -→ **[auditstream.dev](https://auditstream.dev)** · **[Docs](https://auditstream.dev/docs/)** · **[Quickstart](https://auditstream.dev/docs/getting-started/)** · **[TypeScript SDK](https://auditstream.dev/docs/typescript/)** · **[Evidence](https://auditstream.dev/docs/evidence/)** · **[Spec v0.1.1](https://auditstream.dev/docs/contract/)** +→ **[auditstream.dev](https://auditstream.dev)** · **[Docs](https://auditstream.dev/docs/)** · **[Quickstart](https://auditstream.dev/docs/getting-started/)** · **[TypeScript SDK](https://auditstream.dev/docs/typescript/)** · **[Evidence](https://auditstream.dev/docs/evidence/)** · **[Specification](https://auditstream.dev/docs/contract/)** --- @@ -21,7 +21,7 @@ Auditstream records **who** changed **what** at the database level with full `be 1. **Thin adapters attach the actor:** `@auditstream/node`, `@auditstream/prisma` (Prisma 7.1+), and `@auditstream/drizzle` (0.45 & 1.x) propagate identity via `AsyncLocalStorage.run()` and append an unpadded base64url `sqlcommenter` tag (`/*auditstream='...'*/`) — supporting humans, API keys, services, and AI agents acting `onBehalfOf` a user. 2. **Database triggers capture atomically:** Generated `SECURITY DEFINER` triggers write `before`, `after`, `changed`, and actor metadata into `auditstream.changes` (statement-level for `INSERT`/`DELETE`, row-level with `IS DISTINCT FROM` for `UPDATE`). Application roles receive `SELECT` only. -3. **One Rust CLI inspects and exports:** `auditstream init`, `verify`, `status`, `history`, and `export` (JSON Lines & CSV in v0.1) read committed windows via `xact_id < pg_snapshot_xmin()` so concurrent out-of-order commits are never skipped. +3. **One Rust CLI inspects and exports:** `auditstream init`, `verify`, `status`, `history`, and `export` (JSON Lines & CSV) read committed windows via `xact_id < pg_snapshot_xmin()` so concurrent out-of-order commits are never skipped. --- @@ -30,8 +30,8 @@ Auditstream records **who** changed **what** at the database level with full `be | Target | Status | Details | | :--- | :--- | :--- | | **PostgreSQL** | **Supported & tested** | PostgreSQL 15–19 (verified 15.20–19.0), PgBouncer 1.26, Neon, and Supabase | -| **MySQL** | Evaluating | Not supported yet — PostgreSQL is the only engine in v0.1 | -| **TypeScript SDK** | **Supported** | `@auditstream/*` v0.2.1 for Prisma 7, Drizzle, Next.js 16, Hono, and Express | +| **MySQL** | Evaluating | Not supported yet — PostgreSQL is the only supported database | +| **TypeScript SDK** | **Supported** | `@auditstream/*` for Prisma 7, Drizzle, Next.js 16, Hono, and Express | | **Python SDK** | Planned | No native SDK yet — works today via [`psycopg` and SQL comments](https://auditstream.dev/docs/python/) | | **Plain SQL** | **Supported** | Any language or driver (Go, Ruby, Java, `psql`) via [SQL comments or `set_config`](https://auditstream.dev/docs/plain-sql/) | @@ -41,8 +41,8 @@ Auditstream records **who** changed **what** at the database level with full `be | Repository | Description | | :--- | :--- | -| [`auditstream/auditstream`](https://github.com/auditstream/auditstream) | Rust engine & CLI (`v0.1.0`), normative `spec/` (`v0.1.1`), conformance fixtures, handbook | -| [`auditstream/auditstream-js`](https://github.com/auditstream/auditstream-js) | TypeScript SDKs (`v0.2.1`): [`@auditstream/node`](https://www.npmjs.com/package/@auditstream/node), [`@auditstream/prisma`](https://www.npmjs.com/package/@auditstream/prisma), [`@auditstream/drizzle`](https://www.npmjs.com/package/@auditstream/drizzle) | +| [`auditstream/auditstream`](https://github.com/auditstream/auditstream) | Rust engine & CLI, normative `spec/`, conformance fixtures, handbook | +| [`auditstream/auditstream-js`](https://github.com/auditstream/auditstream-js) | TypeScript SDKs: [`@auditstream/node`](https://www.npmjs.com/package/@auditstream/node), [`@auditstream/prisma`](https://www.npmjs.com/package/@auditstream/prisma), [`@auditstream/drizzle`](https://www.npmjs.com/package/@auditstream/drizzle) | | [`auditstream/site`](https://github.com/auditstream/site) | Documentation & site ([auditstream.dev](https://auditstream.dev)) | | [`auditstream/homebrew-tap`](https://github.com/auditstream/homebrew-tap) | Official Homebrew formula (`brew install auditstream/tap/auditstream`) | @@ -50,7 +50,7 @@ Auditstream records **who** changed **what** at the database level with full `be ## Quick install -CLI `v0.1.0` · TypeScript SDKs `v0.2.1` · Spec `v0.1.1` +Versions: [CLI releases](https://github.com/auditstream/auditstream/releases) · [TypeScript SDK releases](https://github.com/auditstream/auditstream-js/releases) · [compatibility](https://github.com/auditstream/auditstream/blob/main/docs/handbook/releases.md#cross-repository-compatibility) ```sh # Shell (macOS & Linux) @@ -63,7 +63,7 @@ brew install auditstream/tap/auditstream npm i -g auditstream # Docker (multi-arch linux/amd64 + linux/arm64) -docker run --rm ghcr.io/auditstream/auditstream:0.1.0 --version +docker run --rm ghcr.io/auditstream/auditstream:latest --version # TypeScript SDKs (or replace @auditstream/prisma with @auditstream/drizzle) pnpm add @auditstream/node @auditstream/prisma @@ -89,7 +89,7 @@ pnpm add @auditstream/node @auditstream/prisma [badge-release]: https://img.shields.io/github/v/release/auditstream/auditstream?filter=auditstream-*&style=flat&label=release [link-release]: https://github.com/auditstream/auditstream/releases/latest [badge-spec]: https://img.shields.io/github/v/release/auditstream/auditstream?filter=spec-*&style=flat&label=spec&color=2f6fed -[link-spec]: https://github.com/auditstream/auditstream/tree/spec-v0.1.1/spec +[link-spec]: https://github.com/auditstream/auditstream/blob/main/spec/README.md [badge-sonar]: https://img.shields.io/sonar/quality_gate/auditstream_auditstream?server=https%3A%2F%2Fsonarcloud.io&style=flat&label=SonarCloud [link-sonar]: https://sonarcloud.io/project/overview?id=auditstream_auditstream [badge-license]: https://img.shields.io/github/license/auditstream/auditstream?style=flat