@stacksjs/defaults 0.75.584 → 0.75.585
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.
|
@@ -143,6 +143,14 @@ active transaction connection inside a transaction. It does not mark the request
|
|
|
143
143
|
as a writer or change routing for unrelated reads. Session authentication uses
|
|
144
144
|
this handle so a revoked session cannot authenticate from a stale replica.
|
|
145
145
|
|
|
146
|
+
For transaction-bound adapters that register non-SQL work, call
|
|
147
|
+
`assertActiveTransaction()` from `@stacksjs/database/runtime` before registering
|
|
148
|
+
callbacks. It performs the same native ownership checks as the `db` facade:
|
|
149
|
+
no missing or closed callback owner and no parent work while a nested savepoint
|
|
150
|
+
is active. `isInTransaction()` alone only reports a dispatch scope; it does not
|
|
151
|
+
prove that scope can accept work. Keep application ownership checks as well,
|
|
152
|
+
and route SQL through `db` so native connection guards remain in force.
|
|
153
|
+
|
|
146
154
|
## SQL Template Tag (types.ts)
|
|
147
155
|
|
|
148
156
|
```typescript
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.585",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.585",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/f7": "^1.2.2",
|
|
47
47
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
48
|
-
"@stacksjs/mobile": "0.75.
|
|
48
|
+
"@stacksjs/mobile": "0.75.585",
|
|
49
49
|
"@stacksjs/sanitizer": "^0.2.872",
|
|
50
50
|
"@stacksjs/stx": "^0.2.872",
|
|
51
|
-
"@stacksjs/strings": "0.75.
|
|
51
|
+
"@stacksjs/strings": "0.75.585",
|
|
52
52
|
"@xterm/addon-fit": "^0.11.0",
|
|
53
53
|
"@xterm/xterm": "^6.0.0",
|
|
54
54
|
"ts-qr-codes": "^0.1.8",
|
|
55
|
-
"@stacksjs/support": "0.75.
|
|
56
|
-
"@stacksjs/browser": "0.75.
|
|
55
|
+
"@stacksjs/support": "0.75.585",
|
|
56
|
+
"@stacksjs/browser": "0.75.585"
|
|
57
57
|
}
|
|
58
58
|
}
|