|
1 | 1 | # kitcn |
2 | 2 |
|
| 3 | +## 0.13.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#213](https://github.com/udecode/kitcn/pull/213) [`71dbc28`](https://github.com/udecode/kitcn/commit/71dbc28f9a59716f8ecd41fda8ee61709ad9c9da) Thanks [@zbeyens](https://github.com/zbeyens)! - ## Breaking changes |
| 8 | + |
| 9 | + - Require explicit `basePath` when `registerRoutes` is used with non-default auth routes. |
| 10 | + |
| 11 | + ```ts |
| 12 | + // Before |
| 13 | + import { registerRoutes } from "kitcn/auth/http"; |
| 14 | + |
| 15 | + // auth config uses basePath: "/custom-auth" |
| 16 | + registerRoutes(http, getAuth, { |
| 17 | + cors: { |
| 18 | + allowedOrigins: [process.env.SITE_URL!], |
| 19 | + }, |
| 20 | + }); |
| 21 | + |
| 22 | + // After |
| 23 | + import { registerRoutes } from "kitcn/auth/http"; |
| 24 | + |
| 25 | + registerRoutes(http, getAuth, { |
| 26 | + basePath: "/custom-auth", |
| 27 | + cors: { |
| 28 | + allowedOrigins: [process.env.SITE_URL!], |
| 29 | + }, |
| 30 | + }); |
| 31 | + ``` |
| 32 | + |
| 33 | + - Require `better-auth@1.6.5`. |
| 34 | + |
| 35 | + ```bash |
| 36 | + # Before |
| 37 | + bun add better-auth@1.5.3 |
| 38 | + |
| 39 | + # After |
| 40 | + bun add better-auth@1.6.5 |
| 41 | + ``` |
| 42 | + |
| 43 | + ## Patches |
| 44 | + |
| 45 | + - Let Convex handle anonymous non-interactive local setup without forcing `CONVEX_AGENT_MODE`. |
| 46 | + - Warn when an app pins an older Convex dependency family than kitcn expects. |
| 47 | + - Support Convex `dev --start` as a pre-run conflict flag. |
| 48 | + - Improve auth route registration so default Convex auth routes avoid eager Better Auth initialization during startup. |
| 49 | + - Preserve forwarded host and protocol headers through Next.js, TanStack Start, and Convex auth route proxies. |
| 50 | + - Fix auth helper token refresh, custom auth `basePath` support, and async custom JWT payload resolution. |
| 51 | + - Fix Better Auth adapter index matching and static filtering for composite and case-insensitive queries. |
| 52 | + - Support Better Auth `1.6.5` auth clients without user-code casts. |
| 53 | + |
3 | 54 | ## 0.12.28 |
4 | 55 |
|
5 | 56 | ### Patch Changes |
|
0 commit comments