Todo:
sweetalert2.all.min.js (https://github.com/limonte/sweetalert2/issues/612#issuecomment-333306384) - done in https://github.com/limonte/sweetalert2/pull/692useRejections should be false by default (https://github.com/limonte/sweetalert2/issues/485) - done in https://github.com/limonte/sweetalert2/pull/693display: flex for buttons-wrapper (https://github.com/limonte/sweetalert2/issues/653) - done in https://github.com/limonte/sweetalert2/pull/672@limonte What time frame are you looking at for this release?
It would be nice to have the expectRejections option also in the current major (v6) before changing the defaults for both to false, though not totally necessary.
Edit: expectRejections refers to the 2nd part of #485 . I just made up the name (alternate suggestions welcome). I reason that this behavior should be under a different option than useRejections since some people are already using useRejections=false and having that also affect some new behavior could cause them problems, if their code relies on how rejections within inputValidator and preConfirm are handled. If that makes sense?
I think it would be easier for users to adapt to both of these changes to default behavior in one step rather than 2, since they are very similar.
@mattbrunetti That could be implemented right into version 7, right? I guess we're not that hurry ;) (oh and uh, can you just edit your comment w/ a link to the discussion? Can't find anything about expectRejections here https://github.com/limonte/sweetalert2/search?q=expectRejections&type=Issues&utf8=%E2%9C%93)
@toverux You're right, I guess there is no need to implement it in v6 at all.
Great, if this release can wait a few days, I will plan to close off #485 this weekend :)
@toverux See my edited comment and let me know if it makes sense
Great, if this release can wait a few days, I will plan to close off #485 this weekend :)
Absolutely! Many thanks, @mattbrunetti! I will do the release after your contribution.
Reminder for myself: after releasing, update StackOverflow answers:
@limonte note that .buttons-wrapper will transition to flex at the completion of #672
@samturrell @toverux @acupajoe
set the default entry point to sweetalert2.all.min.js
in the next major, should we set the default entry point to sweetalert2.all.js instead of sweetalert2.all.**min.**js? It would be easier for developers to debug and report issues.
Agreed. The main entry is, by convention, expected to lead to a non-minified file. You then minify yourself in the build process, in production mode.
.min.css and .min.js files are more likely to be used via CDNs and by users that don't use the npm package.
Agree with @toverux.
Quick update: almost everything done, the only one remained PR I would like to be included in v7.0.0 is https://github.com/limonte/sweetalert2/pull/674
@mattbrunetti what do you think, will you have time to polish it accordingly to the @toverux's latest comment?
Absolutely, I'll do so at lunch today
oops, accidentally closed the issue :)
Many thanks @mattbrunetti!
:tada: :tada: :tada: https://github.com/limonte/sweetalert2/releases/tag/v7.0.0 :tada: :tada: :tada:
All collaborators should have the edit permission for release notes, feel free to add/change if I forgot something to mention.
@zenflow you are the collaborator now, welcome! It's my pleasure to have you in this small but extremely efficient open-source team :sunglasses: Do you have a public email address so I can include it in the contributors section of package.json?
Yeah! Thanks to the people who have contributed on v.7!
@limonte @toverux @birjolaxew @samturrell @acupajoe @patrickhlauke Thank you for accepting me on this very excellent team! It is really an honor. I very much look forward to working more with all of you! 馃槃
@limonte Awesome! You can use this email address - [email protected] 馃憤
Annnd I'm also happy to annouce that v7 allowed ngx-sweetalert2's v3 to do its coming out: https://github.com/toverux/ngx-sweetalert2/releases/tag/v3.0.0
It's quite of a big release too -- if you were wondering why I'm comitting so little on Swal2, that's because I prefer to give some help here (in issues, reviews, advices, etc) and focus my developement efforts on the Angular integration.
That v3 has an interesting feature, too: using dynamic, Angular-managed DOM in SweetAlerts:
<swal title="Fill the form, rapidly" (open)="startCountdown()">
<!-- This form will be displayed as the alert main content
Targets the alert's main content zone by default -->
<form *swalPartial [formControl]="myForm">
...
</form>
<!-- This targets the confirm button's inner content
Notice the usage of ng-container to avoid creating an useless DOM element inside the button -->
<ng-container *swalPartial="swalTargets.confirmButton">
Send ({{ countdownSecondsLeft }} seconds left)
</ng-container>
<swal>
And, thanks again to all the contributors! This is a small library with a very limited scope, and yet, it helps many people (100K DL/mo), and federated a group of passionate contributors, thanks to our benevolent dictator for life @limonte :smile:
Congrats @toverux! The release notes for v3 looks professional :+1:
And, thanks again to all the contributors! This is a small library with a very limited scope, and yet, it helps many people (100K DL/mo), and federated a group of passionate contributors, thanks to our benevolent dictator for life @limonte
:laughing:
Most helpful comment
Annnd I'm also happy to annouce that v7 allowed ngx-sweetalert2's v3 to do its coming out: https://github.com/toverux/ngx-sweetalert2/releases/tag/v3.0.0
It's quite of a big release too -- if you were wondering why I'm comitting so little on Swal2, that's because I prefer to give some help here (in issues, reviews, advices, etc) and focus my developement efforts on the Angular integration.
That v3 has an interesting feature, too: using dynamic, Angular-managed DOM in SweetAlerts:
And, thanks again to all the contributors! This is a small library with a very limited scope, and yet, it helps many people (100K DL/mo), and federated a group of passionate contributors, thanks to our benevolent dictator for life @limonte :smile: