@quickback-dev/cli 0.70.12 → 0.70.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import pc from "picocolors";
12
12
  // Version injected at build time by scripts/inject-version.ts
13
- const CLI_VERSION = "0.70.12";
13
+ const CLI_VERSION = "0.70.13";
14
14
  function getPackageVersion() {
15
15
  return CLI_VERSION;
16
16
  }
@@ -1275,9 +1275,12 @@ scope minted mid-request) re-stamps the preamble inside the open transaction —
1275
1275
  `set_config(…, true)` is transaction-local, so the previous claims are gone the
1276
1276
  moment the new ones land. The read lane is rolled back before a write or a
1277
1277
  `db.transaction()` takes the connection, after any read error, and when the
1278
- invocation scope closes the pool; a `SELECT` the server refuses inside a
1279
- read-only transaction (`nextval()`, a volatile function that writes) falls back
1280
- to the write lane automatically. Only statements that begin with `SELECT` or a
1278
+ invocation scope closes the pool. That `ROLLBACK` is its own round trip, never
1279
+ pipelined with the write's `BEGIN`: Hyperdrive's transaction pooler releases
1280
+ the origin connection at the transaction end and loses anything pipelined past
1281
+ it, which hung every write that followed a read in 0.70.10–0.70.12. A
1282
+ `SELECT` the server refuses inside a read-only transaction (`nextval()`, a
1283
+ volatile function that writes) falls back to the write lane automatically. Only statements that begin with `SELECT` or a
1281
1284
  non-modifying `WITH` and carry no `FOR UPDATE` / `FOR SHARE` qualify; anything
1282
1285
  else is a write.
1283
1286
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quickback-dev/cli",
3
- "version": "0.70.12",
3
+ "version": "0.70.13",
4
4
  "description": "CLI for Quickback — define your backend in TypeScript, compile to a fully wired Cloudflare Worker (or Bun / Node) with auth, database, migrations, security, CMS, and Account UI.",
5
5
  "author": "Kardoe Incorporated <paul@kardoe.com>",
6
6
  "license": "MIT",
@@ -1275,9 +1275,12 @@ scope minted mid-request) re-stamps the preamble inside the open transaction —
1275
1275
  `set_config(…, true)` is transaction-local, so the previous claims are gone the
1276
1276
  moment the new ones land. The read lane is rolled back before a write or a
1277
1277
  `db.transaction()` takes the connection, after any read error, and when the
1278
- invocation scope closes the pool; a `SELECT` the server refuses inside a
1279
- read-only transaction (`nextval()`, a volatile function that writes) falls back
1280
- to the write lane automatically. Only statements that begin with `SELECT` or a
1278
+ invocation scope closes the pool. That `ROLLBACK` is its own round trip, never
1279
+ pipelined with the write's `BEGIN`: Hyperdrive's transaction pooler releases
1280
+ the origin connection at the transaction end and loses anything pipelined past
1281
+ it, which hung every write that followed a read in 0.70.10–0.70.12. A
1282
+ `SELECT` the server refuses inside a read-only transaction (`nextval()`, a
1283
+ volatile function that writes) falls back to the write lane automatically. Only statements that begin with `SELECT` or a
1281
1284
  non-modifying `WITH` and carry no `FOR UPDATE` / `FOR SHARE` qualify; anything
1282
1285
  else is a write.
1283
1286