[GH-ISSUE #4758] v1.4.x iteration plan #27375

Closed
opened 2026-04-17 18:22:19 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @himself65 on GitHub (Sep 18, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/4758

Features

Enable database transaction by default

We will enable it for the adapter that supports it. Right now, I've seen that Neon DB might not support it. So we should find a way to detect whether db supports it.

Database join supports

https://github.com/better-auth/better-auth/pull/5730 by @ping-maxwell

This will improve the database performance and helps new features

Related to

use AsyncLocalStorage for context tracking

AsyncLocalStorage is a powerful API for a server-side library to track the state across the async context, especially for the API server.

This will need Cloudflare user to update their wrangler.toml

Dedicated React client-side SDK

https://github.com/better-auth/better-auth/pull/4822

Ship @better-auth/react SDK and use it in better-auth/react subpath. It will cover the SSR/RSC solution.

Set CORS header by default

Related: https://github.com/better-auth/better-auth/issues/4720

Set CORS headers by default, this is confusing for people have backend and frontend server

Originally created by @himself65 on GitHub (Sep 18, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/4758 ## Features ### Enable database transaction by default We will enable it for the adapter that supports it. Right now, I've seen that Neon DB might not support it. So we should find a way to detect whether db supports it. ### Database `join` supports https://github.com/better-auth/better-auth/pull/5730 by @ping-maxwell This will improve the database performance and helps new features Related to - https://github.com/better-auth/better-auth/issues/1247 ### use `AsyncLocalStorage` for context tracking AsyncLocalStorage is a powerful API for a server-side library to track the state across the async context, especially for the API server. This will need Cloudflare user to update their `wrangler.toml` ### Dedicated React client-side SDK https://github.com/better-auth/better-auth/pull/4822 Ship `@better-auth/react` SDK and use it in `better-auth/react` subpath. It will cover the SSR/RSC solution. ### Set CORS header by default Related: https://github.com/better-auth/better-auth/issues/4720 Set CORS headers by default, this is confusing for people have backend and frontend server
GiteaMirror added the lockedenhancement labels 2026-04-17 18:22:19 -05:00
Author
Owner

@coderrshyam commented on GitHub (Sep 20, 2025):

@himself65 Nice! But with some more improvement this can be released as v2, you can create a dedicated package for each libraries like:-

  • @better-auth/core
  • @better-auth/react
  • @better-auth/next
  • @better-auth/nuxt
  • @better-auth/express

and so on.

Adding new features in a minor versions are not sounds good.

<!-- gh-comment-id:3314901265 --> @coderrshyam commented on GitHub (Sep 20, 2025): @himself65 Nice! But with some more improvement this can be released as `v2`, you can create a dedicated package for each libraries like:- - `@better-auth/core` - `@better-auth/react` - `@better-auth/next` - `@better-auth/nuxt` - `@better-auth/express` and so on. Adding new features in a minor versions are not sounds good.
Author
Owner

@ping-maxwell commented on GitHub (Sep 20, 2025):

@himself65 Nice! But with some more improvement this can be released as v2, you can create a dedicated package for each libraries like:-

  • @better-auth/core
  • @better-auth/react
  • @better-auth/next
  • @better-auth/nuxt
  • @better-auth/express

and so on.

Adding new features in a minor versions are not sounds good.

We do have plans to do this!

<!-- gh-comment-id:3314988210 --> @ping-maxwell commented on GitHub (Sep 20, 2025): > [@himself65](https://github.com/himself65) Nice! But with some more improvement this can be released as `v2`, you can create a dedicated package for each libraries like:- > > * `@better-auth/core` > * `@better-auth/react` > * `@better-auth/next` > * `@better-auth/nuxt` > * `@better-auth/express` > > and so on. > > Adding new features in a minor versions are not sounds good. We do have plans to do this!
Author
Owner

@coderrshyam commented on GitHub (Sep 20, 2025):

We do have plans to do this!

"That’s great! Would you consider publishing a blog post with a roadmap outlining the future plans for better-auth?"

<!-- gh-comment-id:3315067188 --> @coderrshyam commented on GitHub (Sep 20, 2025): > We do have plans to do this! "That’s great! Would you consider publishing a blog post with a roadmap outlining the future plans for better-auth?"
Author
Owner

@himself65 commented on GitHub (Sep 22, 2025):

We do have plans to do this!

"That’s great! Would you consider publishing a blog post with a roadmap outlining the future plans for better-auth?"

We will, before we ship the new minor version. No hurry

<!-- gh-comment-id:3321174918 --> @himself65 commented on GitHub (Sep 22, 2025): > > We do have plans to do this! > > "That’s great! Would you consider publishing a blog post with a roadmap outlining the future plans for better-auth?" We will, before we ship the new minor version. No hurry
Author
Owner

@cnbrown04 commented on GitHub (Oct 9, 2025):

I know #4978 is mentioned for the a 1.4.x release, would it be beneficial to include it here so we can point to this issue if people have questions?

<!-- gh-comment-id:3386166289 --> @cnbrown04 commented on GitHub (Oct 9, 2025): I know #4978 is mentioned for the a 1.4.x release, would it be beneficial to include it here so we can point to this issue if people have questions?
Author
Owner

@Eazash commented on GitHub (Oct 10, 2025):

@himself65 Could you also consider this release as a candidate to resolve #1070? A new @better-auth/vue package would be a great place to address the API change that is required without fussing about semver in the core of better-auth

<!-- gh-comment-id:3388625088 --> @Eazash commented on GitHub (Oct 10, 2025): @himself65 Could you also consider this release as a candidate to resolve #1070? A new `@better-auth/vue` package would be a great place to address the API change that is required without fussing about semver in the core of better-auth
Author
Owner

@codingwithmizan commented on GitHub (Oct 20, 2025):

I have a separate backend (REST API) built with Ruby on Rails and a frontend application developed using Next.js (App Router).The backend sends an access_token after a successful login, but I’m having trouble handling authentication on the frontend.Can anyone help me figure out the best way to manage authentication between the two apps using better-auth?

<!-- gh-comment-id:3423047942 --> @codingwithmizan commented on GitHub (Oct 20, 2025): I have a separate backend (REST API) built with Ruby on Rails and a frontend application developed using Next.js (App Router).The backend sends an access_token after a successful login, but I’m having trouble handling authentication on the frontend.Can anyone help me figure out the best way to manage authentication between the two apps using better-auth?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#27375