Skip to content

[Release] Version packages - #496

Open
zbeyens wants to merge 1 commit into
mainfrom
changeset-release/main
Open

zbeyens wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@zbeyens

@zbeyens zbeyens commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Minor Changes

  • #494 182403a Thanks @EfficiencyCorp! - ## Breaking changes

    • Build ORM tables on first use. convexTable(...) no longer throws definition errors (invalid indexes, constraints, extra config). They throw when the schema is pushed, when kitcn codegen runs, or when schema.export() is called.
    // Before: throws here
    const posts = convexTable("posts", { text: text() }, () => [
      searchIndex("s"),
    ]);
    
    // After: throws on push and codegen, or in a test with schema.export()
    const schema = defineSchema({ posts });
    schema.export();
    • Reference columns in extra config through the table argument. A column builder variable shared across tables and used directly in an index throws an ownership error at push.
    // Before
    const tenantId = text().notNull();
    const a = convexTable("a", { tenantId }, () => [index("a_t").on(tenantId)]);
    
    // After
    const a = convexTable("a", { tenantId }, (t) => [
      index("a_t").on(t.tenantId),
    ]);
    • Require rlsPolicy(...).link(table) at module scope, in schema.ts or in the module that declares the table. A linked policy applies to its table as soon as it is linked.
    // Before: linked inside another table's extra config
    const posts = convexTable("posts", { body: text() }, () => [
      rlsPolicy("read_users", { for: "select" }).link(users),
    ]);
    
    // After: link at module scope
    export const readUsers = rlsPolicy("read_users", { for: "select" }).link(
      users
    );

    Patches

    • Preserve self-referencing foreign keys whose callbacks read table metadata through getTableConfig.
    • Preserve foreign-key targets and required fields when column builders are reused across tables or in a discriminator.
    • Improve cold Convex function start: a query or insert builds only the tables it touches, and query contexts no longer build every table's query builder and foreign-key graph. The first update or delete still reads every table's foreign keys, and createOrm without the aggregate capability still builds every table.
    • Fix broken references(() => ...) callbacks surfacing on the first ORM call instead of on push, and passing on a retry.
    • Improve kitcn codegen speed on large projects: a module that many Convex modules import evaluates once per run instead of once per importer.

Patch Changes

  • #495 a2eb3fe Thanks @EfficiencyCorp! - ## Patches

    • Fix Better Auth creates that carry their own id (forceAllowId) failing with Unexpected field `_id` : organization invitations on Better Auth 1.7.16 with default options, and reserveVerificationValue (magic link and email OTP for unverified users, SIWE, SAML). The row now gets its Convex id, and Better Auth reads it back under that id. A second reserveVerificationValue for the same identifier is still refused while the first row exists. A forced-id oauthClientAssertion create (private_key_jwt) is refused, so a replayed assertion cannot get in.

@kitcn/[email protected]

@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
better-convex Error Error Nov 12, 2026 1:03pm UTC

Request Review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-06T13:44:04.291131Z
We couldn’t complete this review. Comment @codex review to try again.
93bb21c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@zbeyens
zbeyens force-pushed the changeset-release/main branch from 01b933d to bf95cd9 Compare November 12, 2026 13:12

This branch had an error being deployed

1 failed (outdated) deployment
Preview — 01b933d3 Deployed Nov 12, 2026 by vercel[bot]
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