diff --git a/.changeset/balanced-aca-admission.md b/.changeset/balanced-aca-admission.md deleted file mode 100644 index 7f29fdb7..00000000 --- a/.changeset/balanced-aca-admission.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sql-fs-api": patch ---- - -Update the ACA deployment example with early HTTP concurrency scaling, bounded five-second queues, faster readiness probes, a drain grace period and an immutable image reference. Keep blob caching off in the example so control Redis does not also carry blob traffic. diff --git a/.changeset/queued-input-cancellation.md b/.changeset/queued-input-cancellation.md deleted file mode 100644 index a6163542..00000000 --- a/.changeset/queued-input-cancellation.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"sql-fs-api": patch ---- - -Read accepted queued HTTP and MCP request bodies within the existing byte budgets so client disconnects can remove waiting requests before route execution. Preserve streaming, response and retained-work ownership, and unread immediate queue-full refusal. Add independent global and tenant ingress queue limits, including zero waiting, while keeping the current queue sizes and 250 ms wait by default. - -Expose ingress capacity, outcome counters and admitted queue wait histograms through metrics. diff --git a/.changeset/shared-sandbox-fencing.md b/.changeset/shared-sandbox-fencing.md deleted file mode 100644 index b1bbb8ba..00000000 --- a/.changeset/shared-sandbox-fencing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sql-fs-api": patch ---- - -Centralize Postgres sandbox fencing while preserving transaction context, lock order, and statement counts. Add regression coverage for stale writes and concurrent transactions, and fix verification commands that could fail under shell pipefail. diff --git a/.changeset/skip-applied-startup-migrations.md b/.changeset/skip-applied-startup-migrations.md deleted file mode 100644 index 89d0a6eb..00000000 --- a/.changeset/skip-applied-startup-migrations.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sql-fs-api": patch ---- - -Record applied Postgres migrations and their SHA-256 checksums in a transactionally committed ledger per tenant database. Replica startup skips unchanged migrations instead of repeating table DDL while other replicas serve requests. Reject changes to recorded migration files and roll back pending DDL and history together on failure. diff --git a/.changeset/tidy-ingress-outcomes.md b/.changeset/tidy-ingress-outcomes.md deleted file mode 100644 index ffe0bf2a..00000000 --- a/.changeset/tidy-ingress-outcomes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sql-fs-api": patch ---- - -Preserve completed route responses when request input fails after dispatch, and count queued-hook failures as cancelled admissions. Keep overload retry and Redis scaling guidance aligned with operation outcomes and configured cache roles. diff --git a/.changeset/tidy-runtime-dependencies.md b/.changeset/tidy-runtime-dependencies.md deleted file mode 100644 index 4858ef10..00000000 --- a/.changeset/tidy-runtime-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sql-fs-api": patch ---- - -Remove development dependencies from the runtime Docker image after building the API. diff --git a/CHANGELOG.md b/CHANGELOG.md index c75a3489..558a37ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 1.2.1 + +### Patch Changes + +- [#275](https://github.com/Hazzng/sql-fs/pull/275) Thanks [@Hazzng](https://github.com/Hazzng)! - Update the ACA deployment example with early HTTP concurrency scaling, bounded five-second queues, faster readiness probes, a drain grace period and an immutable image reference. Keep blob caching off in the example so control Redis does not also carry blob traffic. + +- [#275](https://github.com/Hazzng/sql-fs/pull/275) Thanks [@Hazzng](https://github.com/Hazzng)! - Read accepted queued HTTP and MCP request bodies within the existing byte budgets so client disconnects can remove waiting requests before route execution. Preserve streaming, response and retained-work ownership, and unread immediate queue-full refusal. Add independent global and tenant ingress queue limits, including zero waiting, while keeping the current queue sizes and 250 ms wait by default. + + Expose ingress capacity, outcome counters and admitted queue wait histograms through metrics. + +- Update Zod, body-parser, undici, and certifi to resolve published security advisories. + +- [#274](https://github.com/Hazzng/sql-fs/pull/274) Thanks [@Hazzng](https://github.com/Hazzng)! - Centralize Postgres sandbox fencing while preserving transaction context, lock order, and statement counts. Add regression coverage for stale writes and concurrent transactions, and fix verification commands that could fail under shell pipefail. + +- [#275](https://github.com/Hazzng/sql-fs/pull/275) Thanks [@Hazzng](https://github.com/Hazzng)! - Record applied Postgres migrations and their SHA-256 checksums in a transactionally committed ledger per tenant database. Replica startup skips unchanged migrations instead of repeating table DDL while other replicas serve requests. Reject changes to recorded migration files and roll back pending DDL and history together on failure. + +- [#275](https://github.com/Hazzng/sql-fs/pull/275) Thanks [@Hazzng](https://github.com/Hazzng)! - Preserve completed route responses when request input fails after dispatch, and count queued-hook failures as cancelled admissions. Keep overload retry and Redis scaling guidance aligned with operation outcomes and configured cache roles. + +- [#275](https://github.com/Hazzng/sql-fs/pull/275) Thanks [@Hazzng](https://github.com/Hazzng)! - Remove development dependencies from the runtime Docker image after building the API. + ## 1.2.0 ### Minor Changes diff --git a/README.md b/README.md index 911ea842..98900a80 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- Version + Version Node.js TypeScript just-bash diff --git a/package.json b/package.json index 399f2acd..7fed23b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sql-fs-api", - "version": "1.2.0", + "version": "1.2.1", "description": "Persistent filesystem backend (Postgres) + HTTP/MCP API for just-bash sandboxes", "type": "module", "license": "MIT", diff --git a/src/api/openapi-spec.ts b/src/api/openapi-spec.ts index 8277e534..fcc10b11 100644 --- a/src/api/openapi-spec.ts +++ b/src/api/openapi-spec.ts @@ -107,7 +107,7 @@ export const openapiSpec = { openapi: "3.0.0", info: { title: "SQL-FS API", - version: "1.2.0", + version: "1.2.1", description: "Persistent filesystem backend + HTTP/MCP API for just-bash sandboxes. Backed by Postgres.", }, servers: [{ url: "/v1", description: "API v1" }],