create-stitchkit 0.6.21 → 0.6.22
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/CHANGELOG.md +28 -0
- package/UPGRADING.md +11 -0
- package/package.json +6 -6
- package/template/biome.json +1 -1
- package/template/bun.lock +159 -189
- package/template/package.json +8 -8
- package/template/packages/backend/package.json +1 -1
- package/template/packages/backend/src/transport/errors.ts +1 -0
- package/template/packages/config/package.json +1 -1
- package/template/packages/frontend/package.json +8 -8
- package/templates/agent/biome.json +1 -1
- package/templates/agent/package.json +7 -4
- package/templates/telegram-bot/biome.json +1 -1
- package/templates/telegram-bot/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,34 @@ step is overwritten by the next release.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.6.22] - 2026-11-17
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Generated projects resolve stitchkit 0.124.2: a streaming endpoint reads the response of
|
|
20
|
+
another runtime's fetch (`expo/fetch` in React Native). A project that builds or reads named
|
|
21
|
+
MCP media blocks, maps `NOT_FOUND` to a missing route or tool, or reads stdout after
|
|
22
|
+
`CLI_PRESENTATION_FAILED` follows the stitchkit 0.122.0, 0.123.0 and 0.124.0 migrations in
|
|
23
|
+
`docs/guide/upgrading.md`.
|
|
24
|
+
- The generator, the starter and both templates check and format with Biome 2.6.8; the starter
|
|
25
|
+
moves to Playwright 1.65.1, Next.js 16.4.6, TanStack Query 5.108, `next-intl` 4.15,
|
|
26
|
+
`framer-motion` 14.14, Tailwind CSS 4.3.5, `@tabler/icons-react` 3.52, `ai` 7.0.173,
|
|
27
|
+
`dotenv` 18.0.10 and `oxc-parser` 0.159, the agent template to `ai` 7.0.173.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- A generated agent project installs the `stitchkit-tui` its code is written for: the template
|
|
32
|
+
declared `^0.1.1`, which resolves to 0.1.x only, while its code uses the 0.4 API. It now declares
|
|
33
|
+
`^0.4.4` and the TUI's peers — `@opentui/core` and `@opentui/react` `^0.9.2`, `react` `^19.3.1` —
|
|
34
|
+
as its own dependencies. An agent project generated earlier takes the same four lines into its
|
|
35
|
+
`package.json` and runs `bun install`.
|
|
36
|
+
|
|
37
|
+
- A generated project keeps answering `not_found` for a request no route matches. Stitchkit
|
|
38
|
+
answers such a request `UNKNOWN_OPERATION` where it used to answer `NOT_FOUND`, and the
|
|
39
|
+
starter's error map now spells both as `not_found`; without the entry the framework's own code
|
|
40
|
+
would reach clients. Existing projects adopt it by
|
|
41
|
+
[`UPGRADING.md`](./UPGRADING.md#unknown-operation-keeps-the-not_found-wire-code).
|
|
42
|
+
|
|
15
43
|
## [0.6.21] - 2026-11-09
|
|
16
44
|
|
|
17
45
|
### Changed
|
package/UPGRADING.md
CHANGED
|
@@ -60,6 +60,17 @@ the first scaffolder release with a migration channel of its own.
|
|
|
60
60
|
|
|
61
61
|
---
|
|
62
62
|
|
|
63
|
+
## Released migration: 0.6.22
|
|
64
|
+
|
|
65
|
+
### unknown operation keeps the not_found wire code
|
|
66
|
+
|
|
67
|
+
Take it together with the stitchkit release that answers an unmatched route
|
|
68
|
+
`UNKNOWN_OPERATION`; on an earlier stitchkit the entry is inert.
|
|
69
|
+
|
|
70
|
+
1. In `packages/backend/src/transport/errors.ts`, add `UNKNOWN_OPERATION: 'not_found'` to
|
|
71
|
+
`codeMap`, beside `NOT_FOUND`.
|
|
72
|
+
2. Request a path the backend does not route and check the answer's code is `not_found`.
|
|
73
|
+
|
|
63
74
|
## Released migration: 0.6.21
|
|
64
75
|
|
|
65
76
|
### supervision passes declared environment
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-stitchkit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.22",
|
|
4
4
|
"description": "Create a production-shaped Stitchkit application",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Max Listov <maxlistov@gmail.com>",
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"prepublishOnly": "bun run check && bun run test && bun run build"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@biomejs/biome": "2.6.
|
|
77
|
+
"@biomejs/biome": "2.6.8",
|
|
78
78
|
"zod": "^4.6.7"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@opentui/core": "^0.8.2",
|
|
82
|
-
"@opentui/react": "^0.8.2",
|
|
83
81
|
"@openrouter/ai-sdk-provider": "^3.1.0",
|
|
82
|
+
"@opentui/core": "^0.9.2",
|
|
83
|
+
"@opentui/react": "^0.9.2",
|
|
84
84
|
"@types/bun": "^1.4.4",
|
|
85
85
|
"@types/react": "^19.3.0",
|
|
86
|
-
"ai": "^7.0.
|
|
86
|
+
"ai": "^7.0.173",
|
|
87
87
|
"react": "^19.3.1",
|
|
88
|
-
"stitchkit": "0.
|
|
88
|
+
"stitchkit": "0.124.2",
|
|
89
89
|
"typescript": "^7.0.2"
|
|
90
90
|
},
|
|
91
91
|
"engines": {
|
package/template/biome.json
CHANGED