Skip to content

Latest commit

 

History

History
98 lines (77 loc) · 3.2 KB

CHANGELOG.md

File metadata and controls

98 lines (77 loc) · 3.2 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning and this changelog format.

[3.1.0] - 2021-02-15

Added

  • Upgraded to Sweet Alert 10.14, adding the showLoaderOnDeny configuration parameter.

[3.0.0] - 2021-01-15

Changed

  • BREAKING Upgrade SweetAlert from 9.17 to 10.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.

Removed

  • BREAKING The previously deprecated open method on the SweetAlert service has been removed. Use the fire method instead.

[2.0.1] - 2021-01-14

Fixed

  • Fixed JS linting issues.

[2.0.0] - 2021-01-14

Changed

  • Upgraded addon to Ember 3.24 (from 3.19).
  • Minimum supported Ember version is now 3.16 LTS.

Fixed

  • Import test helpers from @ember/test-helpers rather than ember-test-helpers.

[2.0.0-alpha.1] - 2020-07-22

Changed

  • BREAKING: Upgrade Sweet Alert to from 7.33 to 9.17.
  • BREAKING: Sweet Alert component no longer supports positional parameters.
  • BREAKING: The Sweet Alert component now follows the DDAU pattern. This means that the onClose action must be used in conjunction with the show attribute 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.

Deprecated

  • The SweetAlertService.open() method is deprecated in favour of SweetAlertService.fire(), and will be removed in 3.0.

[1.1.0] - 2020-07-22

Added

  • Updated list of configuration keys on the component to match those available in Sweet Alert. Added the following:
    • customContainerClass
    • keydownListenerCapture
    • cancelButtonColor
    • showCloseButton
    • validationMessage
    • onAfterClose
  • Update the list of methods available on the Sweet Alert service to match those available on Sweet Alert. Added the following:
    • getButtonWrapper
    • stopTimer
    • resumeTimer
    • toggleTimer
    • isTimerRunning
    • increaseTimer
    • showValidationMessage (use instead of showValidationError)
    • resetValidationMessage (use instead of resetValidationError)
    • getValidationMessage

[1.0.0] - 2020-07-22

Changed

  • Upgraded package to Ember CLI 3.19, requiring at least Node 10.
  • Minimum supported Ember version is now 3.8.

[1.0.0-rc.1] - 2019-03-28

Added

  • 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.

Changed

  • Upgraded to SweetAlert2 v7
  • Install SweetAlert2 via NPM instead of Bower.