All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.5.0 - 2026-01-18
- Cloudflare R2 storage client (
src/lib/r2-client.ts) with presigned URLs for file uploads - R2 setup documentation (
docs/R2_SETUP.md) with complete configuration guide - Date utilities (
src/lib/dates.ts) for consistent date formatting across the app - Environment loader (
src/lib/load-env.ts) for standalone scripts (drizzle-kit, tsx) - Claude Code commands aligned with plannerinator-next best practices:
/check- Format, lint, build with proper fix guidelines (no eslint-disable hacks)/ship- Complete release workflow (check + changelog + release in one command)/archive-changelog- Archive old changelog versions when file exceeds 1000 lines
- Commands documentation (
.claude/COMMANDS.md) with detailed usage examples
- Updated to Next.js 16.1.3, React 19.2.3, Better Auth 1.4.15, and 20+ other dependencies
- Improved ESLint configuration for Next.js 16 compatibility (migrated from FlatCompat to direct imports)
- Enhanced
/changelogcommand with dependency update grouping (max 2-3 lines instead of listing all) - Enhanced
/releasecommand with changelog archive check reminder - Updated
.env.examplewith R2 configuration variables (commented, optional) - Improved
PostFormto useuseWatchinstead ofwatchfor React Compiler compatibility - Improved
ThemeToggleto usestartTransitionfor hydration safety - Refactored profile page to use centralized date helper functions
- Updated
drizzle.config.tsto useloadEnv()for consistent environment loading
- Better Auth v1.4 compatibility: custom
forgetPasswordclient implementation and updatedverifysignature - ESLint configuration error with Next.js 16 (circular structure in FlatCompat)
- React Compiler warnings for impure functions (
Date.now()) and setState in effects - Type safety improvements in auth types with explicit
AppUserandAppSessioninterfaces
0.4.1 - 2025-10-22
- Moved custom password hashing configuration inside
emailAndPasswordblock in Better Auth configuration to ensure PBKDF2 functions are properly used instead of default scrypt algorithm
0.4.0 - 2025-10-13
- Comprehensive limitations documentation (
docs/LIMITATIONS.md) covering platform constraints, intentional design decisions, and migration paths - Supabase integration guide (
docs/SUPABASE_INTEGRATION.md) for adding real-time features, enhanced storage, and database capabilities - Supabase recipe directory (
docs/recipes/supabase/) with step-by-step integration examples - Detailed platform constraints section in README explaining Cloudflare Workers limitations and when NOT to use the template
- Expanded AI workflow guide with constraint awareness, decision trees, and best practices for AI assistants
- Enhanced
/changelogcommand with more comprehensive analysis instructions and quality checks - Improved
/deploycommand documentation with better formatting and troubleshooting steps - Enhanced
/releasecommand with more detailed versioning guidance and edge case handling - Updated README structure with prominent trade-offs section and known limitations overview
- Improved environment setup documentation with better markdown formatting and clearer tables
- Standardized code formatting across deployment scripts and configuration files
- Enhanced AI workflow documentation with 175+ lines of constraint-aware development guidance
- Markdown escaping for asterisks in CHANGELOG.md to prevent formatting issues
- Code formatting consistency in
scripts/deploy.mjsusing Prettier standards - Import organization in dashboard components for better readability
0.3.1 - 2025-10-12
- Updated production URL from
templator.gen-8ae.workers.devto custom domaintemplator.essedev.itin deployment configuration
0.3.0 - 2025-10-12
- Environment setup documentation (
ENV_SETUP.md) with comprehensive guide for local and production environment configuration - Terms of Service page (
src/app/terms/page.tsx) - Privacy Policy page (
src/app/privacy/page.tsx) - Automated deployment script (
scripts/deploy.mjs) that handles NEXTPUBLIC* variables correctly during build
- Simplified
.env.examplewith clearer local development focus and reference to production config in wrangler.jsonc - Updated
wrangler.jsoncwith production environment variables (BETTERAUTH_URL, EMAIL*, etc.) - Improved
.gitignoreto better exclude build artifacts and environment files - Enhanced dashboard layout with comprehensive authentication documentation comments
- Improved login page with hard redirect using
window.location.hreffor reliable session establishment - Updated dashboard pages with better session handling
- Refined dashboard navigation component
- Updated
/changelogand/releasecommand documentation with better formatting
- Next.js authentication middleware (
src/middleware.ts) - authentication now handled by Better Auth and dashboard layout
0.2.0 - 2025-10-12
- BREAKING: Migrated authentication from NextAuth v5 to Better Auth v1
- Better edge compatibility with Cloudflare Workers
- Improved TypeScript support and developer experience
- Built-in email verification and password reset flows
- Custom PBKDF2 password hashing (100k iterations)
- Edge-compatible rate limiting with database storage
- Updated all authentication-related pages and components to use Better Auth client
- Refactored database schema to use Better Auth naming conventions (snake_case)
- Enhanced RBAC system with Better Auth's custom fields
- Simplified authentication middleware with Better Auth session handling
- Updated all feature modules (auth, blog, contact, newsletter, profile, users) to work with Better Auth
- New authentication documentation:
docs/AUTHENTICATION.md- Complete Better Auth implementation guidedocs/AUTHENTICATION_ADVANCED.md- Advanced features and customizationdocs/MIDDLEWARE.md- Middleware and protected routes guidedocs/DEPLOYMENT.md- Deployment configuration for Better Auth
- Better Auth client (
src/lib/auth-client.ts) for client-side authentication - Better Auth API route (
src/app/api/auth/[...all]/route.ts) - Custom email templates for Better Auth (
src/lib/emails/auth-emails.ts) - New RBAC helper (
src/lib/rbac.ts) with Better Auth integration - Improved auth verification and password reset flows (searchParams-based)
- Enhanced feature READMEs with Better Auth examples and best practices
- NextAuth v5 and @auth/drizzle-adapter dependencies
- Legacy NextAuth route (
src/app/api/auth/[...nextauth]/route.ts) - Legacy NextAuth type definitions (
src/types/next-auth.d.ts) - Legacy email actions file (
src/features/auth/email-actions.ts) - Legacy token-based verification/reset routes (migrated to searchParams)
docs/EXAMPLES.md(content redistributed to feature READMEs)
- Edge runtime compatibility issues with authentication flows
- Session handling in middleware for protected routes
- Type safety improvements across authentication system
0.1.2 - 2025-10-10
- Claude Code slash commands:
/changelogcommand to automatically update CHANGELOG.md with recent changes/releasecommand for streamlined version releases
- Improved
/changelogcommand with better formatting instructions and [Unreleased] section handling
- Fixed Next.js metadataBase warning by ensuring metadataBase is always set in metadata configuration
- Social Open Graph and Twitter Card images now properly resolve with absolute URLs
0.1.1 - 2025-10-10
- SEO essentials:
- Dynamic
robots.txtwith search engine directives - Dynamic
sitemap.xmlwith static and blog routes - Enhanced metadata utility with Open Graph and Twitter Cards support
- Improved metadata across all pages (homepage, blog, pricing, contact)
- Dynamic
- Security headers:
- X-DNS-Prefetch-Control for DNS prefetching
- Strict-Transport-Security (HSTS) for HTTPS enforcement
- X-Frame-Options to prevent clickjacking
- X-Content-Type-Options to prevent MIME sniffing
- Referrer-Policy for referrer information control
- Permissions-Policy to disable unused browser features
- Migrated from
next lintto ESLint CLI for future Next.js 16 compatibility - Updated ESLint configuration to exclude build artifacts (.open-next, .wrangler, drizzle)
0.1.0 - 2025-10-10
- Initial release of Templator
- Next.js 15 with App Router and React 19
- TypeScript with strict mode
- Tailwind CSS 4 with shadcn/ui components
- Dark mode support with next-themes
- Authentication system:
- NextAuth v5 with Drizzle adapter
- Email/password authentication
- Email verification flow
- Password reset flow
- Session management with JWT
- Role-Based Access Control (RBAC):
- Three roles: user, editor, admin
- Permission system with role gates
- Protected routes with middleware
- Database:
- Drizzle ORM with Neon PostgreSQL
- Type-safe queries
- Migrations with Drizzle Kit
- Edge-compatible architecture
- Email system:
- React Email templates
- Mock mode for development
- Resend integration for production
- Email templates for auth, blog, contact, newsletter
- Feature modules:
- Blog system with draft/publish workflow
- Contact form with Server Actions
- Newsletter with double opt-in
- Profile management
- User management (admin only)
- Pages:
- Landing page with Hero, Features, CTA
- Pricing page
- Contact page
- Blog listing and post pages
- Dashboard with role-based sections
- Authentication pages (login/register/forgot-password)
- Developer Experience:
- Turbopack for fast development
- ESLint + Prettier configured
- Code quality scripts (lint, format, typecheck)
- Deployment:
- Cloudflare Workers support with OpenNext
- Wrangler configuration
- Environment variables setup
- Documentation:
- Comprehensive README
- Architecture guide
- RBAC system docs
- Tech stack rationale
- Setup instructions
- Component reference
- Code examples
- AI workflow guide
- Recipe patterns