Releases: jantinnerezo/livewire-alert
v3.0.2
What's Changed
- Defer loading scripts by @jigar-dhulla in #137
- Laravel 11.x Compatibility by @laravel-shift in #147
New Contributors
- @jigar-dhulla made their first contribution in #137
- @laravel-shift made their first contribution in #147
Full Changelog: v3.0.1...v3.0.2
v3.0.1 Release
Release Update: Livewire Alert Package v3.0.1
I recently released the Livewire Alert v3.0 to support the v3.0 version of Livewire. Upon review, many of you discovered an oversight in the release: the package dependencies were not correctly updated to reflect the compatibility with Livewire 3.0.
I apologize for any inconvenience this may have caused. To address this:
I've updated the dependencies to ensure compatibility with Livewire 3.0.
A new release with the corrected dependencies has been published. I recommend updating to this latest version to avoid any potential issues.
v3.0 Release
Official Support for Livewire 3 stable release
I'm excited to announce that this release introduces support for Livewire 3 stable release!
Installation
composer update jantinnerezo/livewire-alert
What's Changed
New Contributors
Full Changelog: https://github.com/jantinnerezo/livewire-alert/compare/2.2.7...v3.0@beta
2.2.7
What's Changed
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #80
- Bump async from 2.6.3 to 2.6.4 by @dependabot in #85
- Bump terser from 4.8.0 to 4.8.1 by @dependabot in #93
- Bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #102
- Bump loader-utils from 1.4.0 to 1.4.2 by @dependabot in #103
- Bump qs and express by @dependabot in #107
- Support Laravel 10 by @gpibarra in #112
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #110
- Fix failing test for php 8.1 and 8.2 by @jantinnerezo in #114
Full Changelog: 2.2.6...2.2.7
v2.2.6
v2.2.5
v2.2.4
2.2.3
Hotfix
- Fixed flash message undefined data variable
2.2.2
Performance updates
Added
- Alert
onConfirmed
onDismissed
onDenied
andonProgress
events should now emit to component that called the alert so it won't emit to every component in your project. - Ability to only emit to specified component.
Emit events to only specific component. Instead of passing the listener directly to the event, pass an array with component
and listeners
keys.
'onConfirmed' => [
'component' => 'livewire-component',
'listener' => 'confirmed'
];
2.2.1
Bug fixes
- Fixed update 2.1.9 error #52 refactor alert trait
- Fixed 2.2.0 break inputAttribute on confirm #54
- SweetAlert2: Unknown parameter "onConfirmed" #55
Added
You can now pass extra parameters to any alert events with the data
key.
$this->alert('info', 'Extra paramters', [
'onConfirmed' => 'confirmed',
'showConfirmButton' => true,
'data' => []
]);
public function confirmed($params)
{
// Retrieve data
$params['data'];
}