0.8.0 - User Profiles & Publishing Enhancement
User Profiles & Publishing Enhancement
Section titled “User Profiles & Publishing Enhancement”🎉 Features
Section titled “🎉 Features”User Profile System
Section titled “User Profile System”- Username Support: Users can now set custom usernames for their profiles
- Display Names: Separate display names for public-facing content
- Username Validation: 3-30 character usernames with letters, numbers, underscores, and hyphens only
- Availability Checking: Real-time username availability validation
- Profile Management: Comprehensive account settings screen for managing user information
Enhanced Publishing System
Section titled “Enhanced Publishing System”- Clash Prevention: Published content now uses usernames in URLs to prevent conflicts between users
- Username-Based URLs: Published content is now accessible via
/{username}/campaign/{slug}/
format - Mandatory Username: Users must set a username before publishing content
- Username Prompt: Automatic prompt when attempting to publish without a username
Account Management
Section titled “Account Management”- Account Settings Screen: New dedicated screen for managing profile information
- Profile Editing: In-place editing of name, username, and display name
- Email Display: Read-only email display with clear indication that changes require external processes
- Validation Feedback: Real-time validation and error messaging for profile updates
Database & Backend
Section titled “Database & Backend”- User Schema Updates: Added
display_username
field to user table - Better Auth Integration: Updated to Better Auth v1.3.4 with enhanced user management
- Migration Support: Database migration for new user profile fields
🔧 Improvements
Section titled “🔧 Improvements”User Interface
Section titled “User Interface”- Navigation Updates: Dashboard link now appears when not in campaign context
- Subscription Display: Simplified add-on display in subscription manager
- Error Handling: Better error messages for profile updates and username conflicts
Editor Enhancements
Section titled “Editor Enhancements”- Secret Content Toggle: Fixed secret content toggle to use proper Slate transforms
- State Management: Improved editor state handling for publishable content
Dependencies
Section titled “Dependencies”- Better Auth: Updated to v1.3.4 for improved user management features
- Lucide React: Updated to v0.542.0 for latest icons
- P-Throttle: Updated to v8.0.0 for performance improvements
- Resend: Updated to v6.0.2 for email functionality
- ShadCN: Updated to v3.2.1 for UI components
- Slate DOM: Updated to v0.118.1 for editor improvements
🐛 Bug Fixes
Section titled “🐛 Bug Fixes”- Query Invalidation: Fixed campaign query invalidation to use returned data instead of variables
- Navigation: Conditional rendering of dashboard vs campaign navigation
- Vite Optimization: Added better-auth to optimizeDeps exclude list to prevent build issues
💥 Breaking Changes
Section titled “💥 Breaking Changes”- Username Requirement: Users must set a username before publishing content
- URL Structure: Published content URLs now include username prefix
- Profile Schema: User table structure updated with new fields
🔒 Security
Section titled “🔒 Security”- Username Validation: Server-side validation for username format and availability
- Collision Prevention: Username-based URLs prevent content clashes between users
📱 User Experience
Section titled “📱 User Experience”- Seamless Setup: Automatic username prompt during first publish attempt
- Clear Feedback: Real-time validation and error messaging
- Intuitive Interface: Clean account settings with in-place editing