Skip to content

feat: better-auth + next 16 + cf migration + drizle - #24

Merged
hueypov merged 30 commits into
devfrom
b-auth
Apr 30, 2026
Merged

feat: better-auth + next 16 + cf migration + drizle #24
hueypov merged 30 commits into
devfrom
b-auth

Conversation

@hueypov

@hueypov hueypov commented Dec 18, 2025

Copy link
Copy Markdown
Member

No description provided.

- Updated pnpm workspace to ignore specific built dependencies.
- Changed Supabase config to expose "better_auth" schema instead of "next_auth".
- Modified migration to change user ID type from UUID to TEXT in the users and applications tables.
- Added new migration for "better_auth" schema with tables for account, session, user, and verification.
- Implemented trigger to sync users between better_auth and public schemas.
- Updated TypeScript configuration for improved JSX support and included additional type definitions.
- Refactored Supabase client to use updated auth import and handle session retrieval with headers.
@netlify

netlify Bot commented Dec 18, 2025

Copy link
Copy Markdown

Deploy Preview for prt02 failed. Why did it fail? →

Name Link
🔨 Latest commit c79f495
🔍 Latest deploy log https://app.netlify.com/projects/prt02/deploys/69488056db201c0008afad9a

@netlify

netlify Bot commented Apr 25, 2026

Copy link
Copy Markdown

Deploy Preview for prt02 failed. Why did it fail? →

Name Link
🔨 Latest commit d221f7d
🔍 Latest deploy log https://app.netlify.com/projects/prt02/deploys/69f3c1ed923b5a0008fd8c77

@hueypov hueypov changed the title feat: better-auth + next 16 feat: better-auth + next 16 + cf migration + drizle Apr 25, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
website-v2 d221f7d Apr 30 2026, 08:58 PM

@hueypov
hueypov merged commit 37ff278 into dev Apr 30, 2026
0 of 5 checks passed
@hueypov
hueypov deleted the b-auth branch April 30, 2026 20:58
hueypov added a commit that referenced this pull request Apr 30, 2026
* delete: remove next-auth-related files and schema

* feat: update Supabase configuration and add better_auth schema

- Updated pnpm workspace to ignore specific built dependencies.
- Changed Supabase config to expose "better_auth" schema instead of "next_auth".
- Modified migration to change user ID type from UUID to TEXT in the users and applications tables.
- Added new migration for "better_auth" schema with tables for account, session, user, and verification.
- Implemented trigger to sync users between better_auth and public schemas.
- Updated TypeScript configuration for improved JSX support and included additional type definitions.
- Refactored Supabase client to use updated auth import and handle session retrieval with headers.

* feat: add login and signup forms with Google and email authentication

* feat: implement login and signup pages, update authentication flow, and remove unused components

* feat: add proxy middleware for authentication and route protection

* feat: add Mailpit setup documentation and Docker configuration for email testing

* feat: implement email verification and password reset functionality with templates

* feat: enhance login and signup forms with validation and email verification dialog

* feat: add reset password page and form with validation

* feat: enhance email verification dialog with resend functionality and attempt tracking

* feat: add forgot password dialog with email validation and reset functionality

* feat: add forgot password dialog and enhance login/signup forms with improved validation

* cf migration

* feat: update dependencies in pnpm-lock.yaml for improved compatibility and performance

* Refactor actions to simplify caching and member lookups

* Migrate auth envs and preserve Wrangler vars

* Trigger Cloudflare build

* Trigger Cloudflare build

* Force auth pages to render dynamically

* Wrap auth pages in Suspense for prerendering

* Refactor database client implementation to use 'postgres' package and update migration and seeding scripts accordingly

* Add postgres package to dependencies and remove duplicate entry

* Update wrangler configuration: adjust compatibility date, remove unused fields, and enable observability

* Fix Better Auth deploy config and timestamp mapping

* Fix Workers auth and database config

* Update Neon config and auth caching

* Update layout and button size

* Refactor audit database handling: replace getAuditDb with runAuditQuery for improved query execution

* Update caching configuration: change cache life to max and implement regional cache for incremental cache

* Remove unused files
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