Feat v0.7.11 query http ergonomics (#65)
All checks were successful
CI/CD / test-frontend (push) Has been skipped
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / test-runners (push) Has been skipped
CI/CD / test-go-pg (push) Successful in 2m53s
CI/CD / test-sqlite (push) Successful in 2m57s
CI/CD / build-and-deploy (push) Successful in 1m13s
CI/CD / detect-changes (push) Successful in 3s
All checks were successful
CI/CD / test-frontend (push) Has been skipped
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / test-runners (push) Has been skipped
CI/CD / test-go-pg (push) Successful in 2m53s
CI/CD / test-sqlite (push) Successful in 2m57s
CI/CD / build-and-deploy (push) Successful in 1m13s
CI/CD / detect-changes (push) Successful in 3s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #65.
This commit is contained in:
19
CHANGELOG.md
19
CHANGELOG.md
@@ -2,6 +2,25 @@
|
||||
|
||||
All notable changes to Armature are documented here.
|
||||
|
||||
## v0.7.11 — Query & HTTP Ergonomics
|
||||
|
||||
Four new Starlark sandbox builtins. No new permissions, no schema changes.
|
||||
|
||||
**db module (permission: `db.read`)**
|
||||
|
||||
- `db.count(table, filters={})` — returns integer count of matching rows.
|
||||
- `db.aggregate(table, column, op, filters={})` — single-value aggregation. `op` ∈ {count, sum, avg, min, max}. Returns int, float, or None.
|
||||
- `db.query_batch(queries)` — execute up to 10 query specs in a single call. Each spec supports the same parameters as `db.query`.
|
||||
|
||||
**http module (permission: `api.http`)**
|
||||
|
||||
- `http.batch(requests)` — concurrent HTTP dispatch of up to 10 requests. Individual failures return error response dicts (`status: 0`) rather than aborting the batch.
|
||||
|
||||
**Internal**
|
||||
|
||||
- Extracted `buildSelectQuery` helper from `dbQuery` for reuse by `db.query_batch`.
|
||||
- 21 new tests (14 db, 7 http).
|
||||
|
||||
## v0.7.10 — Workflow Handoff + Assignment UI
|
||||
|
||||
Closes the three UX gaps found during v0.7.9: public→team handoff,
|
||||
|
||||
Reference in New Issue
Block a user