Releases: tattersoftware/codeigniter4-outbox
Bugfixes
Switch Assets to Layouts
Removes Tatter\Assets
in favor of the new layout management library, Tatter\Layouts
. Unless custom layout modification has been done this should not require additional configuration. See Tatter\Layouts for more details.
Bugfix Strict Database
Fixes an issue where archive inserts would crash when using database with strictOn
Disable Styles
- Fixes a bug where styles could not properly be disabled
- Updates dev toolkit (includes Infection)
Template Tracking
Adds fields to track which template was used when recording email delivery using Events.
Child {body}
Removes {body}
token from the list of a child when parent tokens cascade down.
Bugfix Migration
Fixes an old field reference in the parent migration file.
See v2.0.0
for refactor release notes
Library Refactor
The original library contained unrelated tools lightly mixed in the main class. With the addition of Templates, much of that functionality was duplicated without much efficiency. This put an unnecessary burden on the developer to decide proper boundaries around template and template parent seeding.
This release simplifies the process drastically by moving generic functionality from the main class into the templates, which themselves have been simplified.
- Replaces
Outbox
library with template methods - Removes
tokens
, now determined programmatically - Simplifies seeder and layout process
Template FindByName
- Adds
TemplateModel::findByName()
for easy Template lookup - Defines Template Exception and Language for error handling the above
Autorouting, Debug fix
- Adds a configuration option to have the module handling Templates controller routing automatically (default
false
) - Disables the Debug Toolbar on all parse calls to get rid of that pesky injection
- Bugfixes