7.0.0-beta.38 (2021-03-23)
⚠ BREAKING CHANGES
- MongoMemoryServer: "MongoMemoryServer" now implements "ManagerAdvanced"
- MongoInstance: "MongoInstance" now implements "ManagerBase"
- MongoInstance: renaming "MongoInstance.childProcess" to "MongoInstance.mongodProcess" can break some api's
Features
- DryMongoBinary: combineBinaryName: remove unused parameter (edee483)
- MongoInstance: implement "ManagerBase" (e6e4e6b)
- MongoInstance: rename property "childProcess" to "mongodProcess" (46c56d8)
- MongoMemoryServer: implement "ManagerAdvanced" (709f733)
- utils: add "ManagerBase" and "ManagerAdvanced" classes (40190ef)
Style
- DryMongoBinary: locateBinary: simplify "if-condition" (3219315)
- MongoBinary: getPath: combine "defaultOptions" & "options" into single assignment (b107d54)
- MongoBinary: getPath: simplify "if-condition" (7584b56)
- MongoBinaryDownloadUrl: getArchiveNameLinux: combine "name" assignments (50878b3)
- MongoBinaryDownloadUrl: getArchiveNameOsx: combine "name" assignments (c4bbf79)
- MongoBinaryDownloadUrl: getArchiveNameWin: combine "name" assignments (258a6a1)
- MongoInstance: change comments into tsdoc (278619c)
- MongoInstance: move some comments (9832760)
- MongoInstance: simplify imports (5621da9)
- MongoInstance: unify promise variable names (73691da)
Fixes
- MongoBinaryDownload: download: escape paths in log & errors (5d2703e)
- MongoBinaryDownload: extract: remove only once used variable & escape paths in errors (3d5e9cb)
- MongoBinaryDownload: getMongodPath: add more logging & escape path in error (962cc9f)
- MongoBinaryDownload: httpDownload: open filestream only on successful response (57f3c7c)
- MongoBinaryDownload: makeMD5check: unlink md5 file after check (c0b707d)
- MongoBinaryDownloadUrl: change interface to actual needs (a906acb)
- MongoBinaryDownloadUrl: getArchiveName: change tsdoc & simplify "if-condition" (aaab616)
- MongoInstance: debug: change to be "protected" instead of "private" (633a35e)
- MongoInstance: start: update logs to reflect actual function name (1e5a2d7)
- MongoInstance: stop: fix log & remove double "con.close" (bb2697c)
- MongoInstance: update tsdoc & enhance logging (2d9e8f5)
- MongoMemoryReplSet: implement "ManagerAdvanced" & add logging to "create" (94e3092)