11.1.2 (2021-08-03)

11.1.2 (2021-08-03)

Bug Fixes

11.1.1 (2021-08-03)

Bug Fixes

  • unsetting aria-hidden="true" when modal is called twice (#2306) (64223a7)

11.1.0 (2021-07-30)

Features

11.0.20 (2021-07-23)

Bug Fixes

  • overflowing children of html-container (#2295) (f2724f3)
  • scss: add $swal2-color variable (10745a7)

11.0.19 (2021-07-19)

Bug Fixes

11.0.18 (2021-06-20)

Bug Fixes

  • disable pointer-events for toast container (#2278) (08defbf)

11.0.17 (2021-06-11)

Bug Fixes

11.0.16 (2021-05-30)

Bug Fixes

11.0.15 (2021-05-29)

Bug Fixes

  • types: add missing types for Swal.getContainer() (5b87ee7)

11.0.14 (2021-05-29)

Bug Fixes

  • safari: purge container instead of removing it (#2268) (5559256)

11.0.13 (2021-05-29)

Bug Fixes

11.0.12 (2021-05-27)

Bug Fixes

  • show loading while waiting for inputValue promise (#2260) (3cf8608)

11.0.11 (2021-05-23)

Bug Fixes

11.0.10 (2021-05-23)

Bug Fixes

  • disable pointer-events on .swal2-container when backdrop: false (#2258) (4619c23)

11.0.9 (2021-05-21)

Bug Fixes

11.0.8 (2021-05-19)

Bug Fixes

  • scss: add $swal2-html-container-word-break (fa966dd)

11.0.7 (2021-05-17)

Bug Fixes

11.0.6 (2021-05-17)

Bug Fixes

  • do not use runIfFunction() helper for document.activeElement.blur() (fc8f893), closes #2250

11.0.5 (2021-05-16)

Bug Fixes

  • add scss variables for .swal2-title (a280885)

11.0.4 (2021-05-16)

Bug Fixes

11.0.3 (2021-05-16)

Bug Fixes

11.0.2 (2021-05-16)

Bug Fixes

11.0.1 (2021-05-16)

Bug Fixes

11.0.0 (2021-05-14)

Bug Fixes

  • container layout for mobile devices (#2244) (0fffeda)
  • popup centering in Safari (#2242) (e86d208)

  • BREAKING CHANGE: move loader in toasts to the left side, replacing the icon (#2240) (3ec9fae), closes #2240
  • BREAKING CHANGE: switch container to CSS Grid Layout (#2239) (706665d), closes #2239
  • BREAKING CHANGE: change toast layout (#2238) (ce5cad7), closes #2238
  • BREAKING CHANGE: switch to CSS Grid Layout (#2237) (8d8253a), closes #2237
  • BREAKING CHANGE: remove .swal2-header and .swal2-content (#2232) (18adb8b), closes #2232
  • BREAKING CHANGE: remove deprecated animation param (19d1efe)
  • BREAKING CHANGE: remove deprecated lifecycle hooks (ed84b89)
  • BREAKING CHANGE: remove .queue() (close #2229) (fec7977), closes #2229
  • BREAKING CHANGE: Drop IE11 and old Edge support (#2191) (c0421e5), closes #2191
  • BREAKING CHANGE: Update btn colors (#2227) (0dd06d9), closes #2227

BREAKING CHANGES

  • move loader in toasts to the left side, replacing the icon
  • switch container to CSS Grid Layout
  • change toast layout
  • switch to CSS Grid Layout
  • remove .swal2-header and .swal2-content

  • Remove position: absolute from close button
  • remove deprecated animation param
  • remove deprecated lifecycle hooks
  • remove .queue()
  • Drop IE11 and old Edge support (#2191)
  • Update btn colors

10.16.7 (2021-05-02)

Bug Fixes

10.16.6 (2021-04-22)

Bug Fixes

  • prevent shrinking of radio/checkbox inputs (5150086)

10.16.5 (2021-04-20)

Bug Fixes

  • showClass/hideClass passed via .mixin() should be treated the same as passed via .fire() (#2179) (d228741)

10.16.4 (2021-04-19)

Bug Fixes

  • remove horizontal padding for .swal2-actions (446e7b5)
  • trim string params from
  • use display: block for popup title (27fa048)

10.16.3 (2021-04-16)

Bug Fixes

  • publish dist files to GitHub Releases (b205739)

10.16.2 (2021-04-14)

Bug Fixes

  • sass: add $swal2-toast-content-margin variable (63d85df)

10.16.1 (2021-04-14)

Bug Fixes

10.16.0 (2021-04-07)

Features

10.15.7 (2021-03-26)

Bug Fixes

  • Cannot read property ‘stopKeydownPropagation’ of undefined fix #2204 (541e8ab)

10.15.6 (2021-03-17)

Bug Fixes

  • remove display: none from .swal2-validation-message (#2193) (2e4ce60)

10.15.5 (2021-02-19)

Bug Fixes

  • mixin params added later should take precedence over mixin params added earlier (#2176) (9336fa1), closes #2174

10.15.4 (2021-02-18)

Bug Fixes

10.15.3 (2021-02-18)

Bug Fixes

10.15.2 (2021-02-17)

Bug Fixes

  • hide the confirm button when inputOptions is a promise (9bacebb)

10.15.1 (2021-02-16)

Bug Fixes

10.15.0 (2021-02-15)

Features

10.14.1 (2021-02-12)

Bug Fixes

  • Swal.getIcon() to work in jest environment (#2163) (f9c936e)

10.14.0 (2021-01-28)

Features

10.13.3 (2021-01-25)

Bug Fixes

  • apply $swal2-icon-size to success and error icons (#2158) (f367041)

10.13.2 (2021-01-25)

Bug Fixes

  • warnings in IE11 for invalid elements in templates (#2157) (3f9cbd6)

10.13.1 (2021-01-24)

Bug Fixes

  • only throw warnings for direct children in template (#2156) (a0d19ea)

10.13.0 (2021-01-05)

Features

  • add customClass.inputLabel (4d0f89c)

10.12.7 (2021-01-01)

Bug Fixes

  • do not animate timer progress bar is timer was unset (fix #2147) (3b165eb)

10.12.6 (2020-12-23)

Bug Fixes

  • do not close toast by internal click in case the timer is set (03f5469)

10.12.5 (2020-12-12)

Bug Fixes

  • customClass default value: undefined -> empty object (#2137) (39bba2d)

10.12.4 (2020-12-09)

Bug Fixes

  • params precedence, user params > template params > mixin params (#2133) (98f44b4)

10.12.3 (2020-12-07)

Bug Fixes

  • support empty strings in template attributes (#2130) (8e30ea5)

10.12.2 (2020-12-07)

Bug Fixes

  • ignore null values for attributes in template elements (#2128) (bd6ac8d)

10.12.1 (2020-12-07)

Bug Fixes

  • template params precedence over user/mixin params (#2126) (159cc04)

10.12.0 (2020-12-06)

Features

  • add ability to trigger popups declaratively (#2122) (8c2acde)

10.11.1 (2020-12-03)

Bug Fixes

10.11.0 (2020-12-02)

Features

10.10.4 (2020-11-26)

Bug Fixes

10.10.3 (2020-11-25)

Bug Fixes

  • setting inputValue to null when input is select (#2115) (1950fb7)

10.10.2 (2020-11-24)

Bug Fixes

  • allow width param to be string e.g. ‘500’ (#2114) (b4a4bfb)

10.10.1 (2020-11-15)

Bug Fixes

  • types: getCloseButton(): HTMLButtonElementnull (ecaaf13)

10.10.0 (2020-11-11)

Features

10.9.1 (2020-11-08)

Bug Fixes

10.9.0 (2020-10-30)

Features

10.8.1 (2020-10-22)

Bug Fixes

10.8.0 (2020-10-22)

Features

10.7.0 (2020-10-21)

Features

10.6.1 (2020-10-16)

Bug Fixes

  • types: make returnInputValueOnDeny optional (9237bbc)

10.6.0 (2020-10-15)

Bug Fixes

Features

10.5.1 (2020-10-13)

Bug Fixes

  • types: inputValue can be number or boolean (#2083) (fa1ac2b)

10.5.0 (2020-10-12)

Features

10.4.0 (2020-10-11)

Features

10.3.7 (2020-10-09)

Bug Fixes

10.3.6 (2020-10-08)

Bug Fixes

  • wrap progress steps when they aren’t fitting one row (#2074) (fa695bf)

10.3.5 (2020-09-25)

Bug Fixes

10.3.4 (2020-09-25)

Bug Fixes

  • types: move fire(options: SweetAlertOptions) to the top ([#2068](https://github.com/sweetalert2/sweetalert2/issues/2068)) ([20ea88d](https://github.com/sweetalert2/sweetalert2/commit/20ea88dc86b13af7410f82efa7778dc6897443cb))

10.3.3 (2020-09-23)

Bug Fixes

  • add timeout before calling setScrollingVisibility() (#2066) (c8c28f7)

10.3.2 (2020-09-22)

Bug Fixes

10.3.1 (2020-09-21)

Bug Fixes

  • add the opacity workaround and timeout for animating popup (#2060) (4362d2b)

10.3.0 (2020-09-20)

Features

  • consistent hook names: willOpen, didOpen, didRender, willClose, didClose, didDestroy (#2057) (6434fb5)

10.2.0 (2020-09-18)

Features

  • make background and iconColor params updatable (#2054) (ed384ab)

10.1.0 (2020-09-17)

Features

10.0.2 (2020-09-08)

Bug Fixes

  • padding on .swal2-actions for toasts (e2a8f6f)

10.0.1 (2020-09-08)

Bug Fixes

  • scss: set $swal2-<…>-button-order vars to null (ef97ba1)

10.0.0 (2020-09-07)

Bug Fixes

Features

  • add loaderHtml (#2049) (5c26b38)
  • sass: add $swal2-<…>-button-order vars (8f0cf9e)
  • add the third DENY button 🎉 (#2044) (1ad0f3c)

  • BREAKING CHANGE: Separate loader from the confirm button (#2045) (e049195), closes #2045

BREAKING CHANGES

  • Separate loader from the confirm button

9.17.2 (2020-09-03)

Bug Fixes

  • types: add missing params to SweetAlertUpdatableParameters (#2042) (7142fad)

9.17.1 (2020-07-26)

Bug Fixes

9.17.0 (2020-07-14)

Features

9.16.0 (2020-07-14)

Features

  • styles: add $swal2-header-padding variable (#2001) (11338e6)

9.15.3 (2020-07-09)

Bug Fixes

9.15.2 (2020-06-23)

Bug Fixes

  • do not fix scrollbar padding in case body has overflow-y: hidden (#2006) (bc90d3c)

9.15.1 (2020-06-14)

Bug Fixes

  • do not use Array.find because it’s not supported in IE11 (20526ab)

9.15.0 (2020-06-13)

Features

  • add support for objects containing toPromise method (#1998) (0d33441)

9.14.4 (2020-06-09)

Bug Fixes

9.14.3 (2020-06-08)

Bug Fixes

  • types: remove the readonly modifier from ‘SweetAlertOptions’ (#1996) (12fbea0)

9.14.2 (2020-06-06)

Bug Fixes

  • add bottom padding to container for iOS Safari (#1993) (1378a78)

9.14.1 (2020-06-06)

Bug Fixes

9.14.0 (2020-05-30)

Features

  • input/select: add support to <optgroup> in inputOptions (#1985) (0659d0e), closes #1589

9.13.4 (2020-05-29)

Bug Fixes

  • types: add missing prefix to UpdatableParameters (#1984) (26d037e)

9.13.3 (2020-05-29)

Bug Fixes

  • types: improve type inference and correct some return types (#1983) (d2e47cd)

9.13.2 (2020-05-28)

Bug Fixes

  • types: support for generic types in interfaces and methods (#1981) (146309c)

9.13.1 (2020-05-21)

Bug Fixes

  • do not set style=”display: flex” on image (#1977) (8fc54e7)

9.13.0 (2020-05-21)

Features

  • add isConfirmed and isDismissed to SweetAlertResult (#1976) (8fc85f3)

9.12.0 (2020-05-20)

Features

  • make onClose onAfterClose onDestroy updatable (#1974) (91700e7)

9.11.0 (2020-05-19)

Features

9.10.13 (2020-05-11)

Bug Fixes

9.10.12 (2020-04-14)

Bug Fixes

  • perform container.scrollTop = 0 asyncronously (#1947) (5674005)

9.10.11 (2020-04-13)

Bug Fixes

9.10.10 (2020-04-09)

Bug Fixes

9.10.9 (2020-04-02)

Bug Fixes

9.10.8 (2020-03-31)

Bug Fixes

  • take <head> into account when parsing html with DOMParser (#1934) (92eec64)

9.10.7 (2020-03-28)

Bug Fixes

9.10.6 (2020-03-24)

Bug Fixes

9.10.5 (2020-03-22)

Bug Fixes

9.10.4 (2020-03-21)

Bug Fixes

  • a11y: fix missing outline in Chrome (7371fea)

9.10.3 (2020-03-19)

Bug Fixes

9.10.2 (2020-03-16)

Bug Fixes

9.10.1 (2020-03-15)

Bug Fixes

  • setup timer after the popup is opened (#1917) (7e24824)
  • styles: add border-bottom-radius to timer-progress-bar (32ff38f)

9.10.0 (2020-03-09)

Features

9.9.0 (2020-03-07)

Features

  • scss: add $swal2-close-button-align-items and $swal2-close-button-justify-content vars (fdf12c1)

9.8.2 (2020-02-22)

Bug Fixes

9.8.1 (2020-02-21)

Bug Fixes

  • do not start animating timerProgressBar if timer is stopped (#1898) (c4546bc)

9.8.0 (2020-02-21)

Features

  • api: expose the getTimerProgressBar method (#1897) (e48ab48)

9.7.2 (2020-02-07)

Bug Fixes

9.7.1 (2020-01-28)

Bug Fixes

  • polish success icon for perfect rendering in Safari (fix #1876) (fb9fe38)

9.7.0 (2020-01-22)

Features

9.6.1 (2020-01-20)

Bug Fixes

9.6.0 (2020-01-15)

Features

  • make allowOutsideClick and allowEscapeKey updatable (#1867) (810d291)

9.5.4 (2019-12-27)

Bug Fixes

9.5.3 (2019-12-10)

Bug Fixes

  • fire swalOpenAnimationFinished() only when popup’s animation is finished (#1845) (ebcb2b8)

9.5.2 (2019-12-09)

Bug Fixes

  • do not re-add popup’s showClass (7922360)

9.5.1 (2019-12-09)

Bug Fixes

  • make icon classes op popup different from classes on icons (#1844) (1ae23fc)

9.5.0 (2019-12-09)

Features

9.4.3 (2019-12-03)

Bug Fixes

  • types: export input, grow and position options types (#1837) (5e1cf62)

9.4.2 (2019-12-03)

Bug Fixes

  • progress steps and getQueueStep() API method (#1836) (0f9fdde)

9.4.1 (2019-12-01)

Bug Fixes

9.4.0 (2019-11-23)

Features

9.3.17 (2019-11-21)

Bug Fixes

  • do not fail when hideLoading() without popup (2ada37c)

9.3.16 (2019-11-19)

Bug Fixes

9.3.15 (2019-11-19)

Bug Fixes

  • hasClass multiple classes support for IE11 (bd4eab5)
  • revert “fix: add showClass asyncronously to popup (IE11)” (6cb66cc)

9.3.14 (2019-11-19)

Bug Fixes

9.3.13 (2019-11-18)

Bug Fixes

  • add showClass asyncronously to popup (IE11) (8aed623)

9.3.12 (2019-11-18)

Bug Fixes

  • types: simplify Swal.fire(title, message, icon) back (#1823) (0cc40ff)

9.3.11 (2019-11-15)

Bug Fixes

  • use $swal2-background in $swal2-button-focus-box-shadow (bef3d86)
  • use $swal2-background in $swal2-toast-button-focus-box-shadow (2da88c2)

9.3.10 (2019-11-15)

Bug Fixes

  • ci: fix semantic-release step (fcf57b9)
  • ci: use yarn for bundlewatch (effa758)

9.3.9 (2019-11-15)

Bug Fixes

9.3.8 (2019-11-15)

Bug Fixes

9.3.7 (2019-11-15)

Bug Fixes

  • add $swal2-toast-background (8ac68f1)
  • use $swal2-background for range, radio, checkbox background (6af549b)

9.3.6 (2019-11-14)

Bug Fixes

9.3.5 (2019-11-13)

Bug Fixes

  • use inline-block for confirm button in showLoading() (#1810) (c876d13)

9.3.4 (2019-11-12)

Bug Fixes

  • “funding” field can’t be a string even though docs says so (604f3d2)

9.3.3 (2019-11-12)

Bug Fixes

  • add “funding” field to package.json (04236fb)

9.3.2 (2019-11-12)

Bug Fixes

  • reset timer progress bar on Swal.increaseTimer() (#1807) (604feb8)

9.3.1 (2019-11-11)

Bug Fixes

9.3.0 (2019-11-10)

Features

9.2.0 (2019-11-09)

Features

  • support HTMLElement and JQuery in shorthand (#1804) (9318f79)

9.1.6 (2019-11-08)

Bug Fixes

  • types: add missing version type (10c4136)

9.1.5 (2019-11-05)

Bug Fixes

  • .swal2-icon-content for toasts (941b900)

9.1.4 (2019-11-05)

Bug Fixes

9.1.3 (2019-11-05)

Bug Fixes

  • remove default backdrop background (5027076)

9.1.2 (2019-11-05)

Bug Fixes

  • default backdrop background (501cab3)

9.1.1 (2019-11-05)

Bug Fixes

  • apply $swal2-backdrop to background instead of background-color (8c27e1a)

9.1.0 (2019-11-05)

Features

  • scss: add $swal2-icon-animations (897b20b)

9.0.2 (2019-11-04)

Bug Fixes

  • types: add missing iconHtml (6f7f316)

9.0.1 (2019-11-04)

Bug Fixes

  • icon when passing it as third string argument (6ad3aa5)

9.0.0 (2019-11-04)

  • BREAKING CHANGE: remove .swal2-arabic-question-mark, add iconHtml param (f73dcba), closes #1672 #1532
  • BREAKING CHANGE: rename ‘type’ param to ‘icon’ (fcaabee)
  • BREAKING CHANGE: Stop disabling the Cancel button when in showLoading() (3668055), closes #1501
  • BREAKING CHANGE: remove setProgressSteps(), showProgressSteps(), hideProgressSteps() (53d9106), closes #1507 #1673
  • BREAKING CHANGE: remove disableConfirmButton() and enableConfirmButton() (8ebbcaf)
  • BREAKING CHANGE: remove inputClass (ee7e392)
  • BREAKING CHANGE: remove imageClass (2594115)
  • BREAKING CHANGE: remove confirmButtonClass and cancelButtonClass (5276cfd)
  • BREAKING CHANGE: remove customContainerClass (c04782c)
  • BREAKING CHANGE: remove .swal2-shown from .swal2-container, add ‘backdrop’ to showClass and hideClass (c3cbb74)
  • BREAKING CHANGE: replace animation with showClass and hideClass params (f2153cb), closes #1193 #654 #650 #761

Features

  • api: add ‘icon’ to showClass and hideClass (7c4b324)

BREAKING CHANGES

  • remove .swal2-arabic-question-mark, add iconHtml param
  • rename ‘type’ param to ‘icon’
  • Stop disabling the Cancel button when in showLoading()
  • remove setProgressSteps(), showProgressSteps(), hideProgressSteps()
  • remove disableConfirmButton() and enableConfirmButton()
  • remove inputClass
  • remove imageClass
  • remove confirmButtonClass and cancelButtonClass
  • remove customContainerClass
  • remove .swal2-shown from .swal2-container, add ‘backdrop’ to showClass and hideClass
  • replace animation with showClass and hideClass params

8.19.0 (2019-11-02)

Features

8.18.7 (2019-11-01)

Bug Fixes

8.18.6 (2019-10-23)

Bug Fixes

8.18.5 (2019-10-18)

Bug Fixes

  • throw warning when calling update() for closing popup (#1779) (69d737e)

8.18.4 (2019-10-16)

Bug Fixes

  • types: do not use SweetAlertArrayOptions in fire() definition (#1775) (893eee7)

8.18.3 (2019-10-09)

Bug Fixes

8.18.2 (2019-10-09)

Bug Fixes

  • types: getInput() returns HTMLInputElement (#1766) (c9916da)

8.18.1 (2019-10-07)

Bug Fixes

  • get file result for multiple file type input (#1759) (cf00614)

8.18.0 (2019-09-30)

Features

  • scss: add $swal2-close-button-font-family and $swal2-button-focus-background-color variables (#1753) (bc1da42)

8.17.6 (2019-09-19)

Bug Fixes

  • throw warning about unexpected type of customClass (#1743) (102bd03)

8.17.5 (2019-09-19)

Bug Fixes

8.17.4 (2019-09-17)

Bug Fixes

  • types: title and footer can be of HTMLElement and JQuery types (b00065f)

8.17.3 (2019-09-16)

Bug Fixes

8.17.2 (2019-09-16)

Bug Fixes

  • split SCSS into smaller pieces for easier theming (#1734) (c21d615)

8.17.1 (2019-08-31)

Bug Fixes

  • types: first element of SweetAlertArrayOptions is also optional (b30baf8)
  • types: more precise SweetAlertArrayOptions type and minor syntax improvement (e0225e7)

8.17.0 (2019-08-31)

Features

8.16.4 (2019-08-30)

Bug Fixes

8.16.3 (2019-08-22)

Bug Fixes

8.16.2 (2019-08-18)

Bug Fixes

  • types: Swal.close() now takes the value to resolve with, not a callback (8def219)

8.16.1 (2019-08-17)

Bug Fixes

8.16.0 (2019-08-16)

Features

  • sass: add variables for .swal2-content (c50185a)

8.15.3 (2019-08-09)

Bug Fixes

  • expand/shrink popup accordingly to textarea width (#1702) (93f59dc)

8.15.2 (2019-08-05)

Bug Fixes

  • apply buttons classes even if both of them are hidden (#1697) (a90f139)

8.15.1 (2019-08-03)

Bug Fixes

  • types: add missing getPopup() definition (f4374a7)

8.15.0 (2019-08-02)

Features

  • sass: add variables for .swal2-actions (3fc4c0c)

8.14.1 (2019-08-02)

Bug Fixes

  • types: support sweetalert2 modules from dist and src folders (#1693) (ca1cbe9)

8.14.0 (2019-07-18)

Features

8.13.6 (2019-07-15)

Bug Fixes

8.13.5 (2019-07-14)

Bug Fixes

8.13.4 (2019-07-09)

Bug Fixes

  • perform removeBodyClasses() as the very last step (#1651) (624ccc9)

8.13.3 (2019-07-08)

Bug Fixes

  • Move globalState variables delete statements in closing callback (#1647) (e5ded53)

8.13.2 (2019-07-08)

Bug Fixes

  • change closing sequence to detect a closing swal (#1645) (9a8e802)

8.13.1 (2019-07-04)

Bug Fixes

  • inputValue as a promise (reject case) (544c0c1)

8.13.0 (2019-06-21)

Features

8.12.2 (2019-06-20)

Bug Fixes

8.12.1 (2019-06-10)

Bug Fixes

  • add z-index to the close button to prevent its overlapping by the content (#1618) (ad07176)

8.12.0 (2019-06-08)

Features

  • dist: use this instead of window to support Firefox extensions (#1615) (9996bcf)

8.11.7 (2019-05-31)

Bug Fixes

8.11.6 (2019-05-25)

Bug Fixes

  • run swalCloseEventFinished only for animations on popup (#1601) (78920dc)

8.11.5 (2019-05-23)

Bug Fixes

  • revert ‘module’ field, add ‘browser’ field to package.json (#1599) (4fe56fb)

8.11.4 (2019-05-22)

Bug Fixes

8.11.3 (2019-05-22)

Bug Fixes

  • iOS: disable body scroll when modal is shown (#1596) (409be8f)

8.11.2 (2019-05-22)

Bug Fixes

  • aviod double-executing of swalCloseEventFinished (3874ba9)

8.11.1 (2019-05-16)

Bug Fixes

  • sass: Add !default to swal2-actions-justify-content (#1593) (5062187)

8.11.0 (2019-05-16)

Bug Fixes

  • do not access innerParams in close() if there’s no popup (86e16f9)

Features

  • sass: add $swal2-actions-justify-content variable to control buttons justification (#1592) (c0fcab8)

8.10.7 (2019-05-11)

Bug Fixes

  • pass isToast to removePopupAndResetState() (#1585) (53f1047)

8.10.6 (2019-05-10)

Bug Fixes

  • sass: add $swal2-close-button-hover-background (c209d1b)
  • styling: revert opacity on toast hide animation (1bb5a56)

8.10.5 (2019-05-10)

Bug Fixes

  • remove opacity from toast show/hide animations (#1584) (469bcc5)

8.10.4 (2019-05-09)

Bug Fixes

8.10.3 (2019-05-09)

Bug Fixes

  • improve the awareness of users to support awesomeness (982a612)

8.10.2 (2019-05-07)

Bug Fixes

  • double-click on backdrop should close popup once (#1579) (78d2d2a)
  • unset props after closing a popup so GC will dispose them (#1570) (81c0a0d)

8.10.1 (2019-05-06)

Bug Fixes

8.10.0 (2019-05-03)

Features

  • sass: add variables for toast, input and backdrop (#1571) (feab788)

8.9.0 (2019-04-28)

Features

8.8.7 (2019-04-21)

Bug Fixes

  • revert “chore(tools): git hooks for running linters before commit (#1537)” (#1559) (d22b234)

8.8.6 (2019-04-21)

Bug Fixes

  • force extensions for import statements (fa94cec)

8.8.5 (2019-04-13)

Bug Fixes

8.8.4 (2019-04-13)

Bug Fixes

8.8.3 (2019-04-10)

Bug Fixes

  • d.ts: add missing HTMLElement to target param (2ea9d80)

8.8.2 (2019-04-10)

Bug Fixes

8.8.1 (2019-04-02)

Bug Fixes

  • do not re-render icon if isn’t provided or the same as before (#1518) (f7613af)

8.8.0 (2019-03-31)

Features

  • allow image size to be set in any CSS units (#1510) (9d74299)

8.7.1 (2019-03-30)

Bug Fixes

8.7.0 (2019-03-26)

Features

8.6.0 (2019-03-24)

Features

  • sass-variables: add $swal2-container-padding (#1463) (d448794)

8.5.0 (2019-03-15)

Features

8.4.0 (2019-03-15)

Features

  • add customClass.icon, simplify icons markup (ba4a485)
  • add Swal.getIcon() (acc42a0)

8.3.0 (2019-03-11)

Bug Fixes

  • remove excessive isVisible check for buttons, support Jest testing enviroment (#1439) (42ef213)

Features

  • api: allow adding custom classes to header, content, footer, etc. (#1441) (4381bae)

8.2.6 (2019-02-26)

Bug Fixes

8.2.5 (2019-02-26)

Bug Fixes

  • make close button friendly for non-UTF encodings × -> × (#1431) (b2006c3)

8.2.4 (2019-02-23)

Bug Fixes

8.2.3 (2019-02-21)

Bug Fixes

8.2.2 (2019-02-20)

Bug Fixes

  • crash if swal2 action buttons classes are applied to elements in html prop (#1420) (a21ef6b)

8.2.1 (2019-02-18)

Bug Fixes

8.2.0 (2019-02-17)

Features

8.1.0 (2019-02-17)

Features

  • add new SCSS variables for input and progress steps (#1411) (5be77b6)

8.0.7 (2019-02-12)

Bug Fixes

  • restore correct padding when scrollbar is present (#1410) (f73f1d7)

8.0.6 (2019-02-05)

Bug Fixes

8.0.5 (2019-02-02)

Bug Fixes

  • build-dist: git add src/SweetAlert.js, connected to #1401 (d024119)

8.0.4 (2019-02-02)

Bug Fixes

8.0.3 (2019-01-29)

Bug Fixes

  • api: showLoading() should open a new popup (#1394) (38823ff)

8.0.2 (2019-01-28)

Bug Fixes

  • package.json: remove the ‘module’ field (#1392) (b87b42f)

8.0.1 (2019-01-19)

Bug Fixes

  • use .js in imports to support ES modules (0e3e89e)

8.0.0 (2019-01-19)

Detailed summury on the release page.

  • BREAKING CHANGE: Change the main call method: swal() -> Swal.fire() (#1438)
  • BREAKING CHANGE: remove getButtonsWrapper() (c93b5e3)
  • BREAKING CHANGE: close() as instance method (#1379) (2519c17), closes #1379
  • BREAKING CHANGE: replace deprecated jsnext:main with module in package.json (#1378) (1785905), closes #1378
  • BREAKING CHANGE: drop Bower support (#1377) (cb4ef28), closes #1377
  • BREAKING CHANGE: remove withNoNewKeyword enhancer (#1372) (f581352), closes #1372
  • BREAKING CHANGE: remove swal.noop() (40d6fbb)
  • BREAKING CHANGE: rename $swal2-validationerror -> $swal2-validation-message (#1370) (9d1b13b), closes #1370
  • BREAKING CHANGE: inputValidator and preConfirm should always resolve (#1383) (fc70cf9), closes #1383
  • BREAKING CHANGE: remove setDefault and resetDefaults (#1365) (97c1d7c), closes #1365
  • BREAKING CHANGE: remove extraParams (#1363) (5125491), closes #1363
  • BREAKING CHANGE: remove showValidationError and resetValidationError (#1367) (50a1eff), closes #1367
  • BREAKING CHANGE: remove useRejections and expectRejections (#1362) (f050caf), closes #1362
  • BREAKING CHANGE: dismissReason: overlay -> backdrop (#1360) (d05bf33), closes #1360
  • BREAKING CHANGE: drop Android 4.4 support (#1359) (c0eddf3), closes #1359

Features

BREAKING CHANGES

  • swal() -> Swal.fire() (#1438)
  • close() as instance method (#1379)
  • drop Android 4.4 support (#1359)
  • replace deprecated jsnext:main with module in package.json (#1378)
  • drop Bower support (#1377)
  • remove withNoNewKeyword enhancer (#1372)
  • remove swal.noop()
  • rename $swal2-validationerror -> $swal2-validation-message (#1370)
  • inputValidator and preConfirm should always resolve (#1383)
  • remove setDefault and resetDefaults (#1365)
  • remove extraParams (#1363)
  • remove showValidationError and resetValidationError (#1367)
  • remove useRejections and expectRejections (#1362)
  • dismissReason: overlay -> backdrop (#1360)
  • remove getButtonsWrapper()

7.33.1 (2018-12-22)

Bug Fixes

7.33.0 (2018-12-22)

Features

  • API: add customContainerClass for specifying custom container class (#1347) (c5ef1aa)

7.32.4 (2018-12-15)

Bug Fixes

7.32.3 (2018-12-15)

Bug Fixes

  • Remove excessive args check (#1344)

7.32.2 (2018-12-09)

Bug Fixes

  • do not throw warnings when inputValue is a promise (#1333) (3607b72)

7.32.1 (2018-12-09)

Bug Fixes

  • ie11: do not fail on .contains() ([#1331](https://github.com/sweetalert2/sweetalert2/issues/1331)) ([f7cb2c2](https://github.com/sweetalert2/sweetalert2/commit/f7cb2c2))

7.32.0 (2018-12-08)

Features

7.31.1 (2018-12-07)

Bug Fixes

  • check this.running in timer methods (#1327) (418b8d3)
  • support HTMLElement for setting title/html/footer (#1328) (6f35e48)

7.31.0 (2018-12-06)

Features

  • api: add .resumeTimer(), .toggleTimer(), .increaseTimer() (#1325) (77649ee)

7.30.0 (2018-12-05)

Features

7.29.2 (2018-11-26)

Bug Fixes

  • validators: support long top level domain names in URL validator (#1307) (3263217)

7.29.1 (2018-11-18)

Bug Fixes

7.29.0 (2018-11-08)

Features

7.28.13 (2018-11-08)

Bug Fixes

7.28.12 (2018-11-06)

Bug Fixes

7.28.11 (2018-10-29)

Bug Fixes

  • build: use .min.css for .all.js to prevent the string concatenation (#1268) (f18b4bc)

7.28.10 (2018-10-25)

Bug Fixes

  • sarafi: add preventDefault() in esc key handling (#1264) (8a5c40f)

7.28.9 (2018-10-24)

Bug Fixes

  • typings: validationMesage typo (3e9dbd5)

7.28.8 (2018-10-21)

Bug Fixes

  • add resize handlers for IE11 vertical alignment fix (ba1d4cf)

7.28.7 (2018-10-18)

Bug Fixes

  • animation: detect animation before initialization (#1255) (7e9cf38)

7.28.6 (2018-10-18)

Bug Fixes

  • styles: body ‘overflow-y: hidden’ -> ‘overflow: hidden’ (#1254) (1b3d505)

7.28.5 (2018-10-12)

Bug Fixes

7.28.4 (2018-09-28)

Bug Fixes

7.28.3 (2018-09-28)

Bug Fixes

  • api: call onAfterClose after previousActiveElement is focused (#1233) (68c83ed)

7.28.2 (2018-09-24)

Bug Fixes

  • styles: revert breaking changes in SASS variables (#1229) (7d9f9d1)

7.28.1 (2018-09-23)

Bug Fixes

7.28.0 (2018-09-23)

Features

  • getters: expose .getValidationMessage() (3780165)
  • params: add validationMessage (73e0413)
  • params: deprecate extraParams (1224200)

7.27.0 (2018-09-22)

Features

7.26.29 (2018-09-16)

Bug Fixes

7.26.28 (2018-09-07)

Bug Fixes

  • release: purge jsdelivr before switching to master (#1215) (4b5c55d)

7.26.27 (2018-09-07)

Bug Fixes

  • release: purge jsdelivr cache after releasing a new version (#1214) (6229c1f)

7.26.26 (2018-09-06)

Bug Fixes

  • release: remove –unshallow from fetch (8f18115)

7.26.25 (2018-09-06)

Bug Fixes

  • release: fix cherry-picking the latest commit to master (d2da2e1)

7.26.24 (2018-09-06)

Bug Fixes

  • clear changelog and trigger new release (b652257)