Skip to content

Releases: typegoose/mongodb-memory-server

v8.0.0-beta.3

30 Sep 14:34

Choose a tag to compare

v8.0.0-beta.3 Pre-release
Pre-release

8.0.0-beta.3 (2021-09-30)

Features

  • replace "mkdirp" with "utils.mkdir" (7579b47)
  • utils: add function "mkdir" (44eeb53)

Dependencies

  • mkdirp: remove unused dependency (c078ae8)

v8.0.0-beta.2

29 Sep 13:45

Choose a tag to compare

v8.0.0-beta.2 Pre-release
Pre-release

8.0.0-beta.2 (2021-09-29)

Features

  • DryMongoBinary::generateOptions: parse options from ARCHIVE_NAME or DOWNLOAD_URL (808cc7e), closes #528
  • errors: add errors "ParseArchiveRegexError" and "NoRegexMatchError" (fb02eac)
  • MongoBinaryDownloadUrl::translateArch: handle more variations of the same arch (0a22679)

Fixes

  • resolveConfig: fix debug enable (9c8cbb7)

v7.4.2

29 Sep 13:45

Choose a tag to compare

7.4.2 (2021-09-29)

Fixes

  • resolveConfig: fix debug enable (aff6838)

v8.0.0-beta.1

23 Sep 15:20

Choose a tag to compare

v8.0.0-beta.1 Pre-release
Pre-release

8.0.0-beta.1 (2021-09-23)

⚠ BREAKING CHANGES

  • mongodb: Upgrade to mongodb(nodejs) 4.1

Dependencies

  • @types/jest: upgrade to version 27.0.2 (e079f0d)
  • @typescript-eslint/*: upgrade to version 4.31.2 (c8d34b1)
  • conventional-changelog-conventionalcommits: upgrade to version 4.6.1 (d00f6a9)
  • jest: upgrade to version 27.2.1 (695527f)
  • mongodb: upgrade to version 4.1 (6cf5502)
  • prettier: upgrade to version 2.4.1 (36cd70f)
  • tslib: upgrade to version 2.3.1 (1a36352)
  • typescript: upgrade to version 4.4.3 (84e407b)

v7.4.1

20 Sep 11:48

Choose a tag to compare

7.4.1 (2021-09-20)

Fixes

v7.4.0

02 Sep 12:41

Choose a tag to compare

7.4.0 (2021-09-02)

Features

  • errors: add "EnsureInstanceError" (e5aaebf)
  • errors: add "Md5CheckFailedError" (6ca70f0)
  • errors: add "NoSystemBinaryFoundError" (e1206c7)
  • errors: add "StartBinaryFailedError" (83626e0)
  • errors: add "UnableToUnlockLockfileError" (c1d1426)
  • errors: add error "WaitForPrimaryTimeoutError" (db1a3aa)
  • errors: rename "UnknownArchitecture" to "UnknownArchitectureError" (c546ab0)
  • errors: rename "UnknownLockfileStatus" to "UnknownLockfileStatusError" (f0fb208)
  • errors: rename "UnknownPlatform" to "UnknownPlatformError" (2800029)
  • errors: unfiy binary X_OK checking and throwing errors (4401834)
  • getos: support multiple "id_like" (ce42fad), closes #525
  • MongoBinary: add ability to disable SYSTEM_BINARY version check (331d820), closes #529
  • MongoMemoryReplSet: add named error for "count" assertion (d67202b)
  • actually change "auth" to work on non-inmemory storageEngines (7ac3758), closes #533
  • MongoBinaryDownloadUrl: add support for Amazon Distro (a7e14b5), closes #527

Refactor

  • MongoInstance: debug: passthrough any extra arguments to the logger to handle (5dbdded)
  • MongoMemoryServer: improve logging (0326b37)

Dependencies

  • @google/semantic-release-replace-plugin: upgrade to version 1.1.0 (809f6f6)
  • @types/debug: upgrade to 4.1.7 (557d40c)
  • @types/find-cache-dir: upgrade to version 3.2.1 (5814d48)
  • @types/jest: upgrade to version 26.0.24 (387c4da)
  • @types/jest: upgrade to version 27.0.1 (c26feae)
  • @types/mkdirp: upgrade to version 1.0.2 (4f273db)
  • @types/mongodb: upgrade to version 3.6.20 (02aef1a)
  • @types/semver: upgrade to version 7.3.8 (ae728f7)
  • @typescript-eslint/*: upgrade to version 4.29.0 (38b42a9)
  • @typescript-eslint/*: upgrade to version 4.30.0 (efd914e)
  • async-mutex: upgrade to version 0.3.2 (01e662a)
  • commitlint: upgrade to version 13.1.0 (8497e9f)
  • eslint: upgrade to 7.32.0 (9202186)
  • eslint-plugin-prettier: upgrade to version 4.0.0 (79e1b2d)
  • find-cache-dir: upgrade to version 3.3.2 (2ef3e00)
  • husky: upgrade to version 7.0.1 (2b37bda)
  • husky: upgrade to version 7.0.2 (3b33ff8)
  • jest: upgrade to version 27.1.0 (fbe852b)
  • lerna: remove dependency (1266a57), closes #537
  • lint-staged: upgrade to version 11.1.2 (e8d3575)
  • semantic-release: upgrade to version 17.4.7 (c67b291)
  • ts-jest: upgrade to version 27.0.4 (377a0d2)
  • ts-jest: upgrade to version 27.0.5 (07f3e38)
  • typescript: upgrade to version 4.4.2 (e89df5a)

Fixes

  • MongoInstance: change "instanceReplState" to get triggered on "transition" (923aae6)
  • MongoInstance: closeHandler: also log the exit signal (a9f42ea)
  • MongoInstance: fix resetting "isInstancePrimary" in the same line (c91b703)
  • MongoInstance: stop: use "this.debug" over "log" (00740ac)
  • MongoInstance: update nodejs version warning (forgot in 7.0) (2741434)
  • MongoInstance: use "shutdown" on all replset members instead of "replSetStepDown" on primary (40af0a0)
  • MongoMemoryReplset: improve logging & disable "writeConcernMajorityJournalDefault" when memory (8427df8)
  • resolveConfig: enable debug mode when defined through package config (20b121f)
  • utils: killProcess: use better logging (aa75e42)
  • utils::assertion: change to use named fallback error (88ae810)

Style

  • errors: add REFACTOR comment (e9dd68f)
  • MongoBinaryDownload::download: add "@returns" tsdoc (ddb88c4)
  • MongoInstance: ignore nodejs warning from coverage (68adbbf)
  • MongoMemoryReplSet: add todo (0bbc346)
  • MongoMemoryServer: move protected function to other protected functions (3b1dc73)
  • fix some typos "an" -> "a" (ad0a930)

v7.4.0-beta.8

31 Aug 21:04

Choose a tag to compare

v7.4.0-beta.8 Pre-release
Pre-release

7.4.0-beta.8 (2021-08-31)

Features

  • MongoMemoryReplSet: add named error for "count" assertion (d67202b)

Dependencies

  • @google/semantic-release-replace-plugin: upgrade to version 1.1.0 (809f6f6)
  • @types/jest: upgrade to version 27.0.1 (c26feae)
  • @typescript-eslint/*: upgrade to version 4.30.0 (efd914e)
  • async-mutex: upgrade to version 0.3.2 (01e662a)
  • eslint-plugin-prettier: upgrade to version 4.0.0 (79e1b2d)
  • find-cache-dir: upgrade to version 3.3.2 (2ef3e00)
  • husky: upgrade to version 7.0.2 (3b33ff8)
  • jest: upgrade to version 27.1.0 (fbe852b)
  • lerna: remove dependency (1266a57), closes #537
  • semantic-release: upgrade to version 17.4.7 (c67b291)
  • ts-jest: upgrade to version 27.0.5 (07f3e38)
  • typescript: upgrade to version 4.4.2 (e89df5a)

Fixes

  • utils::assertion: change to use named fallback error (88ae810)

v7.4.0-beta.7

28 Aug 11:34

Choose a tag to compare

v7.4.0-beta.7 Pre-release
Pre-release

7.4.0-beta.7 (2021-08-28)

Features

  • MongoBinary: add ability to disable SYSTEM_BINARY version check (331d820), closes #529

v7.4.0-beta.6

27 Aug 20:38

Choose a tag to compare

v7.4.0-beta.6 Pre-release
Pre-release

7.4.0-beta.6 (2021-08-27)

Features

  • errors: unfiy binary X_OK checking and throwing errors (4401834)

Fixes

  • MongoInstance: update nodejs version warning (forgot in 7.0) (2741434)

Style

  • MongoInstance: ignore nodejs warning from coverage (68adbbf)

v7.4.0-beta.5

27 Aug 19:37

Choose a tag to compare

v7.4.0-beta.5 Pre-release
Pre-release

7.4.0-beta.5 (2021-08-27)

Features

  • actually change "auth" to work on non-inmemory storageEngines (7ac3758), closes #533

Refactor

  • MongoInstance: debug: passthrough any extra arguments to the logger to handle (5dbdded)
  • MongoMemoryServer: improve logging (0326b37)

Style

  • MongoMemoryReplSet: add todo (0bbc346)
  • MongoMemoryServer: move protected function to other protected functions (3b1dc73)

Fixes

  • MongoInstance: change "instanceReplState" to get triggered on "transition" (923aae6)
  • MongoInstance: fix resetting "isInstancePrimary" in the same line (c91b703)
  • MongoMemoryReplset: improve logging & disable "writeConcernMajorityJournalDefault" when memory (8427df8)