v2.0.0
2.0.0 (2017-10-10)
The APIs of SwalComponent
and SwalDirective
haven't changed. However, you now have to install SweetAlert2 as a direct dependency, and possibly change the way you import the NgSweetAlert2Module.
Bug Fixes
- SweetAlert2Module: remove forced SwalDefaults provider on every module instance (9370413)
Features
- package: SweetAlert2 is now a peer dependency (00ee2d5)
BREAKING CHANGES
- package: SweetAlert2 is now a peer dependency: if you haven't specified sweetalert2 in your direct dependencies yet, do it now!
- SweetAlert2Module: Users that weren't using .forRoot() will now need to add it. Users that were using submodules won't need to repeat .forRoot() calls in these submodules - they will now inherit ther options from the parent forRoot()'ed SweetAlert2Module.