moff / angular2-flash-messages

Angular 2 flash messages module
52 stars 21 forks source link

Latest release introduces breaking change on revision #30

Closed wysawyg closed 6 years ago

wysawyg commented 6 years ago

I had npm set to ^1.0.5 and the latest revision broke our code because we were still using an import of FlashMessagesModule, not FlashMessagesModule.forRoot() in the app.module.ts.

moff commented 6 years ago

@wysawyg yes, there is a breaking change, sorry about that! I mentioned that in README.md It's because of this pull request I merged https://github.com/moff/angular2-flash-messages/pull/12 It now supports lazy loading.

moff commented 6 years ago

@wysawyg I've just unpublished new version that broke your code and published 2.0.0 So I hope not many other people will face this problem as well. Thank you for your feedback!