Skip to content

Commit 2740800

Browse files
committed
docs(migrate8): add file
1 parent 3ee3e89 commit 2740800

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

docs/guides/migration/migrate8.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
id: migrate8
3+
title: 'Migrate to version 8.0.0'
4+
---
5+
6+
Here are the Important changes made for 8.0.0
7+
8+
:::caution Important, Read this first
9+
This Guide is written for migration from version `7.5.0` to `8.0.0`, for versions `>8.0.0 <9.0.0`, please consult the [CHANGELOG](https://github.com/nodkz/mongodb-memory-server/blob/master/CHANGELOG.md)
10+
:::
11+
12+
## Breaking Changes
13+
14+
### Default MongoDB Server version upgraded to 5.0.3
15+
16+
The Default MongoDB Server version for 8.0 is `5.0.3`, see [MongoDB Server Versions](../mongodb-server-versions.md).
17+
18+
### Mongodb Driver Version upgraded to 4.x
19+
20+
The used MongoDB Driver version is now `4.1.2`.
21+
22+
## Non-Breaking changes / Additions
23+
24+
### Binary file name is now parsed from ARCHIVE_NAME and DOWNLOAD_URL
25+
26+
The Binary file name (like `mongod-x64-ubuntu-4.0.0`) is now parsed from [`ARCHIVE_NAME`](../../api/config-options#archive_name) and [`DOWNLOAD_URL`](../../api/config-options#download_url).
27+
28+
### A Error now gets thrown if Debian 10 (or higher) is used with mongodb version below 4.2.0
29+
30+
A Error now gets thrown, if Debian 10 (or higher) is used with a requested mongodb version of below 4.2.0, because there are no version available for Debian 10 below 4.2.0 and Debian 9 binaries are incompatible with Debian 10. (because of libcurl3)
31+
32+
### `instance.auth` is no longer required to enable Authentication
33+
34+
Option `instance.auth` is now no longer required to be set to enable Authentication when `auth` (top-level) is set.
35+
36+
### More Errors moved to Custom Error classes
37+
38+
More Errors have been moved to a custom Error class.

website/sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ module.exports = {
2929
],
3030
},
3131
],
32-
Migration: ['guides/migration/migrate7'],
32+
Migration: ['guides/migration/migrate8', 'guides/migration/migrate7'],
3333
},
3434
};

0 commit comments

Comments
 (0)