All notable changes to sweet-alert
will be documented in this file.
- Added Laravel 11 Support
- Upgraded SweetAlert2 to latest version
- Bug Fixes
- Docs Updated
- Upgraded SweetAlert2 to latest version
- Bug Fixes
- Docs Updated
- Added confirmDelete function
- Added themes feature
- Upgraded SweetAlert2 to latest version
- Bug Fixes
- Docs Updated
- Added Laravel 10 Support
- Bug Fixes
- Docs Updated
- Added Laravel 9 Support
- Bug Fixes
- Docs Updated
- Added Laravel 9 Support
- Bug Fixes
- Upgraded SweetAlert2 to latest version
- Docs Updated
- Bug Fixes
- Upgraded SweetAlert2 to latest version
- Docs Updated
- Bug Fixes
- Upgraded SweetAlert2 to latest version
- .gitattributes file
- Docs Updated
- Bug Fixes
- Upgraded SweetAlert2 to latest version
- Docs Updated
- Remove Laravel 6 Support
- Upgraded SweetAlert2 to latest version
- Docs Updated
- Fixed PHP 8 Issues
- Upgraded SweetAlert2 to latest version
- Docs Updated
- Added PHP8 Support
- Upgraded SweetAlert2 to latest version
- Docs Updated
- Added Support for Laravel 8
- Upgraded SweetAlert2 to latest version
- Minor Changes
- Docs Updated
- Added flexibility to Always load the sweetalert.all.js and Never load the sweetalert.all.js by farhanianz
- Upgraded SweetAlert2 to latest version
- Minor Changes in Middleware.md
- Docs Updated
- Upgraded SweetAlert2 to latest version
- Minor Changes in Middleware
- Docs Updated
- Upgraded SweetAlert2 to latest version
- Added ability to custom css classes
- Docs Updated
- Upgraded SweetAlert2 to latest version
- Upgraded SweetAlert2 to latest version
- Prepare Laravel 7
- Upgraded SweetAlert2 to latest version
- Added ability to activate or not the middleware error messages
- Docs Updated
- Upgraded SweetAlert2 to latest version
- Added Tidelift to funding.yaml
- Added SECURITY.md in .github/SECURITY.md
- Added timerProgressBar() method
- Added PublishCommand to easily publish the package assets
- Updated question() alert method
- Refactor SweetAlertServiceProvider class
- Refactor Toaster class
- Refactor functions.php file
- Updated PHPDocBlocks
- Docs Updated
- Updated
animation($showClass = [], $hideClass = [])
to animation($showAnimation, $hideAnimation) - Docs Updated
- Fixed animations issue
- Upgraded SweetAlert2 to latest version
- Added option to pass SweetAlert2 CDN link from included view
- Updated
animation($showClass = [], $hideClass = [])
- Added
buttonsStyling()
method - Added
iconHtml()
method - Docs Updated
- Fix some bugs
- Added symfony/thanks
- Docs Updated
- Fix some bugs
- Added Missing ^ indicator prevents Laravel from updating to 6.0.1 and up
- Docs Updated
- Fix some bugs
- Added support for Laravel 6.0
- This release fixed #46
- Docs Updated
- Fix some bugs
- Upgraded SweetAlert2 to latest version
- Added width() helper method
- Added padding() helper method
- Added background() helper method
- Added animation() helper method
- Added focusConfirm() helper method
- Added focusCancel() helper method
- Added CDN Support
- Docs Updated
- Fix some bugs
Changes
// From
public function toast($title = '', $type = '', $position = 'bottom-right'){...}
// To
public function toast($title = '', $type = ''){...}
// set the default position in package config file or use the helper method position()
- Upgraded SweetAlert2 to latest version
- Added hideCloseButton() helper method
- Added reverseButtons() helper method
- Added image() method
- Added addImage() helper method
- Added position() helper method
- Docs Updated
- Fix some bugs
Added some new methods
alert() method
alert()->success() method
alert()->info() method
alert()->wanring() method
alert()->question() method
alert()->error() method
alert()->html() method
toast() method
showConfirmButton() helper method
showCloseButton() helper method
showCancelButton() helper method
persistent() helper method
autoClose() helper method
toToast() helper method
footer() helper method
- Deprecated
- initial release