@stacksjs/defaults 0.75.584 → 0.75.586

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
@@ -105,3 +105,16 @@ pages have their title, description, code blocks, navigation and valid links,
105
105
  including a changed guide and a skill page. A successful build alone does not
106
106
  prove the prose or API examples are correct. For deployment work, read
107
107
  `stacks-deploy` and verify the CI run for the pushed commit plus the live docs.
108
+
109
+ ## Automated screen documentation
110
+
111
+ Use `buddy docs:screenshots` for an explicit UI inventory rather than one-off
112
+ page captures. `config/screenshots.ts` uses `defineScreenshotConfig` from
113
+ `@stacksjs/docs/screenshots`: pages describe purpose, concrete paths, profiles,
114
+ readiness selectors, optional hooks and masks. Each profile owns a separate
115
+ Bun WebView process. `--list` verifies template coverage without a browser;
116
+ `--check` verifies the complete saved inventory, source/config hashes and PNG
117
+ bytes. Failed or deliberately excluded screens remain visible in the manifest.
118
+ Read `docs/guide/screenshots.md` for the full configuration and CI workflow.
119
+ Use seeded accounts, keep credentials out of artifacts, review every image, and
120
+ verify native apps separately from phone-width web captures.
@@ -42,7 +42,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
42
42
  | `@stacksjs/desktop-build` | [`stacks-desktop`](../stacks-desktop/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/desktop/src/index.ts) | 22 |
43
43
  | `@stacksjs/development` | [`stacks-development`](../stacks-development/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/development/package.json) | 1 |
44
44
  | `@stacksjs/dns` | [`stacks-dns`](../stacks-dns/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/dns/src/index.ts) | 4 |
45
- | `@stacksjs/docs` | [`stacks-docs`](../stacks-docs/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/docs/src/index.ts) | 3 |
45
+ | `@stacksjs/docs` | [`stacks-docs`](../stacks-docs/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/docs/src/index.ts) | 5 |
46
46
  | `@stacksjs/email` | [`stacks-email`](../stacks-email/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/email/src/index.ts) | 24 |
47
47
  | `@stacksjs/enums` | [`stacks-enums`](../stacks-enums/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/enums/src/index.ts) | 3 |
48
48
  | `@stacksjs/env` | [`stacks-env`](../stacks-env/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/env/src/index.ts) | 31 |
@@ -424,7 +424,7 @@ Declared runtime exports: `docsConfig`, `frameworkDefaults`.
424
424
 
425
425
  Local source modules: [src/meta.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/docs/src/meta.ts).
426
426
 
427
- Evidence directory: [3 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/docs/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
427
+ Evidence directory: [5 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/docs/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
428
428
 
429
429
  ### @stacksjs/email
430
430
 
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.584",
5
+ "version": "0.75.586",
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.584",
5
+ "version": "0.75.586",
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.584",
48
+ "@stacksjs/mobile": "0.75.586",
49
49
  "@stacksjs/sanitizer": "^0.2.872",
50
50
  "@stacksjs/stx": "^0.2.872",
51
- "@stacksjs/strings": "0.75.584",
51
+ "@stacksjs/strings": "0.75.586",
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.584",
56
- "@stacksjs/browser": "0.75.584"
55
+ "@stacksjs/support": "0.75.586",
56
+ "@stacksjs/browser": "0.75.586"
57
57
  }
58
58
  }