Skip to content

Releases: jantinnerezo/livewire-alert

2.2.0

09 Nov 08:41
23b01a8
Compare
Choose a tag to compare

Bugfix

  • Fixed empty events #53 and #52

Credits to @falconeri

2.1.9

08 Nov 18:12
4f2cc36
Compare
Choose a tag to compare

What's new

  • Added LivewireAlert trait
  • A way to retrieve alert input value. #50, #39 and #49
  • You can now pass event listener when the alert is dismissed.
  • Bundled and minified script with Laravel Mix
  • Publishable script file
  • Separate script component for flash when you go with the path of publishable script file
  • Added test cases

Breaking changes

Livewire Macroable is no longer used for directly calling alert due to it being automatically registered on Livewire components that are not using alert methods.

Instead, you can import the Jantinnerezo\LivewireAlert\LivewireAlert trait and use it in your Livewire components that are utilizing alerts.

2.1.8

27 Oct 18:06
245c495
Compare
Choose a tag to compare

Added

  • Allow users to override alert config

Credits to @yoeunes 💪🏼

2.1.7 Release

13 Sep 16:40
94a583d
Compare
Choose a tag to compare

Bug fix

  • Fix js errors in old browsers (#40)
  • Unexpected token '?' on Safari #27

2.1.6 Release

15 May 16:42
e5e05f6
Compare
Choose a tag to compare

Bug fix

  • Unable to resolve dependency [Parameter #0 [ $id ]]

New feature

  • Support sending additional params on confirm #29 fix for issue #38

2.1.5 Release

09 Mar 20:19
Compare
Choose a tag to compare

2.1.5

✅ Fixed flash null config issue #28

2.1.4 Release

05 Jan 09:18
Compare
Choose a tag to compare

2.1.4

✅ Fixed unable to install livewire alert in laravel 8.20.1

🎉 Thanks to @moneya for submitting the issue.

2.1.3 Release

04 Jan 16:04
Compare
Choose a tag to compare

2.1.3 Release

⚡️ Optimize blade component script code to utilize config
➕ Added more default config to livewire-alert.php

2.1.2 release

27 Dec 13:50
4541ad5
Compare
Choose a tag to compare

Added publishable config

Run this command to your terminal.

php artisan vendor:publish --provider="Jantinnerezo\LivewireAlert\LivewireAlertServiceProvider" --tag="config"

Huge thanks to @hantrick for submitting a PR for the config support.

2.1.1 release

27 Dec 13:37
fce150d
Compare
Choose a tag to compare

Separate config array for alert and confirm

return [
    'alert' => [
        'position' => 'top-end',
        'timer' => 3000,
        'toast' => true,
        'text' => null,
        'showCancelButton' => true,
        'showConfirmButton' => false,
    ],
    'confirm' => [
        'position' => 'center',
        'toast' => false,
        'timer' => null,
        'showConfirmButton' => true,
        'cancelButtonText' => 'No'
    ]
];