Skip to content

Update from Sweetalert 9.x to 10.x, release 1.5

mattwire requested to merge release10 into master

SweetAlert introduces a number of breaking changes from release 11. Release 10 provides both legacy methods and new methods so allows existing integrations to transition.

I've come across a site that bundles SweetAlert 11 via the theme/cdn and this currently breaks Stripe because SweetAlert 11 removes some methods - specifically onAfterClose() (changes to didClose()) and onBeforeOpen() (changes to willOpen()).

@bgm if you get a quick chance to take a look and confirm this doesn't break any of your integrations? (it shouldn't).

Merge request reports