Skip to content

fix(codegen): release 4.1.1 with patched Auth UI - #282

Merged
olliethedev merged 5 commits into
mainfrom
docs/biomogging-auth-migration
Sep 30, 2026
Merged

olliethedev merged 5 commits into
mainfrom
docs/biomogging-auth-migration

Conversation

@olliethedev

@olliethedev olliethedev commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The Codegen companion installer selected Better Auth UI 3.0.0, whose server-rendered forms could submit credentials through native GET before hydration. The separately published 4.1.0 release retains that pin. Existing applications also need clearer migration guidance for auth URLs and email verification.

Change

Publish the paired Stack/Codegen 4.1.1 patch with the generator selecting @btst/better-auth-ui@3.0.1. Update the generated Stack dependency, maintained playground templates, and current installation examples to 4.1.1. This release carries forward all 4.1 features, including typed classNames overrides for Blog, AI Chat, CMS, and Form Builder; it does not change their behavior.

The required companion workflows now pack the published 3.0.1 source, and the local framework-fixture fallback selects the same version.

Clarify shared viewPaths for existing account/verification URLs, emailAndPassword.requireEmailVerification alongside native server enforcement, and URL-segment page overrides. Link to the companion migration guide.

The companion fix is published and verified through better-stack-ai/better-auth-ui#29. Its actual server-rendered browser regression fails before the fix and passes afterward with scripts delayed.

Verification

  • Package builds, all 196 Codegen tests, and lint/canonical DX guard pass after the final paired version update. Typechecks and the documentation production build pass.
  • UI 3.0.1 passed 44 library tests. The final Stack/Codegen 4.1.1 candidate passed all 268 Biomogging browser tests without retries/skips, plus its production build, typecheck, and ISR audit.
  • BetterStackWeb passed the same candidate through production build, 108 unit tests, 8 Media integration tests, delayed-script pointer/keyboard checks, and native login/session/sign-out.
  • All hosted CI and both actual Vercel deployments pass on reviewed head d1b9bb91 and merge commit 7b80c45c; the fresh publication preflight passes. The merge has 1,096 Stack tests, 196 Codegen tests, and all framework checks green. Automated final review found no major issues.

The independent 4.1.0 release/tag is preserved. Neither its source nor existing registry versions will be overwritten.

Final review on d1b9bb91 completed with no major issues. The companion-validation finding is fixed and its thread is resolved after all updated companion checks passed. Next.js browser checks passed (192 tests plus one framework exclusion); TanStack passed with one existing live-AI test using its configured retry. React Router passed 188 tests plus one framework exclusion. It required one runner retry because Ubuntu dependency downloads took over 14 minutes versus a 40-second successful baseline; completed framework results were preserved and no test assertions changed.

On merge commit 7b80c45c, Next.js passed 192 tests plus one framework exclusion, React Router passed 188 plus one framework exclusion, and TanStack passed 188 plus one live public-chat response timeout that passed its configured retry. No merged-head workflows were retried.

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
better-stack-docs Ready Ready Preview Sep 30, 2026 5:19pm UTC
better-stack-playground Ready Ready Preview Sep 30, 2026 5:19pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T17:24:32.516269Z d1b9bb9 Manual request
ℹ️ 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.

@olliethedev olliethedev changed the title docs: preserve auth URLs and verification behavior during migration fix(codegen): select patched Auth UI and clarify migration Sep 30, 2026
@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review the final generator companion pin and matching install/scaffold assertions in 474e4fc. Better Auth UI 3.0.1 is now published with the SSR form fix verified in both production consumers. The earlier review covered only the documentation commit.

@olliethedev olliethedev changed the title fix(codegen): select patched Auth UI and clarify migration fix(codegen): release 4.1.1 with patched Auth UI Sep 30, 2026
@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review final head bde0cd4. Another session started the independent 4.1.0 release while this PR was running, so the final change now prepares paired 4.1.1, preserves all merged 4.1 features, and selects published Better Auth UI 3.0.1 in generated installs. The added version delta is limited to package versions, generated Stack pins, their assertion, and maintained installation/template references.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 474e4fc9bc

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

Final head is 9567b63. The only change after bde0cd4 corrects three version references in the current v3-to-v4 migration section to the 4.1.1 cohort. Older historical migration sections remain unchanged. Please finish the review on this exact final head before merge/publication.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9567b639e0

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/cli/src/utils/constants.ts Resolved
@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

Final head d1b9bb9 addresses the companion validation finding: the shared CI action now packs published Better Auth UI 3.0.1 source48ebf19, and the local framework fixture fallback selects3.0.1. This two-line test-harness update does not change the already verified production package artifacts. Please review the final head before merge/publication.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: d1b9bb91cb

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@olliethedev
olliethedev merged commit 7b80c45 into main Sep 30, 2026
16 of 17 checks passed

This branch was successfully deployed

2 active deployments
Preview – better-stack-docs — d1b9bb91 Deployed Sep 30, 2026 by vercel[bot]
Preview – better-stack-playground — d1b9bb91 Deployed Sep 30, 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