v12.40.4
🆕 Changelog
Added
- Hindi language support
- Credit system v2 with usage tracking and billing cycle management
- New API endpoints for organization management (CRUD operations)
- Channel override functionality for device retrieval
- Deployment history screen in channel view
- Search and filter capabilities for apps dashboard
- API endpoint for bundle metadata
- Support for custom device IDs in device management
- External URL validation for bundle creation
- Composite indexes for manifest table to optimize performance
- Analytics Engine integration for tracking external apps
- Rate limiting system for public API endpoints
- Cloudflare Workers testing infrastructure with dedicated test commands
- D1 database support with synchronization and replication system
- Monthly email reports feature
- Account deletion process with queue-based system and RLS policies
- Script for cleaning up R2 storage
- Playwright end-to-end testing framework
- Price calculator tool
- Device comparison logic for tracking
- New statistics API with UTC date calculation
- MAU (Monthly Active Users) tracking with organization ID
- Retention settings for app versions
- API key limitation by organization and app
- Bundle transfer between organizations
- Mass bundle delete functionality
- Captcha support for login, password reset, and registration flows
- Event system for onboarding completion tracking
- Subkey system for API authentication
- Snippet functionality for code sharing
Changed
- Migrated to JSON configuration for wrangler
- Upgraded to Capacitor 7
- Updated to Tailwind CSS v4
- Switched to Vitest v3 for testing
- Improved bundle link UX with better dialogue flows
- Enhanced organization dropdown interaction and selection feedback
- Redesigned dashboard with better mobile support and simplified layout
- Improved table components with better filtering, sorting, and pagination
- Refactored chart components with enhanced tooltip behavior and stacking configuration
- Modernized login and authentication pages with improved design
- Updated API key display to show start characters and organization/app linkages
- Optimized test suite to run faster with parallel execution
- Improved error handling and logging across backend functions
- Enhanced channel management with better device linking
- Streamlined navbar and sidebar design
- Updated registration and onboarding flow with better validation
- Improved stats calculation to use backend API instead of frontend computation
- Refactored device version handling to use version name instead of version ID
- Enhanced subscription handling with better Stripe integration
- Improved notification system with better email templates
Fixed
- Device ID handling now consistently uses lowercase
- Channel deletion constraints to prevent data loss
- User deletion process optimized with proper queue handling
- Stats calculation accuracy for various metrics
- Encryption key handling and bundle security
- File upload issues with TUS protocol
- Memory leaks in queue consumer
- Race conditions in stats processing
- Security vulnerabilities in API key permissions
- RLS (Row Level Security) policies for better data isolation
- Manifest replication and synchronization issues
- Bundle download with proper signed URLs
- Date picker and range selector functionality
- Mobile design issues across multiple pages
- Stripe webhook event processing
- Chart display issues with proper data accumulation
- Navigation and routing edge cases
- Test stability and reliability in CI/CD pipeline
- Timezone handling in statistics (switched to UTC)
- Permission issues for various database operations
- Profile and settings page rendering
- Organization switching and context management
- API endpoint response consistency
Removed
- Legacy trigger systems and queue implementations
- Deprecated encryption methods
- Old plugin endpoints and configurations
- Unused database fields and tables (e.g., bucket_id system)
- Obsolete Stunning service integration
- Redundant background color classes
- Unnecessary console logs in production code
- Deprecated subscription checking logic
- Old SW (Service Worker) implementation
- Plunk email service integration
- Legacy admin functions and test cleanup
- Unused blog service files
- Old manual database schemas in favor of generated types
Security
- Implemented captcha for preventing spam and abuse
- Added mutual signature verification for bundle downloads
- Enhanced API key security with organization and app limitations
- Improved RLS policies to prevent unauthorized data access
- Added rate limiting to prevent DDoS attacks
- Implemented proper secret management and rotation
- Enhanced validation for external URLs and file uploads
- Added account deletion safeguards
- Improved authentication flow with better error handling
- Fixed XSS vulnerabilities in UI components
🔗 Full Changelog: v11.3.70...v12.40.4