Skip to content

Commit 26023d2

Browse files
authored
convex 1.36 (#248)
1 parent dd56b2b commit 26023d2

31 files changed

Lines changed: 381 additions & 68 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
"kitcn": minor
3+
"@kitcn/resend": minor
4+
---
5+
6+
## Breaking changes
7+
8+
- Require Convex 1.36 or newer.
9+
10+
```bash
11+
# Before
12+
bun add convex@1.35.1
13+
14+
# After
15+
bun add convex@1.36.1
16+
```
17+
18+
## Features
19+
20+
- Add `kitcn env default` passthrough for Convex default environment variables.
21+
22+
## Patches
23+
24+
- Align Better Auth scaffolds and auth runtime helpers with Better Auth 1.6.9.
25+
- Document Convex inline query, branch deployment, deploy message, and preview deployment passthroughs.

bun.lock

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
title: Convex 1.36 release audits should ship one thin CLI slice
3+
date: 2026-04-26
4+
category: workflow-issues
5+
module: kitcn cli
6+
problem_type: workflow_issue
7+
component: tooling
8+
severity: medium
9+
applies_when:
10+
- Auditing a newer Convex npm release for kitcn work
11+
- A Convex CLI feature can be exposed without wrapping its behavior
12+
- A Convex version bump changes scaffold pins or supported peer floors
13+
tags: [convex, cli, release-audit, env-default, fixtures, changeset]
14+
---
15+
16+
# Convex 1.36 release audits should ship one thin CLI slice
17+
18+
## Context
19+
20+
Convex 1.36 added several useful features: default environment variables,
21+
inline CLI queries, deployment messages, and function metadata reflection.
22+
That does not mean kitcn should mirror every feature.
23+
24+
The useful slice was `convex env default`: kitcn already owns `kitcn env`
25+
delegation, and default env values improve new dev, preview, and production
26+
deployment setup without adding a new abstraction.
27+
28+
## Guidance
29+
30+
Treat Convex release audits as selection work, not a shopping spree:
31+
32+
1. Read Ship, the package changelog, and the upstream diff.
33+
2. Classify each item as `compatibility`, `cleanup`, `agentic`, `feature`, or
34+
`no-op`.
35+
3. Ship one coherent slice.
36+
4. Prefer passthrough when Convex already owns the behavior.
37+
38+
For Convex 1.36 default env values, the right shape is thin delegation:
39+
40+
```bash
41+
kitcn env default list --type dev
42+
kitcn env default set SITE_URL https://app.example.com --type prod
43+
```
44+
45+
Do not add a kitcn-specific default-env store, parser, or lifecycle. Allow the
46+
subcommand, forward it to `convex env default`, and document the Convex-owned
47+
contract.
48+
49+
When the selected slice depends on a new Convex CLI feature:
50+
51+
- Pin scaffold/runtime installs to the exact supported version.
52+
- Raise package peer floors to the release family, for example `>=1.36`.
53+
- Update `www/` docs and packed Convex skill references in the same diff.
54+
- Write a changeset because published package behavior changed.
55+
- Run fixture sync/check when scaffold output package pins change.
56+
57+
## Why This Matters
58+
59+
kitcn gets worse when it shadows Convex. The package should sharpen agent and
60+
developer workflows, not become a second Convex CLI with stale copies of every
61+
new flag.
62+
63+
Thin passthrough keeps ownership clean: Convex owns deployment defaults; kitcn
64+
owns discoverability, docs, scaffolds, and deterministic verification.
65+
66+
## When to Apply
67+
68+
- Convex ships a CLI subcommand that fits an existing kitcn command group.
69+
- A release includes several attractive features but only one has a small,
70+
proven kitcn integration path.
71+
- A Convex version bump affects scaffold pins, peer dependency warnings, or
72+
docs/skill setup guidance.
73+
74+
## Examples
75+
76+
Audit first:
77+
78+
```bash
79+
npm view convex version --json
80+
gh api -H "Accept: application/vnd.github.raw" \
81+
repos/get-convex/convex-backend/contents/npm-packages/convex/CHANGELOG.md
82+
git -C ../convex-backend diff <current-ref>..<target-ref> -- \
83+
npm-packages/convex
84+
```
85+
86+
Then keep the implementation boring:
87+
88+
```ts
89+
const SUPPORTED_ENV_SUBCOMMANDS = new Set([
90+
"get",
91+
"set",
92+
"list",
93+
"default",
94+
]);
95+
```
96+
97+
For scaffold pin changes, verify both generated output and runtime:
98+
99+
```bash
100+
bun run fixtures:sync
101+
bun run fixtures:check
102+
bun check
103+
```
104+
105+
## Related
106+
107+
- [Convex 1.35 owns anonymous non-interactive setup](/Users/zbeyens/git/better-convex/docs/solutions/workflow-issues/convex-135-owns-anonymous-noninteractive-setup-20260415.md)

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"typecheck:watch": "tsc --noEmit --watch"
3232
},
3333
"dependencies": {
34-
"@better-auth/stripe": "1.6.5",
34+
"@better-auth/stripe": "1.6.9",
3535
"@convex-dev/react-query": "0.1.0",
3636
"@hookform/resolvers": "5.2.2",
3737
"@kitcn/resend": "workspace:*",
@@ -40,12 +40,12 @@
4040
"@react-email/render": "2.0.4",
4141
"@t3-oss/env-nextjs": "0.13.10",
4242
"@tanstack/react-query": "5.95.2",
43-
"better-auth": "1.6.5",
43+
"better-auth": "1.6.9",
4444
"class-variance-authority": "0.7.1",
4545
"clsx": "2.1.1",
4646
"cmdk": "1.1.1",
4747
"common-tags": "1.8.2",
48-
"convex": "1.35.1",
48+
"convex": "1.36.1",
4949
"date-fns": "4.1.0",
5050
"embla-carousel-react": "8.6.0",
5151
"hono": "4.12.9",

fixtures/expo-auth/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"dependencies": {
3-
"@better-auth/expo": "1.6.5",
3+
"@better-auth/expo": "1.6.9",
44
"@opentelemetry/api": "1.9.0",
55
"@react-navigation/bottom-tabs": "^7.15.5",
66
"@react-navigation/elements": "^2.9.10",
77
"@react-navigation/native": "^7.1.33",
88
"@tanstack/react-query": "5.95.2",
9-
"better-auth": "1.6.5",
10-
"convex": "1.35.1",
9+
"better-auth": "1.6.9",
10+
"convex": "1.36.1",
1111
"expo": "~55.0.17",
1212
"expo-constants": "~55.0.15",
1313
"expo-device": "~55.0.15",

fixtures/expo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@react-navigation/elements": "^2.9.10",
66
"@react-navigation/native": "^7.1.33",
77
"@tanstack/react-query": "5.95.2",
8-
"convex": "1.35.1",
8+
"convex": "1.36.1",
99
"expo": "~55.0.17",
1010
"expo-constants": "~55.0.15",
1111
"expo-device": "~55.0.15",

fixtures/next-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"@base-ui/react": "^1.4.1",
44
"@opentelemetry/api": "1.9.0",
55
"@tanstack/react-query": "5.95.2",
6-
"better-auth": "1.6.5",
6+
"better-auth": "1.6.9",
77
"class-variance-authority": "^0.7.1",
88
"clsx": "^2.1.1",
9-
"convex": "1.35.1",
9+
"convex": "1.36.1",
1010
"hono": "4.12.9",
1111
"kitcn": "workspace:*",
1212
"lucide-react": "^1.11.0",

fixtures/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@tanstack/react-query": "5.95.2",
66
"class-variance-authority": "^0.7.1",
77
"clsx": "^2.1.1",
8-
"convex": "1.35.1",
8+
"convex": "1.36.1",
99
"hono": "4.12.9",
1010
"kitcn": "workspace:*",
1111
"lucide-react": "^1.11.0",

fixtures/start-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"@tanstack/react-router-ssr-query": "^1.166.9",
1212
"@tanstack/react-start": "^1.166.15",
1313
"@tanstack/router-plugin": "^1.166.13",
14-
"better-auth": "1.6.5",
14+
"better-auth": "1.6.9",
1515
"class-variance-authority": "^0.7.1",
1616
"clsx": "^2.1.1",
17-
"convex": "1.35.1",
17+
"convex": "1.36.1",
1818
"hono": "4.12.9",
1919
"kitcn": "workspace:*",
2020
"lucide-react": "^1.11.0",

fixtures/start/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@tanstack/router-plugin": "^1.166.13",
1414
"class-variance-authority": "^0.7.1",
1515
"clsx": "^2.1.1",
16-
"convex": "1.35.1",
16+
"convex": "1.36.1",
1717
"hono": "4.12.9",
1818
"kitcn": "workspace:*",
1919
"lucide-react": "^1.11.0",

0 commit comments

Comments
 (0)