Repository navigation
- Fixed: Calling
close()now rejects any pendingready()calls with aThe storage was closederror, andready()rejects with the same error if called afterclose(). Previously, calls still waiting on the connection never settled. - Fixed: A storage closed while still connecting no longer attaches
dbErrorlisteners to theMongoClientonce the connection opens. - Fixed:
fromStreamnow removes itserrorlistener from the read stream once it settles. - Fixed: File settings explicitly set to
undefinedno longer override the defaults or the generated id. For example,bucketName: undefinedpreviously stored files in theundefined.filescollection. - Added: A public
closedproperty on the storage that indicates whetherclose()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