Skip to content

Commit fce6a07

Browse files
committed
docs(migrate7): include "getUri" dbName change
fixes #492
1 parent 3624253 commit fce6a07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/guides/migrate7.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ This also includes function renames:
8080
- `MongoInstance.run` -> `MongoInstance.start`
8181
- `MongoInstance.kill` -> `MongoInstance.stop`
8282

83+
### getUri by default does not include any dbName anymore
84+
85+
This was changed to allow mongodb and mongoose URI's to work at the same time (they slightly differ).
86+
87+
[See the code comment for more information](https://github.com/nodkz/mongodb-memory-server/blob/3624253f509a54cff04997943894b9eb7e7e64fe/packages/mongodb-memory-server-core/src/util/utils.ts#L13-L17)
88+
8389
## Non-Breaking changes / Additions
8490

8591
### Config Values are now collected in an enum

0 commit comments

Comments
 (0)