All notable changes to laravel-react-email will be documented in this file.
- Support for nested variables using dot notation (e.g.,
$$user.email$$→{{ $user['email'] }}) - Windows path support in the React Email renderer
- Comprehensive examples of nested variables in documentation
- Improved variable detection to handle both simple and nested variables
- Refactored variable conversion logic to eliminate code duplication
- Updated all template stubs to use default React imports instead of namespace imports
- Fixed ESM import issues on Windows by converting paths to
file://URLs - Fixed TypeScript errors by using default imports with
esModuleInterop
- Support for Laravel 12.x
- Support for PHP 8.4, 8.5
- Prebuild workflow: Templates must now be compiled with
php artisan react-email:buildbefore sending emails - Configuration changes: Renamed config keys from
email_templates_path/blade_output_pathtopath/build_path - Removed hot reload: The
enable_hot_reloadconfig option has been removed - View references: Changed from
react-email::templatetoreact-email.templatenotation - Content method: Now requires both
htmlandtextparameters instead of justview
php artisan react-email:devcommand to start the React Email preview serverphp artisan make:react-emailcommand to generate both Mailable and React template- Better TypeScript support in template stubs
- Improved example templates with proper styling
UPGRADE.mdguide for migrating from v1.xEXAMPLES.mdwith practical usage examples- Support for
$$variable$$syntax in React templates that compiles to Blade{{ $variable }}
ReactMailableis now a simple abstract class without build logic- Templates are stored in
resources/react-email(instead ofresources/views/react-email) - Compiled templates go to
resources/views/react-email(instead ofresources/views/vendor/react-email) - Improved error handling in build command
- Better progress reporting during template compilation
- Constructor errors in ReactMailable
- Service provider configuration issues
- Incorrect view namespacing
- Much faster email sending (no Node.js process during send)
- Build-time validation catches errors before production
- Pre-compiled templates reduce server load
- Basic React Email integration with Laravel
- Hot reload support for development
- Automatic template rendering on email send
- Support for React Email components