Skip to content

v6.2.3

Latest

Choose a tag to compare

@devconcept devconcept released this 03 Nov 19:45
· 7 commits to master since this release
5823de0
  • Fixed: Calling close() now rejects any pending ready() calls with a The storage was closed error, and ready() rejects with the same error if called after close(). Previously, calls still waiting on the connection never settled.
  • Fixed: A storage closed while still connecting no longer attaches dbError listeners to the MongoClient once the connection opens.
  • Fixed: fromStream now removes its error listener from the read stream once it settles.
  • Fixed: File settings explicitly set to undefined no longer override the defaults or the generated id. For example, bucketName: undefined previously stored files in the undefined.files collection.
  • Added: A public closed property on the storage that indicates whether close() has been called.
  • Changed: Updated development dependencies to their latest compatible versions, including Multer 2.5.0 for the test suite.

Full Changelog: v6.2.2...v6.2.3