Releases: typegoose/mongodb-memory-server
Releases · typegoose/mongodb-memory-server
v7.0.0-beta.2
7.0.0-beta.2 (2020-10-07)
Bug Fixes
v6.9.1
v7.0.0-beta.1
7.0.0-beta.1 (2020-10-01)
Bug Fixes
- MongoInstance: reset "childProcess" and "killerProcess" after "kill" (49c710d)
Code Refactoring
- MongoInstance: change "null" to "undefined" for "childProcess" & "killerProcess" (232b812)
- MongoInstance: move "debug" into an private function (3d23d5b)
- MongoInstance: replace "instanceReady" and "instanceFailed" with events (6925c45)
- MongoMemoryReplSet: "_waitForPrimary" use new events (ed4b9e9)
Features
- db_util: add function "assertion" (c059500)
- MongoInstance: change root values of "MongodOpts" to be required (9779721)
- MongoInstance: extend EventEmitter (10965c7), closes #365
- MongoInstance: make "port" and "dbPath" required (749c3e3)
- MongoInstance: outsource "MongodOpts.instance" (d9dd6f8)
- MongoInstance: remove function "waitPrimaryReady" (1536dc2)
- MongoInstance: rename interface "MongodOps" to "MongodOpts" (edd4d39)
BREAKING CHANGES
- MongoInstance: changing "null" to "undefined" can break some code
- MongoInstance: throwing an error if 2 values are now undefined/null can break some code
- MongoInstance: removing the possibility to overwrite 2 functions this can break some use-cases
- MongoInstance: removing an function can break some use-cases
- MongoMemoryReplSet: "_waitForPrimary" now uses events instead of calling function "waitPrimaryReady"
- MongoInstance: because of changing values to "required" this can break some use-cases
- MongoInstance: removing the "dynamic" part can break some code with custom debug-logging
- MongoInstance: because of the rename it can break some use-cases
v6.9.0
v6.9.0-beta.2
6.9.0-beta.2 (2020-09-30)
Features
v6.9.0-beta.1
6.9.0-beta.1 (2020-09-29)
Bug Fixes
- MongoInstance: try "SIGKILL" after timeout (f2a06bc)
- MongoMemoryReplSet: change "process.on" to "process.once" for "beforeExit" (0e07953)
- MongoMemoryReplSet: remove "beforeExit" listener inside "stop" (c7328c9)
- MongoMemoryServer: remove double check (b99f3a4)
Features
v6.8.1
v6.8.1-beta.2
6.8.1-beta.2 (2020-09-28)
Bug Fixes
- explicitly re-export "default" (d3a1f6e), closes nodkz/mongodb-memory-server#386