github typegoose/mongodb-memory-server v7.0.0-beta.1

latest releases: v10.0.1, v10.0.1-beta.1, v10.0.0...
pre-release4 years ago

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

Don't miss a new mongodb-memory-server release

NewReleases is sending notifications on new releases.