Skip to main content

Migrate to version 11.0.0

Here are the Important changes made for 11.0.0

Important, Read this first

This Guide is written for migration from version 10.4.0 to 11.0.0, for versions >11.0.0 <12.0.0, please consult the CHANGELOG

Breaking Changes

Minimal NodeJS version is now 20

With 10.0.0 the minimal nodejs required is 20.19.0.

Minimal mongodb version is now 4.2.0

Mongodb version before 4.2.0 have been dropped (3.6 & 4.0) as they are now unsupported by the latest mongodb drivers and are EOL for a couple of years.

This also means mongodb-memory-server-global-4.0 has been dropped and wont receive a update to 11.0.0.

Distribution support has been adjusted to only contain 4.2.0 and higher as well, this means the following are now the minimal versions:

  • Ubuntu: 16.04
  • Elemtaryos: 4
  • Linux mint: 18
  • Debian: 9.2
  • Rhel: 6.2
  • Fedora: 12

Mongodb Driver Version upgraded to 7.x

The used MongoDB Driver version is now 7.0.0.

See Minimal mongodb version is now 4.2.0.

Default binary version is now 8.2.x

The default binary version has been upgraded from 7.0.x to 8.2.x. For more specifics see mongodb-server-versions.

Non-Breaking changes / Additions

Compiler target is now es2023

The tsconfig target option has been updated to es2023, which will result in less polyfills. This should be a non-breaking change.