Skip to content

convex 1.36#248

Merged
zbeyens merged 3 commits into
mainfrom
codex/convex-136-env-default
Apr 27, 2026
Merged

convex 1.36#248
zbeyens merged 3 commits into
mainfrom
codex/convex-136-env-default

Conversation

@zbeyens
Copy link
Copy Markdown
Member

@zbeyens zbeyens commented Apr 26, 2026

  • Auto release

🧩 Issue ➖ N/A
🟢 95-100% confidence

Phase 🧪 Tests 🌐 Browser
Reproduced 🔴 targeted tests added for missing env default passthrough coverage, Convex 1.36 passthrough rot risk, and stale Better Auth 1.6 pins ➖ N/A
Verified 🟢 targeted CLI/auth tests; ✅ full bun check; ✅ auth E2E 🟢 bun run test:e2e -- next-auth

✅ Outcome

  • Added kitcn env default passthrough to Convex 1.36 default environment variables.
  • Bumped supported Convex floor/pins to 1.36.1 / >=1.36.
  • Documented and regression-tested the relevant existing Convex passthroughs: run --inline-query, deployment create --select, deploy --message, and reusable preview deploys.
  • Synced Better Auth scaffolds/runtime helpers to Better Auth 1.6.9, including Expo/Stripe companion pins.
  • Added Better Auth 1.6 endpoint compatibility options in the vendored Convex plugin helper calls.
  • Synced docs, packed Convex skill references, fixtures, changeset, and workflow learning.

⚠️ Caveat

  • ctx.meta is intentionally not wrapped. It belongs directly inside Convex functions; a kitcn wrapper would be fake abstraction.
  • Upstream convex-better-auth release plumbing/docs/example churn was skipped; only runtime/scaffold compatibility relevant to kitcn landed.

🏗️ Design

  • Convex CLI features stay as thin passthroughs with regression coverage.
  • Better Auth sync is a hard pin/runtime compatibility update, not a new auth abstraction.
  • No compatibility shims: current Better Auth 1.6.9 behavior is the supported surface.

🧪 Verified

  • bun test packages/kitcn/src/cli/commands/env.test.ts packages/kitcn/src/cli/supported-dependencies.test.ts
  • bun test ./packages/kitcn/src/cli/cli.commands.ts
  • bun test packages/kitcn/src/auth/internal/convex-plugin.test.ts packages/kitcn/src/auth/internal/token.test.ts packages/kitcn/src/auth/registerRoutes.test.ts packages/kitcn/src/auth-nextjs/index.test.ts packages/kitcn/src/auth-start/index.test.ts packages/kitcn/src/cli/supported-dependencies.test.ts packages/kitcn/src/cli/registry/items/auth/auth-item.test.ts packages/kitcn/src/cli/registry/dependencies.test.ts tooling/dependency-pins.test.ts
  • bun typecheck
  • bun lint:fix
  • bun --cwd packages/kitcn build
  • bun run fixtures:sync
  • bun run fixtures:check
  • bun check
  • bun run scenario:dev -- next-auth + bun run test:e2e -- next-auth

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 26, 2026

🦋 Changeset detected

Latest commit: ad2c8c8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
kitcn Minor
@kitcn/resend Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
better-convex Ready Ready Preview, Comment Apr 27, 2026 7:37am

Request Review

@zbeyens zbeyens changed the title Add Convex env defaults convex 1.36 Apr 27, 2026
@zbeyens zbeyens merged commit 26023d2 into main Apr 27, 2026
9 checks passed
@zbeyens zbeyens deleted the codex/convex-136-env-default branch April 27, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant