Skip to content

Commit 4268c38

Browse files
committed
chore: release packages (#1118)
Synced from sferarc/pgbeam@4c7a73c
1 parent d368df2 commit 4268c38

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# pgbeam
22

3+
## 0.3.8
4+
5+
### Patch Changes
6+
7+
- 0db5320: feat(byoc): self-hosted data-plane packaging + entitlement enrollment
8+
- 18d777f: feat(proxy): region discovery + per-project residency enforcement
9+
- fae176d: Generate the CLI's API-surface commands from the OpenAPI contract so they can no longer drift.
10+
11+
A new generator (`scripts/src/generate-cli.ts`, wired into `pnpm generate`) reads the same public OpenAPI bundle as the SDK and emits a command manifest; a small hand-written runtime turns each entry into a citty command with contract-derived flags, path parameters, pagination, tables, and detail views. The core resource reads/deletes/actions (projects, databases, agent credentials, policies, branches, custom domains) are now generated; bespoke commands (auth, mcp, env, link, interactive creators, secret rendering) stay hand-authored and compose with the generated leaves.
12+
13+
Along the way this fixes several CLI bugs by construction: `domains`, `replicas`, `cache-rules`, and `env` are now registered as top-level commands (previously unreachable); `auth status`/`whoami` honor `--token` and the `PGBEAM_API_KEY`/`PGBEAM_TOKEN`/`PGBEAM_API_TOKEN` env vars instead of only the saved profile; boolean flags accept an explicit `true`/`false` value so `--flag false` is no longer silently parsed as true; and the SDK now returns the raw body for non-JSON responses (for example `text/csv`), fixing `pgbeam audit export`.
14+
315
## 0.3.7
416

517
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgbeam",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"description": "TypeScript SDK for the PgBeam API — globally distributed PostgreSQL proxy platform",
55
"type": "module",
66
"exports": {

0 commit comments

Comments
 (0)