Skip to content

Latest commit

 

History

History
1397 lines (634 loc) · 63 KB

CHANGELOG.md

File metadata and controls

1397 lines (634 loc) · 63 KB

9.14.0 (2020-05-30)

Features

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

  • scss: add $swal2-border (0fdf5ba)

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

  • swap enable/disable deprecation warnings (#1727) (d557a1e)

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

  • add $swal2-icon-font-family SCSS variable (#1628) (3f7aaa8)

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

  • iOS: do not prevent touchmove for inputs (#1605) (69d57e3)

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

  • do not repove style attribute from inputs (#1545) (cf44531)

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

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

  • d.ts: add customContainerClass definition (#1351) (c5f11e7)

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

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

  • inputValue: warn about invalid inputValue (#1228) (8adebd0)

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)