Files
php-flasher/CHANGELOG.md
T
Younes ENNAJI 9acddbda52 docs: update CHANGELOG and Livewire docs with event system
Add documentation for the event dispatching system:
- Update CHANGELOG.md with unreleased features
- Add Toastr events section (click, close, show, hidden)
- Add Noty events section (click, close, show, hover)
- Add Notyf events section (click, dismiss)
- Add Theme events section (generic and theme-specific click)
- Include code examples for Livewire event listeners
2026-03-01 21:11:13 +00:00

4.8 KiB

CHANGELOG for 2.x

Unreleased

  • feature [Flasher] Add event dispatching system for all notification adapters and themes with Livewire integration:
    • [Toastr] Dispatch events: flasher:toastr:click, flasher:toastr:close, flasher:toastr:show, flasher:toastr:hidden
    • [Noty] Dispatch events: flasher:noty:click, flasher:noty:close, flasher:noty:show, flasher:noty:hover
    • [Notyf] Dispatch events: flasher:notyf:click, flasher:notyf:dismiss
    • [Themes] Dispatch events: flasher:theme:click (generic) and flasher:theme:{name}:click (specific)
    • [Laravel] Add LivewireListener classes for all adapters and themes to enable Livewire event handling

v2.1.3 - 2025-01-25

  • bug #208 [Flasher] Add GitHub workflow for automatic publishing of assets to NPM. See PR #211 by ToshY

v2.1.2 - 2025-01-18

v2.1.1 - 2024-10-20

v2.1.0 - 2024-10-19

  • feature [Flasher] Update laravel and symfony configuration documentation . See PR #201 by yoeunes
  • feature [Flasher] Improve Type Safety and IDE Support with Enhanced PHPDoc Annotations and Stricter PHPStan Validations. See PR #200 by yoeunes
  • feature [Symfony] Improve configuration descriptions and add examples. See PR #199 by yoeunes
  • feature [Symfony] Add Symfony Profiler integration for PHPFlasher. See PR #198 by yoeunes

v2.0.4 - 2024-09-22

  • bug [laravel] Changed HttpKernel import from Illuminate\Foundation\Http\Kernel to Illuminate\Contracts\Http\Kernel to use the contract interface instead of the concrete implementation. See PR #197 by yoeunes

v2.0.3 - 2024-09-21

  • remove border from flasher container by yoeunes

v2.0.2 - 2024-09-19

  • feature [Flasher] add escapeHtml option for secure HTML escaping in notifications. See PR #196 by yoeunes
  • feature [Flasher] add Default configuration options. See PR #183 by AhmedGamal
  • feature [Laravel] Refactor middleware to use Symfony's base response class, addressing compatibility issues. See PR #184 by yoeunes

v2.0.1 - 2024-05-23

  • bug #176 [Laravel] Correctly disable FlasherMiddleware when inject_assets is set to false. See PR #177 by yoeunes
  • bug #176 [Flasher] Ensure global timeout option applies to all requests. See PR #180 by yoeunes
  • bug #176 [Laravel] Allow disabling of default flash replacement by setting flash_bag to false. See PR #181 by yoeunes
  • bug #176 [Flasher] Ensure flash_bag option overrides default values instead of appending. See PR #182 by yoeunes