Commit Graph

91 Commits

Author SHA1 Message Date
Fraol Lemecha
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
KinfeMichael Tariku
8bff45a5cc fix: prisma schema not required on dev/bun (#2787) 2025-05-25 01:21:06 -07:00
Zach Silveira
001bfab3ad fix(oidc-provider): consent should be able to be accepted if state is empty (#2723)
* fix consent not able to be accepted if state is empty

* chore: fix lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-05-20 13:26:59 -07:00
Bereket Engida
62ed1a7783 feat: support bun sqlite by default (#2551)
* feat: support bun sqlite by default

* chore: add database type

* chore: proper lic

* chore: release v1.2.8-beta.5
2025-05-15 21:02:28 -07:00
Bereket Engida
16e71d1c58 fix: typescript cannot be named without reference error (#1827) 2025-03-15 16:57:35 +03:00
Rahul Mishra
d7f66335f5 feat: add cloudflare worker basic tests (#1524)
* feat: add cloudflare worker basic tests

* chore: fix conflict

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-22 20:18:34 +03:00
Rahul Mishra
419a86a773 chore: fix type exports and sync dep versions to improve build times (#1528) 2025-02-21 16:26:50 +03:00
Bereket Engida
9f2e45b8c7 chore: cleanup 2025-01-06 14:30:39 +03:00
Bereket Engida
3678fa18bc chore: upgrade workspace deps 2024-12-07 11:39:22 +03:00
Bereket Engida
c0f57b1bdd chore: add type versions (#254) 2024-10-20 07:56:03 +03:00
Bereket Engida
2bc21748e7 chore: add .env.exmaple on examples 2024-10-14 20:06:29 +03:00
Bereket Engida
b145d78d6f feat: add onError and throw error options for APIError (#162) 2024-10-13 21:34:09 +03:00
Bereket Engida
0ccf68ceed refactor: better error handling for server side calls (#101) 2024-10-05 23:35:01 +03:00
Bereket Engida
523c2db337 chroe: lint 2024-10-04 23:05:08 +03:00
Bereket Engida
567e718cba chore: cleanup 2024-10-04 21:54:02 +03:00
Bereket Engida
64e63f2c30 fix: ts config path and --output for cli (#80)
* fix: path alis on generate and --output

* chore: release v0.2.9-beta.3
2024-10-03 16:18:13 +03:00
Bereket Engida
138883568f fix: missing foreign key on organization plugin schema (#68) 2024-10-02 19:47:56 +03:00
Bereket Engida
d239682767 fix: remove db falt config (#57)
* remove db object config

* change docs
2024-10-01 17:18:53 +03:00
Bereket Engida
6f0918dadf fix: session inference breaking on some plugins 2024-10-01 08:14:59 +03:00
Bereket Engida
5945963712 chore: lint 2024-09-30 20:45:31 +03:00
Bereket Engida
ed7d1af239 fix: prisma schema gen diff 2024-09-30 20:39:26 +03:00
Bereket Engida
b2dd1f8d53 fix: seaprate adapters import 2024-09-30 18:27:32 +03:00
Bereket Engida
4e99347a50 fix: reference model name should follow allow custom table names 2024-09-30 15:01:44 +03:00
Bereket Engida
1534e78de1 fix: better cli errors and database deps 2024-09-30 14:30:57 +03:00
Bereket Engida
4de528bb1e chore: lint 2024-09-30 12:30:10 +03:00
Bereket Engida
485fd003ac feat: schema generation cli 2024-09-30 12:26:46 +03:00
Bereket Engida
000587133a fix: potential fix for cloning on windows 2024-09-29 22:51:54 +03:00
Bereket Engida
98402835c2 feat: Database adapters (#29)
* feat: prisma adapter

* feat: drizzle adapter

* feat: mongod db adapter
2024-09-29 20:00:47 +03:00
Bereket Engida
b5f661beb2 docs: typo fixes 2024-09-29 09:43:05 +03:00
Bereket Engida
865e939dfb docs: fix typo issues 2024-09-27 19:10:37 +03:00
Bereket Engida
2b3e592678 test: fix init test issues 2024-09-27 12:31:17 +03:00
Bereket Engida
b18a691635 docs: basic usage imporvements 2024-09-26 11:06:11 +03:00
Bereket Engida
d4f4b94386 chore: lint project 2024-09-26 08:14:28 +03:00
Bereket Engida
5889a8d5d6 chore: move oslo external 2024-09-23 21:47:25 +03:00
Bereket Engida
e407c54552 feat: magic link 2024-09-22 11:00:22 +03:00
Bereket Engida
1fdc8a5f79 docs: org and imporvements 2024-09-22 00:38:17 +03:00
Bereket Engida
5ca615a3e4 feat: docs example trial 2024-09-21 11:04:44 +03:00
Bereket Engida
0fbc3dc8d1 x 2024-09-20 13:31:28 +03:00
Bereket Engida
c7eed776b6 feat: new query client and much more 2024-09-09 19:20:19 +03:00
Bereket Engida
2ccd136533 chore: formatting 2024-09-08 08:51:10 +03:00
Bereket Engida
379bf6c76b move secure cookie check to not equal 2024-09-08 00:24:11 +03:00
Bereket Engida
f1961a079c example: session 2024-09-06 23:09:34 +03:00
Bereket Engida
68a7a3070f feat: support passing dialects 2024-09-06 00:15:34 +03:00
Bereket Engida
6ad887d468 examples 2024-09-05 23:45:53 +03:00
Bereket Engida
effc2383fa docs: fix 2024-09-04 16:02:13 +03:00
Bereket Engida
41f3cab730 fix: docs types 2024-09-04 15:07:07 +03:00
Bereket Engida
52ffb11041 chore: bun still not working 2024-09-04 13:49:14 +03:00
Bereket Engida
1244e8d40c feat: add bang to cli 2024-09-04 13:30:15 +03:00
Bereket Engida
0d9c89a97c feat: new client 2024-09-04 00:08:42 +03:00
Bereket Engida
351c65f8e4 chore: reconcile workspae version 2024-09-03 00:23:30 +03:00