* init
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* feat(stripe): enable subscription support and update pricing plans
* feat(stripe): add Vitest configuration and initial tests for Stripe integration
* feat(stripe): implement setCookieToHeader function and update tests for customer creation and subscription handling
* feat(stripe): add seats support for subscriptions and update related endpoints
* feat(stripe): update schema to include unique referenceId, stripeSubscriptionId, and periodEnd fields
* wip docs
* docs
* docs: imporves
* fix(stripe): update webhook handlers to use correct subscription identification
* refactor(stripe): simplify customer management by storing Stripe customer ID directly on user
* chore(stripe): update package configuration and build setup
- Migrated from tsup to unbuild for build configuration
- Updated package.json with improved export and dependency management
- Added build configuration for better module support
- Removed tsup configuration file
* chore(stripe): update pnpm lockfile dependencies
- Moved `better-auth` from devDependencies to dependencies
- Added `zod` as a direct dependency
- Reorganized package dependencies in the lockfile
* feat(stripe): enhance subscription management and error handling
- Added toast error handling for subscription upgrades in the dashboard
- Updated Stripe price IDs for different plans
- Improved Stripe plugin documentation with beta warning and team subscription details
- Implemented intermediate redirect for checkout success to handle race conditions
- Added support for fetching and updating subscription status after checkout
- Fixed Next.js cookie handling and build configuration
* chore: update snapshot
* update: init command now can do plugins & DB generation
* fix: revert nextjs auth.ts file
* add: pacakge @clack/prompts for better CLI experience
* update: moved from prompts to clack/prompts
* add: functionality to hide logs coming from `getConfig`
* remove: hide logs functionality
* chore: remove unneeded import
* add: install dependencies feature
* add: functionality to update/install better-auth
* fix: install/upgrade better-auth deps
* add: spinner during version checking
* fix: nextCookies plugin import path
* fix: oidc plugin contents
* update: emoji-ify
* fix: mysql code
* refactor: logging/prompt style
* update: mysql use 1 ENV
* fix: msql, revert back to old code
* fix: mysql connectionUri, again
* fix: missing sqlite env
* fix: added back the plugins multiselect
* update: outro text
* add: ENV generation for `BETTER_AUTH_URL` & `BETTER_AUTH_SECRET`
* update: intro & outro text, plus some ENV default values
* remove: name from cli options
* fix: made index.ts's getPackageInfo not crash the program entirely if ENOENT
* update: prompt to get auth config dir if not auto found
* fix: create auth config file
* add: log to state the new file that's being created
* update: outro text
* fix: unneeded diff display
* add: auth-client creator
* fix: auth-client plugins are now grouped
* fix: auth-client import path bugs
* fix: invalid client plugins
* fix: oneTap client plugin contents
* update: allow getConfig to throw errors instead of logging
* fix: auth config error logging
* WIP: auth client code gen
* chore: linter
* update: now supports auth client generation
* WIP: grouped imports
* remove: functionality to update existing auth code
* add: functionality to update tsconfig
* fix: tsconfig not saving new updated values
* fix: handle missing .env files in init process
* update: made `no env file found` error message use `outro` for better logging experience
* fix: removed `ms` at the end as the `formatMilliseconds` fn already handles that
* update: move ENV code after plugins initialization
* chore: update pnpm lockfile and remove deprecated package note
* chore: lint
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com>
* fix: drizzle return id after mutation
* typo
* lint
* typo
* unwanted init var
* unwanted log
* flashing db
* logs
* test db url
* chore: comment
* lg
* lint
* pool and lint
* lock file
* init: plasmo example project
* feat: add example for browser extension with BetterAuth
- Introduced a basic browser extension example using Plasmo framework and BetterAuth for authentication.
- Updated .env.example with BetterAuth configuration.
- Removed unnecessary GitHub workflow file for submitting to Web Store.
- Updated .gitignore to exclude local env files.
- Improved README documentation for the example.
- Included BetterAuth dependency in the package.json and updated the pnpm-lock.yaml.
* add: browser-extension example complete
* fix: content.tsx
* remove: browser-extension package as that isn't needed
* add: browser extension buide
* docs: added references in the guide to the examples code
* remove(dep): unused dependency
* refactor: package.json - remove author & update description
* wip
* chore: update lock file
* docs: update icon
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com>