Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.2.0-next.8

Adds per-user API keys (Base44 convention): the gateway's `/users/me` lazily
mints and returns a personal `api_key` for the signed-in end user.

- `BoolUser.apiKey?: string` — typed access to the key.
- `auth.rotateApiKey()` — rotates the key; the old one stops working
immediately. Surfaces a 503 if keys aren't configured on the deployment.

External callers send the key as the `api_key` header and act exactly as
that user — same per-user RLS scoping as in the app. Pairs with a gateway-side
change that accepts `api_key` and stamps `sub` accordingly.

## 0.2.0-next.7

- **Entities pagination cap raised 1000 → 5000, matching Base44.** `list` and
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bool-sdk",
"version": "0.2.0-next.7",
"version": "0.2.0-next.8",
"description": "Client SDK for apps built on Bool — gateway data access, end-user auth, and the React auth layer.",
"type": "module",
"main": "./dist/index.js",
Expand Down
Loading