Closed SimonSchick closed 5 years ago
Honest question, why was bluebird used when moving from node-pool
?
I feel like Bluebird could be removed from sequelize
as a whole, but maybe there's a reason as to why it is there.
@DiegoRBaquero I have no idea, probably consistency/ease of use. I'm playing around with purging bluebird from sequelize but that's a lot of work.
@DiegoRBaquero actually, sequelize has been around longer than the native promise implementations were near stable enough to use. With modern async/await it's fair to consider it's removal.
Yes, I'm coming from the basis that sequelize v5 uses Node 6+, which is where node-pool
was removed. So we can consider removing it and use the native implementation.
@sushantdhiman could you please perform a major RC release? Might also move this to the sequelize org :)
Currently playing around with removing bluebird.
Breaking changes are: 1) No more bluebird (duh) 2) Using own TimeoutError.
If possible I'd like to get this released as a major RC.