Version 3.x Changelog
Good to know
- Please check the
version
field in thepackage.json
file to get the version number- For v1 and v2 changelog, please refer to v2 version documentation
3.0.0
- Authorization System: The authorization system has been upgraded from Supabase Auth to Better-auth, providing greater flexibility
- Database Layer: The database has been upgraded from Supabase Database to Drizzle ORM, offering a better development experience
3.1.0
- Unified admin dashboard page display
- Removed edge runtime related code
- Optimized Drizzle related file organization
- Added support for admin user banning
- Fixed bugs
3.1.1
- Added support for locally recording user's last login method
- Refresh routing after user logout to implement re-authentication
3.1.2
- Added support for Plausible API integration (
actions/plausible/index.ts
) - Optimized Stripe related file organization
- Admin user management list can now view user sources
- Restructured .env.example with clearer content
3.1.3
- Fixed the issue where drizzle.config.ts could not read .env.local
3.1.4
- Fixed: Removed deprecated toast notifications
- Fixed:
lib/db/index.ts
now supports reading Next.js local environment variables
3.1.5
- Fixed: Removed
npx
fromdb:generate
command inpackage.json
- Optimized:
/api/admin/translate
endpoint now supportsopenrouter
- Fixed:
components/LanguageDetectionAlert.tsx
width overflow on mobile screens - Optimized:
layout.tsx
conditional logic for enabling VercelAnalytics
component, now automatically enabled only when deployed on Vercel - Added:
Header
now includes multi-level directory examples - Added: Regenerated Cursor Rules, better suited for current tech stack
- Fixed: Removed
email
field value from email login incomponents/auth/LoginForm.tsx
- Fixed: Email login button
disabled
state logic incomponents/auth/LoginForm.tsx
, now supports Turnstile enablement detection
3.1.6
- Optimized:
components/footer/Footer.tsx
removedh2
,h3
tags - Fixed:
app/[locale]/(protected)/dashboard/(user)/settings/Setting.tsx
, resetpreviewUrl
after submitting user profile - Fixed:
lib/cloudflare/r2.ts
serverUploadFile
method now uses modified file key for uploads - Optimized:
actions/users/admin.ts
, banning a user now also clears that user's session - Added: Cookie Consent, supports enabling/disabling via environment variable
NEXT_PUBLIC_COOKIE_CONSENT_ENABLED
app/[locale]/layout.tsx
hooks/useCookieConsent.ts
components/shared/CookieConsent/
- Optimized: About, Privacy-Policy, and Terms-of-Service pages now only provide English versions and are written in
page.tsx
for greater flexibility