Releases: laracasts/flash
Releases · laracasts/flash
v3.2.3
3.2.2
- Adds support for Laravel 10.
3.2.1
- Adds Laravel 9 support
3.2
- Includes Laravel 8 support
3.1
- Laravel 7 support
3.0.3
- Includes Laravel 6 support
3.0.2
Merge pull request #105 from dbpolito/patch-1 Fix message view to use collection
3.0.1
3.0.0
Additions
- 1c76586 Added support for flashing multiple messages.
flash('Message 1');
flash('Message 2')->warning();
flash('Message 3')->important();
- 1f2f130 Added optional support for flags.
// Before
flash()->success('My message');
// After
flash('My message')->success();
// Before
flash()->overlay('My message');
// After
flash('My message')->overlay();
Breaking Changes From v2
Please note that there are no breaking changes with v3, unless you published our old view templates to your project.
- We now flash a single
flash_notification
array to the session, and nothing else. As such, if maintaining your own views, you'll need to update them accordingly. See here: https://github.com/laracasts/flash/blob/master/src/views/message.blade.php
2.0.1
Style guide stuff