7.0.0-beta.10 (2020-11-06)
⚠ BREAKING CHANGES
- MongoBinary: remove function "MongoBinary.getCachePath", replace with "MongoBinary.cache.get"
- MongoBinaryDownload: remove "MongoBinaryDownload.locationExists", replace with "utils.pathExists"
- MongoBinary: remove value "LATEST_VERSION" in favor of using resolveConfig Value "VERSION"
- resolveConfig: removing alias "reInitializePackageJson", replace with "findPackageJson"
Features
- MongoBinary: remove function "getCachePath" (af164c1)
- MongoBinary: remove value "LATEST_VERSION" (22c6dfd)
- MongoBinaryDownload: remove function "locationExists" (0ba071a)
- MongoBinaryDownload: startDownload: add check that the downloadDir has sufficient permissions (310cdae)
- MongoInstance: run: add check that the mongoBinary has sufficient permissions (d9c1019)
- resolveConfig: add enum for all resolveConfig Variables (7bd9160)
- resolveConfig: remove alias "reInitializePackageJson" (acc4b0a)
- utils: add function "pathExists" (4114d27)
Refactor
- getos: replace "promisify" with "fs.promises" (60e184b)
- MongoBinary: replace "promisify" with "fs.promises" (5a769f3)
- MongoBinaryDownload: replace "existsSync" with "utils.pathExists" (d8de1cc)
- MongoBinaryDownload: replace "promisify" with "fs.promises" (911a922)
- resolveConfig: remove unnecessary optional chain (1c6578d)
- utils: assertion: remove error code from default error (bbad7c4)
Fixes
- getos: replace "not undefined" with "envToBool" (7fde8be)
- MongoBinary: getSystemPath: also check for execute permission (a501842)
Style
- README: environment variables: add legend for booleans (17b1937)
- rename import "promises" (from fs) to "fspromises" everywhere (f876670)
- eslintrc: add environment "node" (8f3ed19)
- eslintrc: add rule "padding-line-between-statements" for "function" & "class" (6a0ebd4)
- eslintrc: add rule "padding-line-between-statements" for "if" (3efdb47)
- eslintrc: add rule "padding-line-between-statements" for "import" (3bfc4ef)
- eslintrc: add rule "padding-line-between-statements" for "return" (05b02d2)
- eslintrc: comma-dangle: change "functions" to "never" (0bf9c3e)
- eslintrc: set rule "no-else-return" to "warn" (cb242e9)
- eslintrc: set rule "no-unused-expressions" to warn (d08b293)
- MongoBinaryDownload: makeMD5check: add more tsdoc (911a09a)
- README: fix missing "MONGOMS_" on "SKIP_OS_RELEASE" (e352495)
- utils: add more tsdoc to "statPath" & "pathExists" (3b36143)