Added schema for PostgreSQL
and MySQL
Updated to tailwind v4
Removed login_method table
Schema Changes: setup casing
to snake_case
in Drizzle ORM.
Removed query-string
package and replaced it with URLSearchParams
.
Fixed types.
Added redirect to page after login. redirectURL is sanitized to prevent open redirect vulnerability.
Added try catch in getSessionInfo
to prevent server from crashing or throwing error while decrypting data
Removed ratelimit from email templates as api endpoints are already rate limited
Schema Changes: changed isBlocked to isBanned
Sessions IDs are now encrypted using AES-256-GCM. Also sessions are cached in redis.
Major changes in terms of database schema, folder structure and code structure.
- Introduced a new folder structure (feature folder)
- Replaced @upstash/redis with ioredis
- better rate limiting (more changes to come)
- New functionality: Change Email,Update Password, Delete Account
- new table: login_methods
- replaced bcrypt with argon2
- Removed oauth_tokens table
- New Table: oauth_providers
- Removed offline mode for google oauth
- login_logs table now has a column for strategy
- Account page will show what strategy was used to login
- Passwords now have a column for when it was created and updated
- Select only required columns in queries
- Export validation schema type from validation files