Releases: typegoose/mongodb-memory-server
Releases · typegoose/mongodb-memory-server
v7.0.0-beta.37
7.0.0-beta.37 (2021-03-22)
Style
- MongoMemoryServer: getStartOptions: use "spread" instead of many lines (9a01529)
- resolveConfig: update tsdoc (4e5469c)
- utils: authDefault: add tsdoc (aab1647)
Fixes
- MongoMemoryReplSet: start: change state on error (20433b5)
- MongoMemoryReplSet: start: move "beforeExit" listener setup before starting instances (d1cc648)
- MongoMemoryServer: add some tsdoc & change an if-throw to assertion (5c7acb4)
- MongoMemoryServer: createAuth: fix typo in "customData" & add "customData" to extra users (31c98c9)
- MongoMemoryServer: ensureInstance: change logs to be consistent with others (3d430c1)
- MongoMemoryServer: fix typo in warning (532bc09)
- MongoMemoryServer: start: dont add "beforeExit" listener if being in an replset (f9c555d)
- MongoMemoryServer: stop: change log to be better sounding (a009693)
- postinstallHelper: reduce variables (b42bac3)
- utils: ensureAsync: change from "setImmediate" to "process.nextTick" (3da59cc)
- utils: killProcess: unify log and variable names with other code (5605ea0)
v7.0.0-beta.36
7.0.0-beta.36 (2021-03-20)
Features
- MongoMemoryReplSet: change more errors to "StateError" & more consistent logs (64780ee)
- MongoMemoryServer: change more errors to "StateError" & more consistent logs (b05ec44)
Fixes
v7.0.0-beta.35
v7.0.0-beta.34
7.0.0-beta.34 (2021-03-19)
Fixes
- MongoInstance: change logs to be more up-to-date (d421e01)
- MongoMemoryReplSet: _initReplSet: add more logs (952fbf5)
- MongoMemoryServer: change options instead of creating new instance for auth creation (171f1fb)
Dependencies
- mongodb: upgrade to 3.6.5 (d0eabf6)
v7.0.0-beta.33
7.0.0-beta.33 (2021-03-17)
Fixes
- MongoBinary: add information about "RUNTIME_DOWNLOAD" to no binary found error (94ee82d)
- MongoBinary: change to match with regex instead of string splitting (ab1cd36)
- MongoBinary: remove using "binaryVersion" for version, because "version" cannot be undefined (72c8199)
- MongoBinary: use less variables & extend error (8b448db)
- MongoBinary: use semver for version comparison (d1f181a)
v7.0.0-beta.32
7.0.0-beta.32 (2021-03-16)
Fixes
- MongoMemoryServer: change state to stopped when start fails (e9134a7)
v7.0.0-beta.31
7.0.0-beta.31 (2021-03-15)
Features
- errors: add error "StateError" (e582407)
- errors: add error "UnknownArchitecture" (e2c39d6)
- errors: add error "UnknownLockfileStatus" (186df5b)
- errors: add error "UnknownPlatform" (747d893)
- lockfile: replace custom errors with "UnknownLockfileStatus" (5ea5662)
- MongoBinaryDownloadUrl: replace custom errors with "UnknownArchitecture" (6755554)
- MongoBinaryDownloadUrl: replace custom errors with "UnknownPlatform" (86aac73)
- MongoMemoryReplSet: replace custom errors with "StateError" (f49d7a1)
- MongoMemoryServer: replace custom error with "StateError" (e965ef5)
v7.0.0-beta.30
7.0.0-beta.30 (2021-03-14)
⚠ BREAKING CHANGES
- utils: Default-export from "utils" got removed, import it now with "{ generateDbName }"
Fixes
v7.0.0-beta.29
7.0.0-beta.29 (2021-03-12)
Features
- utils: uriTemplate: allow "port" to be undefined so that "host" can be an list of hosts (e101162)
Fixes
- MongoInstance: remove interface "MongoInstanceOpts" in favor of "MongoMemoryInstanceProp" (7efb4ff)
- MongoMemoryReplSet: dont generate an "otherDb" if "othereDb" is false (63497c0)
- MongoMemoryReplSet: getUri: loop over less arrays (dec9bac)
- MongoMemoryReplSet: getUri: use "uriTemplate" instead of re-doing (c6c9321)
- MongoMemoryServer: dont trigger "otherDb" if "otherDbName" is false (ffb096d)
Style
- MongoInstance: move comment into tsdoc (d749abb)
- MongoInstance: remove "null" from "port" (75d805f)
- MongoInstance: rename interface to have an better name (60858b1)
- MongoInstance: rename interface to have an better name (916aa11)
- MongoMemoryReplSet: add tsdoc to "initAllServers" (ba46aee)
- MongoMemoryServer: change "StartupInstanceData" to depend on "MongoMemoryInstanceOpts" (26af098)
- MongoMemoryServer: inherit type instead of redefining (eb41f81)