All notable changes to laravel-mail-editor
will be documented in this file.
- initial release
- fix error
Call to a member function sortBy() on null
that happens when mailables directory not created yet. - replace jquery
$.ajax
withaxios
library, also adding notie confirmation for save-template action. - fix javascript error
plaintextEditor is not defined
when save mailable view template. - other minor fixes.
- remove unwanted routes
- fix mailable with multiple constructor args type error (issue).
- Replace route closure with controller based route (issue).
- other minor fixes.
- look for the equivalent factory and check if the dependency is an eloquent model.
- resolve all other non-eloquent objects.
- markdown editor will output no object variables in the following format: {{ varname }}.
- fix template view path encoding for windows env.
- Add constructor auto detect for arrays.
- rollback db after generating a model factory.
- Fix error saving template error
Request failed with status code 500
.
- Enable source code editing plugin for WYSIWYG.
- Add
vendor:publish
for template production.
- Moving away templates metadata from DB to a JSON file to avoid production problems.
- Fixes issues #15, #16
- Adds the ability to have params mocked for a Mailable's constructor where a type isn't available
- Fixes issue where the tinyMCE editor would take the blade directive
{{ $user->name }}
and then render the thing as this in the.blade.php
file{{ $user->name }}
.
- Add ui anchor icon for each simple variable.
- Fix error that occured when updating template details: Error: Request failed with status code 500 #32.
- Add route groups.
- Add Legacy output plugin and inline_styles option to TinyMCE editor.
- Add web middleware
- Add advanced editor params.
- Optional factory usage configuration.
- Add with data to params list.
- Remove web middleware which disables markdown preview to render.
- Rename config middleware option to middlewares and add a simple middleware example.
- Save created templates to maileclipse vendor resources path.
- Fix editor view data anchor.
- Rename configuration option
mail_dir
tomailables_dir
.
- Fix markdown template preview error request 419.
- Fixed generation of test instance
- StyleCi integration
- Fix typo in error message
- Fix mailable deletion
- Supports Laravel 6
- Backwards compatibility
- Update footer minor version
- Fix constructor type hints
- Type hints in mailable constructor must be an object
- minor fixes
- Minor Bug fixes: #87 #86 #78
- Laravel 7 support
- Minor bug fixes
- fix bug #82 (Function ReflectionType::__toString() is deprecated)
- Fix Mailables deletion
- Read properties of the Mailable parent classes
- Laravel 8 Support
- Laravel legacy factories for L8 support see #107, #106
IMPORTANT: Version 2.2.0 will only support Laravel versions 5, 6 and 7 for future releases.
- Revert Laravel 8 support
- Console command for installing assets see PR #111, credit: @yogendra-revanna
Laravel 8 Support release
- PSR standards for console command class name, see #115, credit @ivebe
- Improve the sanitization of class names for mailables to align with PHP expectations. credit @ivebe
- Add the ability to send test mail with fake factory model data
- Fix model factories builder not loaded in laravel 8
- Formatting
- The package now has an install command
php artisan laravel-mail-editor:install
see #111
- Supports only Laravel v8
- See #108
- PSR Classnames #112, thank you @yogendra-revanna
The name spaces of the package now use PSR classname standards, if you were referencing them before in an application, please update them to reflect everything correctly.