Commit Graph
205 Commits
Author SHA1 Message Date
Bereket Engida c0768c07c6 chore: release v1.3.8-beta.9 2025-08-31 16:47:12 -07:00
Bereket Engida 8021d83aff chore: release v1.3.8-beta.8 2025-08-31 00:59:23 -07:00
e7216ff530 feat(stripe): Add locale to stripe billing portal options (#4108)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-08-29 11:06:31 -07:00
Òscar PérezandGitHub 40a412428d fix(stripe): fix unset values on session completed with trial (#4121) 2025-08-29 10:59:01 -07:00
Alex YangandGitHub bf05dec3aa chore(sso,expo,stripe): fix devDependencies and peerDependencies (#4295) 2025-08-28 15:02:36 -07:00
Alex Yang f5c9022594 chore: release v1.3.8-beta.6 2025-08-28 10:13:53 -07:00
Alex YangandGitHub d4343005fe fix(stripe): peerDependencies (#4287) 2025-08-28 10:13:20 -07:00
Alex Yang e8d319382a chore: release v1.3.8-beta.5 2025-08-28 09:53:31 -07:00
Alex YangandGitHub 091aef9f2e fix(stripe): peerDependencies (#4286) 2025-08-28 09:52:17 -07:00
Alex Yang eca7fc5ec7 chore: release v1.3.8-beta.4 2025-08-26 21:28:36 -07:00
Alex YangandGitHub 4b5d4baf59 fix: make zod as dependency (#4205) 2025-08-24 16:35:55 -07:00
Alex Yang 6bb27e160c chore: release v1.3.8-beta.3 2025-08-21 16:36:14 -07:00
Bereket Engida ed17525775 chore: release v1.3.8-beta.2 2025-08-21 11:38:51 -07:00
Bereket Engida fc47acad5f chore: release v1.3.8-beta.1 2025-08-18 21:26:57 -07:00
99834437b0 fix: secondary storage should allow returning both string and parsed json (#4076)
* docs: hero section alignment with feature section on big screens (#4018)

* fix: hero section alignment with feature section on big screens

* fix

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>

* chore: fix broken testomnial link

* fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization

* chore: update sso docs

* chore: fix import typo

* docs: hero section alignment with feature section on big screens (#4018)

* fix: hero section alignment with feature section on big screens

* fix

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>

* chore: fix broken testomnial link

* fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization

* chore: update sso docs

* chore: fix import typo

* chore: release v1.3.7-beta.4

* chore: release v1.3.7

* support both json and string

* add test and type

* fix up docs

* fix test

* fix test

* fix type

---------

Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
2025-08-18 21:08:39 -07:00
Alex YangandGitHub 1815fb2b3f chore: lint json files (#4068) 2025-08-18 10:27:15 -07:00
KinfeMichael TarikuandGitHub 525128e624 fix(stripe): prevent undefined assignment to optional properties (#4037)
* fix(org): prevent foreign key constraint violation when creating invitations without teams

* fix(stripe): prevent undefined assignment to optional properties

* lint

* clean up

* clean up

* update

* merge-schema returns S
2025-08-17 01:11:07 -07:00
Bereket Engida 7d284cf35e chore: release v1.3.7-beta.3 2025-08-15 21:50:26 -07:00
Bereket Engida 730773bf88 chore: release v1.3.7-beta.2 2025-08-15 18:30:16 -07:00
Bereket Engida d739179fa3 chore: disable body for stripe 2025-08-15 18:30:10 -07:00
Bereket Engida fe769793cf chore: release v1.3.6 2025-08-12 20:13:13 -07:00
Bereket Engida af1b0f3f53 chore: release v1.3.6-beta.2 2025-08-12 19:58:07 -07:00
Bereket Engida 031888178d chore: release v1.3.6-beta.1 2025-08-11 20:03:43 -07:00
Bereket Engida 96a0b621cd chore: release v1.3.5 2025-08-11 09:58:40 -07:00
Bereket Engida 50a623d7b9 chore: fix ci 2025-08-11 09:58:40 -07:00
Bereket Engida 3825e583a6 chore: release v1.3.5-beta.7 2025-08-11 09:58:40 -07:00
Bereket Engida 08d9c7327f chore: release v1.3.5-beta.6 2025-08-11 09:58:40 -07:00
Bereket Engida 24cc8085a0 chore: release v1.3.5-beta.5 2025-08-11 09:58:40 -07:00
Bereket Engida 772e6c78cc chore: release v1.3.5-beta.4 2025-08-11 09:58:40 -07:00
Bereket Engida 47359dc1b5 chore: release v1.3.5-beta.3 2025-08-11 09:58:40 -07:00
Alex YangandBereket Engida 50c465d73a chore: bump vitest version (#3810)
* chore: bump vitest version

* cleanup the server
2025-08-11 09:58:39 -07:00
Bereket Engida 45cedddbb0 chore: release v1.3.5-beta.2 2025-08-11 09:58:39 -07:00
b5273623bf feat(stripe): create billing portal session (#3625)
* feat(stripe) : add billing portal session endpoint

* create billing portal session

* update docs

* chore: changeset

* chore: fix stripe

* chore: remove comment

* chore: update docs

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 16:09:32 -07:00
91cae8aa1e docs: fix wrong cancelUrl and returnUrl descriptions (#3647)
* docs: fix wrong cancelUrl and returnUrl descriptions

* chore: changeset

* chore: update changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-01 09:43:48 -07:00
Bereket Engida 5ce1473b19 chore: release v1.3.5-beta.1 2025-07-31 23:16:10 -07:00
Bereket EngidaandGitHub 2ec8cad610 fix(stripe): fallback to subscription id instead of picking the first sub if id is provided (#3696)
* fix(stripe): fallback to subscription id instead of picking the first if subId is provided

* chore(changeset): add changeset for fallback to subscription id in stripe
2025-07-29 20:59:22 -07:00
Bereket EngidaandGitHub a536de91c2 fix(stripe): update customer id should also trigger secondary storage update (#3635)
* fix: update customer id should also update secondary storage

* chore: add changeset
2025-07-26 12:07:55 -07:00
23d6f30b41 chore: ensure zod version alignment via peerDependency (#3619)
* zodv4

* fix

* lock

* pkg

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-07-26 09:02:54 -07:00
Bereket Engida 02f19810d6 chore(release): version packages 2025-07-26 01:10:54 -07:00
Bereket EngidaGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
776c4ae3fe chore(release): version packages (#3623)
* chore(release): version packages

* chore: remove lock file

* chore: fix ci

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-26 00:56:29 -07:00
Bereket EngidaandBereket Engida be544ce355 chore: release v1.3.4-beta.3 2025-07-26 00:35:37 -07:00
Bereket EngidaandBereket Engida fbff0e8781 chore: release v1.3.4-beta.2 2025-07-26 00:35:37 -07:00
Bereket EngidaandBereket Engida 09ef0110a9 chore: release v1.3.4-beta.1 2025-07-26 00:35:37 -07:00
Bereket EngidaandGitHub c2fb1aa316 fix(stripe): prevent duplicate trials when switching plans (#3622)
* fix(stripe): tiral subscription should use update flow

* add changelog

* chore: changeset
2025-07-25 20:53:03 -07:00
ac6baba2a0 chore: add changesets (#3557)
* chore: consistent package names

* chore: init changesets

* chore: update contribution doc to include generating a changeset

* chore: configure all better auth packages to always have the same version number

* chore: update nextjs demo package name

* chore(changesets): ignore all private packages

* chore(changesets): check for changesets in CI

* chore(changesets): install chagesets cli

* chore(changesets): use orgin as main

* chore(changesets): fix typo

* chore(changesets): check for changes since main in ci

* chore(changesets): check for changes since main in ci with the correct command

* chore(changesets): check against `origin/main`

* chore(changesets): checking for changesets should be the last action

* chore(changesets): run changelog check after stoping the docker containers

* chore(changesets): run changelog check after building

* chore(changesets): run changelog check after starting docker compose

* chore(changesets): run changelog check after linting

* chore(changesets): run changelog check after testing

* Revert "chore(changesets): run changelog check after testing"

This reverts commit 6dc000f78d.

* chore: export siwe in better-auth/plugins (#3596)

The docs were using this import path, yet `siwe` wasn't exported there. This PR fixes this.

* chore: fix cookies test

* docs: make client-side vs. server-side explicit (#3603)

* docs: fix broken link to ERC-4361 in siwe docs (#3604)

* fix(jwt): ensure alg is added to the jwks when generating via /token endpoint (#3601)

* fix: Ensure alg is added to the jwks when generating via /token endpoint

* chore: resolve linting issues

* chore(example): fix SvelteKit example (#1742)

* refactor: upgrade Svelte, Vite and related packages

* refactor: replace no longer supported `body.callbackURL` with `onSuccess`

* fix: add missing `svelte-kit sync` on `prepare`

* fix: add missing `import`s

* chore(svelte-kit-example): show message & redirect to index after sign up

* chore: add npm script to migrate database

* doc: add more commands to set up

* chore: explicitly disable verification email on sign up

The example does not work if you set `sendOnSignUp: true` without setting up the email server.

* refactor(svelte-kit-example): add type for hooks

* chore(svelte-kit-example): redirect to sign in page if users open dashboard without log in

* chore: diable some rules for svelte-kit-example due to Biome's limited Svelte support

* style: fix format

* chore: update pnpm-lock.yaml

* chore: fix lock file

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>

* fix: make sveltekit plugin ALS-agnostic (#3533)

* svelte cookie

* udpate

* update

* update

* update

* chore(cli): update zod to v4 (#3618)

* fix: correct typo in freeTrial variable name in Stripe integration

* chore: fix lock file

* chore: add changeset for typo fix in freeTrial

---------

Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Justin <127172022+jl33-ai@users.noreply.github.com>
Co-authored-by: Elliott Minns <elliott.minns@pm.me>
Co-authored-by: Jumpei Ogawa <git@phanective.org>
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
2025-07-25 20:39:44 -07:00
Bereket Engida 602ab7c4c6 chore: release v1.3.3 2025-07-22 23:02:47 -07:00
Bereket EngidaandGitHub 7de38cb68a fix(stripe): revert a change where incomplete stripe session is getting updated to active on upgrade (#3554) 2025-07-22 22:59:36 -07:00
Bereket Engida fa9b497370 chore: release v1.3.2 2025-07-20 22:19:21 -07:00
Bereket Engida 99f5f53927 chore: release v1.3.1 2025-07-19 19:32:05 -07:00
Bereket Engida 9ed047a4b4 chore: release v1.3.1-beta.1 2025-07-19 15:38:04 -07:00