Skip to content

Releases: typegoose/mongodb-memory-server

v7.0.0-beta.2

07 Oct 14:06

Choose a tag to compare

v7.0.0-beta.2 Pre-release
Pre-release

7.0.0-beta.2 (2020-10-07)

Bug Fixes

  • types: remove alias "SpawnOptions" (8b963c5)
  • types: remove unused types (ab2944b)
  • remove unused file "deprecate" (bb3e0f4)

v6.9.1

07 Oct 16:48

Choose a tag to compare

6.9.1 (2020-10-07)

Bug Fixes

  • MongoBinaryDownloadUrl: fix win32 download generation (d62b489), closes #399

v7.0.0-beta.1

01 Oct 11:29

Choose a tag to compare

v7.0.0-beta.1 Pre-release
Pre-release

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

30 Sep 12:39

Choose a tag to compare

6.9.0 (2020-09-30)

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

  • MongoInstance: warn if nodejs version is below "10.15.0" (8693b46), closes #379
  • MongoMemoryReplSet: deprecate "getConnectionString" (b088af2)
  • MongoMemoryServer: deprecate "getConnectionString" (9abf04f)

v6.9.0-beta.2

30 Sep 08:36

Choose a tag to compare

v6.9.0-beta.2 Pre-release
Pre-release

6.9.0-beta.2 (2020-09-30)

Features

  • MongoMemoryReplSet: deprecate "getConnectionString" (b088af2)
  • MongoMemoryServer: deprecate "getConnectionString" (9abf04f)

v6.9.0-beta.1

29 Sep 17:16

Choose a tag to compare

v6.9.0-beta.1 Pre-release
Pre-release

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

  • MongoInstance: warn if nodejs version is below "10.15.0" (8693b46), closes #379

v6.8.1

28 Sep 21:59

Choose a tag to compare

6.8.1 (2020-09-28)

Bug Fixes

v6.8.1-beta.2

28 Sep 09:44

Choose a tag to compare

v6.8.1-beta.2 Pre-release
Pre-release

6.8.1-beta.2 (2020-09-28)

Bug Fixes

v6.8.1-beta.1

26 Sep 22:04

Choose a tag to compare

v6.8.1-beta.1 Pre-release
Pre-release

6.8.1-beta.1 (2020-09-26)

Bug Fixes

  • MongoInstance: add call to "instanceFailed" to "closeHandler" (c6010f4), closes #385
  • MongoInstance: fix log in "run" (38b2f0d)

v6.8.0

21 Sep 21:41

Choose a tag to compare

6.8.0 (2020-09-21)

Features

  • skip binary download when binary tar exists (31ac64c)