Skip to content

Commit f728b42

Browse files
release: v7.0.0-beta.10
1 parent dd10997 commit f728b42

File tree

7 files changed

+65
-11
lines changed

7 files changed

+65
-11
lines changed

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
## [7.0.0-beta.10](https://github.com/nodkz/mongodb-memory-server/compare/v7.0.0-beta.9...v7.0.0-beta.10) (2020-11-06)
2+
3+
4+
### ⚠ BREAKING CHANGES
5+
6+
* **MongoBinary:** remove function "MongoBinary.getCachePath", replace with "MongoBinary.cache.get"
7+
* **MongoBinaryDownload:** remove "MongoBinaryDownload.locationExists", replace with "utils.pathExists"
8+
* **MongoBinary:** remove value "LATEST_VERSION" in favor of using resolveConfig Value "VERSION"
9+
* **resolveConfig:** removing alias "reInitializePackageJson", replace with "findPackageJson"
10+
11+
### Features
12+
13+
* **MongoBinary:** remove function "getCachePath" ([af164c1](https://github.com/nodkz/mongodb-memory-server/commit/af164c19007699ec79a9077d9ac7409e79c6f651))
14+
* **MongoBinary:** remove value "LATEST_VERSION" ([22c6dfd](https://github.com/nodkz/mongodb-memory-server/commit/22c6dfd1a710cda5cf465c590f4947c916de46c0))
15+
* **MongoBinaryDownload:** remove function "locationExists" ([0ba071a](https://github.com/nodkz/mongodb-memory-server/commit/0ba071abfac93d4abe016ad0ed7c9e3a5235a28f))
16+
* **MongoBinaryDownload:** startDownload: add check that the downloadDir has sufficient permissions ([310cdae](https://github.com/nodkz/mongodb-memory-server/commit/310cdae9299b505b32cd9f2d633ab72119480022))
17+
* **MongoInstance:** run: add check that the mongoBinary has sufficient permissions ([d9c1019](https://github.com/nodkz/mongodb-memory-server/commit/d9c101937bd3ad1af99ec32c0a3375246df3cafc))
18+
* **resolveConfig:** add enum for all resolveConfig Variables ([7bd9160](https://github.com/nodkz/mongodb-memory-server/commit/7bd91609393f8151529b6827ef8c2f1a5be2fadb))
19+
* **resolveConfig:** remove alias "reInitializePackageJson" ([acc4b0a](https://github.com/nodkz/mongodb-memory-server/commit/acc4b0a41f70cee240a4c062140cd14e694414ab))
20+
* **utils:** add function "pathExists" ([4114d27](https://github.com/nodkz/mongodb-memory-server/commit/4114d27d73a6b34a7b59edc1b86d22723061ec89))
21+
22+
23+
### Refactor
24+
25+
* **getos:** replace "promisify" with "fs.promises" ([60e184b](https://github.com/nodkz/mongodb-memory-server/commit/60e184bb294031e151a40cf668ebff2fd09734ed))
26+
* **MongoBinary:** replace "promisify" with "fs.promises" ([5a769f3](https://github.com/nodkz/mongodb-memory-server/commit/5a769f3fbd32b1be3e6b1413d07362047838f995))
27+
* **MongoBinaryDownload:** replace "existsSync" with "utils.pathExists" ([d8de1cc](https://github.com/nodkz/mongodb-memory-server/commit/d8de1cc8d0601f48146d7ae34a00af058a87e5db))
28+
* **MongoBinaryDownload:** replace "promisify" with "fs.promises" ([911a922](https://github.com/nodkz/mongodb-memory-server/commit/911a922c92e8cf177604f33813adfb6fb98c694c))
29+
* **resolveConfig:** remove unnecessary optional chain ([1c6578d](https://github.com/nodkz/mongodb-memory-server/commit/1c6578d22a311c686ba49eec2ad8afb856eca4a4))
30+
* **utils:** assertion: remove error code from default error ([bbad7c4](https://github.com/nodkz/mongodb-memory-server/commit/bbad7c4d7036aa608262b7ee2fd41d1dedd4e6dc))
31+
32+
33+
### Fixes
34+
35+
* **getos:** replace "not undefined" with "envToBool" ([7fde8be](https://github.com/nodkz/mongodb-memory-server/commit/7fde8beec831edf5d5f6cb2c03646ab182a7ccbe))
36+
* **MongoBinary:** getSystemPath: also check for execute permission ([a501842](https://github.com/nodkz/mongodb-memory-server/commit/a501842e6c64575542cf976628f66a775a3c7d39))
37+
38+
39+
### Style
40+
41+
* **README:** environment variables: add legend for booleans ([17b1937](https://github.com/nodkz/mongodb-memory-server/commit/17b193714870427878058da2ee353808179545c0))
42+
* rename import "promises" (from fs) to "fspromises" everywhere ([f876670](https://github.com/nodkz/mongodb-memory-server/commit/f876670aaecc3b74ca4a85a80d804c137a40d572))
43+
* **eslintrc:** add environment "node" ([8f3ed19](https://github.com/nodkz/mongodb-memory-server/commit/8f3ed194f0a2a19c551be076c99ff2af763fe9f5))
44+
* **eslintrc:** add rule "padding-line-between-statements" for "function" & "class" ([6a0ebd4](https://github.com/nodkz/mongodb-memory-server/commit/6a0ebd43d63785c3457487d2d9834950adf08b30))
45+
* **eslintrc:** add rule "padding-line-between-statements" for "if" ([3efdb47](https://github.com/nodkz/mongodb-memory-server/commit/3efdb4770b27b996ad75f6b645d99369ebb672f4))
46+
* **eslintrc:** add rule "padding-line-between-statements" for "import" ([3bfc4ef](https://github.com/nodkz/mongodb-memory-server/commit/3bfc4ef8783557b2e451093f95be8b03c5d1696a))
47+
* **eslintrc:** add rule "padding-line-between-statements" for "return" ([05b02d2](https://github.com/nodkz/mongodb-memory-server/commit/05b02d231eb70d77e87005943632539a7ddeec49))
48+
* **eslintrc:** comma-dangle: change "functions" to "never" ([0bf9c3e](https://github.com/nodkz/mongodb-memory-server/commit/0bf9c3e5935ef493877110607ca2e4904942df9e))
49+
* **eslintrc:** set rule "no-else-return" to "warn" ([cb242e9](https://github.com/nodkz/mongodb-memory-server/commit/cb242e97e738652aba493e80850dfd39059c2dd8))
50+
* **eslintrc:** set rule "no-unused-expressions" to warn ([d08b293](https://github.com/nodkz/mongodb-memory-server/commit/d08b293f9be929fe159951427a72c030c0e776c1))
51+
* **MongoBinaryDownload:** makeMD5check: add more tsdoc ([911a09a](https://github.com/nodkz/mongodb-memory-server/commit/911a09a141143bf4fa6190b3b52dc47594ac2af3))
52+
* **README:** fix missing "MONGOMS_" on "SKIP_OS_RELEASE" ([e352495](https://github.com/nodkz/mongodb-memory-server/commit/e35249523a275fe7b83a31420aa3c0210349cb60))
53+
* **utils:** add more tsdoc to "statPath" & "pathExists" ([3b36143](https://github.com/nodkz/mongodb-memory-server/commit/3b36143c243497118d4f4fc757bf42305bd36b79))
54+
155
## [7.0.0-beta.9](https://github.com/nodkz/mongodb-memory-server/compare/v7.0.0-beta.8...v7.0.0-beta.9) (2020-11-02)
256

357

packages/mongodb-memory-server-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-memory-server-core",
3-
"version": "7.0.0-beta.9",
3+
"version": "7.0.0-beta.10",
44
"description": "MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.",
55
"main": "lib/index",
66
"types": "lib/index.d.ts",

packages/mongodb-memory-server-global-3.6/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-memory-server-global-3.6",
3-
"version": "7.0.0-beta.9",
3+
"version": "7.0.0-beta.10",
44
"mongodb_version": "3.6.20",
55
"description": "MongoDB Server for testing (auto-download 3.6 version to ~/.cache/mongodb-binaries).",
66
"main": "index.js",
@@ -25,7 +25,7 @@
2525
"mongomem"
2626
],
2727
"dependencies": {
28-
"mongodb-memory-server-core": "7.0.0-beta.9"
28+
"mongodb-memory-server-core": "7.0.0-beta.10"
2929
},
3030
"scripts": {
3131
"postinstall": "node ./postinstall.js"

packages/mongodb-memory-server-global-4.2/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-memory-server-global-4.2",
3-
"version": "7.0.0-beta.9",
3+
"version": "7.0.0-beta.10",
44
"mongodb_version": "4.2.10",
55
"description": "MongoDB Server for testing (auto-download 4.2 version to ~/.cache/mongodb-binaries).",
66
"main": "index.js",
@@ -25,7 +25,7 @@
2525
"mongomem"
2626
],
2727
"dependencies": {
28-
"mongodb-memory-server-core": "7.0.0-beta.9"
28+
"mongodb-memory-server-core": "7.0.0-beta.10"
2929
},
3030
"scripts": {
3131
"postinstall": "node ./postinstall.js"

packages/mongodb-memory-server-global-4.4/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-memory-server-global-4.4",
3-
"version": "7.0.0-beta.9",
3+
"version": "7.0.0-beta.10",
44
"mongodb_version": "4.4.1",
55
"description": "MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).",
66
"main": "index.js",
@@ -25,7 +25,7 @@
2525
"mongomem"
2626
],
2727
"dependencies": {
28-
"mongodb-memory-server-core": "7.0.0-beta.9"
28+
"mongodb-memory-server-core": "7.0.0-beta.10"
2929
},
3030
"scripts": {
3131
"postinstall": "node ./postinstall.js"

packages/mongodb-memory-server-global/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-memory-server-global",
3-
"version": "7.0.0-beta.9",
3+
"version": "7.0.0-beta.10",
44
"description": "MongoDB Server for testing (auto-download latest version to ~/.cache/mongodb-binaries).",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -24,7 +24,7 @@
2424
"mongomem"
2525
],
2626
"dependencies": {
27-
"mongodb-memory-server-core": "7.0.0-beta.9"
27+
"mongodb-memory-server-core": "7.0.0-beta.10"
2828
},
2929
"scripts": {
3030
"postinstall": "node ./postinstall.js"

packages/mongodb-memory-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-memory-server",
3-
"version": "7.0.0-beta.9",
3+
"version": "7.0.0-beta.10",
44
"description": "MongoDB Server for testing (auto-download latest version). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -24,7 +24,7 @@
2424
"mongomem"
2525
],
2626
"dependencies": {
27-
"mongodb-memory-server-core": "7.0.0-beta.9"
27+
"mongodb-memory-server-core": "7.0.0-beta.10"
2828
},
2929
"scripts": {
3030
"postinstall": "node ./postinstall.js"

0 commit comments

Comments
 (0)