All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning and this changelog format.
- Upgraded to Sweet Alert
10.14, adding theshowLoaderOnDenyconfiguration parameter.
- BREAKING Upgrade SweetAlert from
9.17to10.13. Refer to the Sweet Alert v10 release notes. - The
<SweetAlert>component previously rendered a<span>tag within a<div>tag. This has been changed so that just a<span>tag is now used. This is unlikely to be a breaking change, unless you were relying on the elements for page layout and/or CSS.
- BREAKING The previously deprecated
openmethod on the SweetAlert service has been removed. Use thefiremethod instead.
- Fixed JS linting issues.
- Upgraded addon to Ember 3.24 (from 3.19).
- Minimum supported Ember version is now 3.16 LTS.
- Import test helpers from
@ember/test-helpersrather thanember-test-helpers.
- BREAKING: Upgrade Sweet Alert to from
7.33to9.17. - BREAKING: Sweet Alert component no longer supports positional parameters.
- BREAKING: The Sweet Alert component now follows the DDAU pattern. This means
that the
onCloseaction must be used in conjunction with theshowattribute to ensure the show value is toggled between true/false. There is an example in the readme document. - Minimum Ember version is now
3.16.
- The
SweetAlertService.open()method is deprecated in favour ofSweetAlertService.fire(), and will be removed in3.0.
- Updated list of configuration keys on the component to match those available
in Sweet Alert. Added the following:
customContainerClasskeydownListenerCapturecancelButtonColorshowCloseButtonvalidationMessageonAfterClose
- Update the list of methods available on the Sweet Alert service to match
those available on Sweet Alert. Added the following:
getButtonWrapperstopTimerresumeTimertoggleTimerisTimerRunningincreaseTimershowValidationMessage(use instead ofshowValidationError)resetValidationMessage(use instead ofresetValidationError)getValidationMessage
- Upgraded package to Ember CLI
3.19, requiring at least Node 10. - Minimum supported Ember version is now
3.8.
- Now supports default configuration for all alerts.
- Execute callbacks on the Ember run loop.
- Provide test helpers.
- Added package tests.
- New Sweet Alert service to trigger alerts from controllers, routes etc.
- Upgraded to SweetAlert2 v7
- Install SweetAlert2 via NPM instead of Bower.