Skip to content

v3.0.0: Upgrade mongo driver to 5.9.x

Compare
Choose a tag to compare
@yonivy yonivy released this 31 Dec 09:46
· 5 commits to master since this release
11d501a

This is a breaking change.

The new mongodb driver has breaking changes and because clients are able to use the raw mongodb connection those breaking changes will leak over. The breaking changes affecting this package come from both the v4 and v5 drivers.

To ease the migration to the new driver we use the mongodb-legacy package which allows us to keep using the callback API. Switching over to the Promise API caused too many issue in the panoply repo (where this package is used).