Skip to content

Latest commit

 

History

History
285 lines (187 loc) · 5.66 KB

CHANGELOG.md

File metadata and controls

285 lines (187 loc) · 5.66 KB

Changelog

5.1.0 (2024-05-15)

  • Added support for PNotify 3 ('notifier::pnotify-3').

5.0.0 (2024-04-29)

  • 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

4.2.0 (2023-02-20)

  • Added support for Laravel 10

4.1.3 (2022-08-25)

  • View shared $errors might be null

4.1.2 (2022-08-25)

  • Fix for messages and titles that contain the characters ' or "
  • Indications in the readme to find any messages

4.1.1 (2022-08-12)

  • Fixed resources\views\partials\a-generic-component.blade.php for $delay variable
  • Fixed grouped by type message for $delay variable

4.1.0 (2022-08-12)

  • 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

4.0.2 (2022-08-05)

  • Readme fixes

4.0.1 (2022-08-05)

  • Fixed stacks management
  • Removed buggy $errorsCount in favor of $flashErrorsCount and $nowErrorsCount

4.0.0 (2022-08-04)

  • 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() into nowInfo()
    • showSuccess() into nowSuccess()
    • showWarning() into nowWarning()
    • showError() into nowError()
  • Renamed predefined views:
    • pnotify5 into pnotify-5
    • bootstrap4 into bootstrap-4-alert
    • bootstrap4-advanced into bootstrap-4-alert-advanced
  • Renamed Axn\LaravelNotifier namespace into Axn\Notifier
  • Renamed Notifier class into Notify

3.2.1 (2022-07-12)

  • Remove confirm button by default

3.2.0 (2022-07-11)

  • Add new sweetalert2 predefined view

3.1.0 (2022-02-11)

  • Add support for Laravel 9

3.0.0 (2021-02-15)

  • 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 of notify()
    • notify_info() shorckut for notify()->info()
    • notify_success() shorckut for notify()->success()
    • notify_warning() shorckut for notify()->warning()
    • notify_error() shorckut for notify()->error()
  • Complements and details documentation

2.9.0 (2021-02-12)

  • Added helper notifier()
  • Minors enhancements

2.8.0 (2020-09-24)

  • Added support for Laravel 8

2.7.1 (2020-03-24)

  • Handle warning type in pnotify4 template

2.7.0 (2020-03-05)

  • Added support for Laravel 7

2.6.0 (2019-12-29)

  • Added support for Laravel 6

2.5.0 (2019-09-24)

  • Added PNotify 4 template

2.4.0 (2019-03-07)

  • Added support for Laravel 5.8

2.3.0 (2018-07-04)

  • Added Laravel 5.7.* support

2.2.0 (2018-07-04)

  • Added Laravel 5.6.* support

2.1.2 (2017-10-02)

  • Anothers typos

2.1.1 (2017-10-02)

  • Typo

2.1.0 (2017-10-01)

  • Added support for Laravel 5.5

2.0.0 (2017-02-05)

  • Added support for Laravel 5.4

1.0.5 (2016-11-02)

  • Move to Github

1.0.4 (2016-03-22)

  • Source code released with the MIT license
  • Added license file

1.0.3 (2016-01-12)

  • Completion composer.json

1.0.2 (2015-11-04)

  • Correction of escaping PNotify parameters in the template

1.0.1 (2015-10-29)

  • Added "jQuery document ready" to the PNotify template

1.0.0 (2015-10-29)

  • First functional version