npm mongodb-memory-server 8.0.0
v8.0.0

latest releases: 9.5.0, 10.1.2, 10.1.1...
3 years ago

8.0.0 (2021-11-01)

⚠ BREAKING CHANGES

  • There is now no more "beforeExit" listener added
  • resolveConfig: Default MongoDB Binary version is now "5.0.3"
  • mongodb: Upgrade to mongodb(nodejs) 4.1

Features

  • errors: add Error "StdoutInstanceError" (382e7c6)
  • errors: add errors "ParseArchiveRegexError" and "NoRegexMatchError" (fb02eac)
  • MongoBinaryDownloadUrl: change to throw a error when debian 10 used for versions below 4.2.0 (bfb0ec4), closes #554 #448
  • MongoInstance::stdoutHandler: change "instanceError" events to use "StdoutInstanceError" (3daa5ea)
  • MongoInstance::stdoutHandler: change to handle "expection in initAndListen" (7774e9e)
  • remove all "beforeExit" listeners (f3d8a19), closes #563
  • resolveConfig: upgrade default mongodb version to 5.0.3 (75a722a), closes #555
  • resolveConfig::findPackageJson: re-write internals to be more maintainable (8f16a2a)
  • replace "mkdirp" with "utils.mkdir" (7579b47)
  • DryMongoBinary::generateOptions: parse options from ARCHIVE_NAME or DOWNLOAD_URL (808cc7e), closes #528
  • MongoBinaryDownloadUrl::translateArch: handle more variations of the same arch (0a22679)
  • utils: add function "mkdir" (44eeb53)

Reverts

  • Revert "docs(test-runners): add note to mocha / chai that process exit event may not be called" (a7c3c98)

Style

  • DryMongoBinary::generatePaths: log options (02befa8)
  • MongoBinaryDownloadUrl: add note for debian 11 (81c85f1)

Fixes

  • DryMongoBinary::parseArchiveNameRegex: change regex to include "macos" (#562) (9d5bdbf)
  • resolveConfig: fix debug enable (9c8cbb7)

Dependencies

  • @types/jest: upgrade to version 27.0.2 (e079f0d)
  • @types/semver: upgrade to version 7.3.9 (53f0354)
  • @types/tar-stream: upgrade to version 2.2.2 (babce7f)
  • @typescript-eslint/*: upgrade to version 5.2.0 (41f2a9a)
  • commitlint: upgrade to version 14.1.0 (5ea0921)
  • conventional-changelog-conventionalcommits: upgrade to version 4.6.1 (d00f6a9)
  • doctoc: upgrade to version 2.1.0 (8cb7243)
  • eslint: upgrade to version 8.1.0 (6790a0c)
  • husky: upgrade to version 7.0.4 (65a7042)
  • jest: upgrade to version 27.3.1 (8577380)
  • lint-staged: upgrade to version 11.2.6 (493d894)
  • mkdirp: remove unused dependency (c078ae8)
  • mongodb: upgrade to version 4.1.3 (9516bed)
  • prettier: upgrade to version 2.4.1 (36cd70f)
  • ts-jest: upgrade to version 27.0.7 (9b0fb3c)
  • tslib: upgrade to version 2.3.1 (1a36352)
  • typescript: upgrade to version 4.4.4 (63606e4)

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

NewReleases is sending notifications on new releases.