- Added support for PNotify 3 (
'notifier::pnotify-3'
).
- Minimum PHP version increased to 8.2
- Minimum version of Laravel increased to 10
- Added support for Laravel 11
- Removed
Collection::groupMessagesByType()
macro - File names in uppercase: README.md, CHANGELOG.md and UPGRADE.md
- Added and run code quality and control tools
- Added support for Laravel 10
- View shared
$errors
might be null
- Fix for messages and titles that contain the characters
'
or"
- Indications in the readme to find any messages
- Fixed
resources\views\partials\a-generic-component.blade.php
for$delay
variable - Fixed grouped by type message for
$delay
variable
- Added third attribute
$delay
to:notify->info()
notify->success()
notify->warning()
notify->error()
notify->nowInfo()
notify->nowSuccess()
notify->nowWarning()
notify->nowError()
- Added
bool $withoutViewSharedErrors = false
argument to<x-notify />
component - Added an
upgrade.md
file - View shared errors are now added once and only for the default stack
- Fixed
Notify::typeOrderKey(string $type): int
method - Fixed text color for Bootstrap toast views when no title
- Readme fixes
- Fixed stacks management
- Removed buggy
$errorsCount
in favor of$flashErrorsCount
and$nowErrorsCount
- Added the ability to add multiple messages per request
- Added ability to group messages into different stacks
- Added the ability to group messages of the same type in the same notification when viewing
- Added ability to group messages notifications based on their types when viewing
- Added the ability to set the display order of messages types
- Added
<x-notify />
Blade component with many attributs:$stack = null
?string $viewName = null
bool $sortByType = true
bool $groupByType = false
bool $withoutFlashMessages = false
bool $withoutNowMessages = false
- Added predefined views:
bootstrap-5
bootstrap-5-toast
bootstrap-5-alert
bootstrap-5-alert-advanced
bootstrap-4
bootstrap-4-toast
- Removed support of Laravel 7 and earlier
- Removed support of PHP 7 and earlier
- Removed useless contract
- Removed facade, use notify() helper instead
- Removed helpers, use notify() helper instead:
notifier()
notify_info()
notify_success()
notify_warning()
notify_error()
- Removed previously deprecated predefined views:
notify
pnotify4
bootstrap3
bootstrap3-advanced
- Renamed methods:
showInfo()
intonowInfo()
showSuccess()
intonowSuccess()
showWarning()
intonowWarning()
showError()
intonowError()
- Renamed predefined views:
pnotify5
intopnotify-5
bootstrap4
intobootstrap-4-alert
bootstrap4-advanced
intobootstrap-4-alert-advanced
- Renamed
Axn\LaravelNotifier
namespace intoAxn\Notifier
- Renamed
Notifier
class intoNotify
- Remove confirm button by default
- Add new sweetalert2 predefined view
- Add support for Laravel 9
- Notifier instance is now a singleton
- Added a configuration file and set pnotify5 as default view
- Arguments order of
show*()
methods have change (view name at last and optionnal) - Added new predefined views:
- bootstrap4
- bootstrap4-advanced
- pnotify5
- Deprecated old predefined views:
- bootstrap3
- bootstrap3-advanced
- notify
- pnotify4
- Added anothers conveniants helpers:
notify()
notifier()
is now an alias ofnotify()
notify_info()
shorckut fornotify()->info()
notify_success()
shorckut fornotify()->success()
notify_warning()
shorckut fornotify()->warning()
notify_error()
shorckut fornotify()->error()
- Complements and details documentation
- Added helper
notifier()
- Minors enhancements
- Added support for Laravel 8
- Handle warning type in pnotify4 template
- Added support for Laravel 7
- Added support for Laravel 6
- Added PNotify 4 template
- Added support for Laravel 5.8
- Added Laravel 5.7.* support
- Added Laravel 5.6.* support
- Anothers typos
- Typo
- Added support for Laravel 5.5
- Added support for Laravel 5.4
- Move to Github
- Source code released with the MIT license
- Added license file
- Completion composer.json
- Correction of escaping PNotify parameters in the template
- Added "jQuery document ready" to the PNotify template
- First functional version