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)