Releases: dereuromark/cakephp-flash
Releases · dereuromark/cakephp-flash
3.0.0
2.0.2
Fixes
Compatibility with CakePHP 4.2 as the flash bag moved to its own Utility class and therefore a complete separation was needed.
2.0.1
Fixes
- Do not add
X-Flash
header for empty flash messages. - Allow deactivating header adding and to customize it again (as per v1).
2.0.0
CakePHP 4 stable release
This is an extension of the core Flash messages:
- AJAX header support
- Limit of messages per stack key
- Transient flash message support (non-persistent, current request only)
- By default 4 types (one more): error, warning, success, info
- Ordered output (error, warning, success, info) and output grouping (filtering per type)
Flash messages are now handled for AJAX requests in an improved way:
- Any normal flash usage auto transforms into a transient usage, making this not having any side effects on other requests as nothing is written to session.
This plays well together with the Ajax plugin, making it super easy and fast to handle the same action and code as both normal and AJAX request.
2.0.0-rc
CakePHP 4 compatible pre-release.
Please help to finalize for stable release.
2.0.0-beta
CakePHP 4 compatible pre-release.
Please help to finalize for stable release.
1.1.2
Improvements
Removed deprecations.
Requires now CakePHP 3.8+.
1.1.1
Bugfixes
Fix notice.
1.1.0
Improvements
- Support Crud plugin and the set() kind of flash messages.
- CakePHP 3.7+, removed deprecations.
- Better PHPStan support.
First 3.x release
Tested with CakePHP 3.3+