From 287d30482d8fd2537c3f31934964eb4f7f7585c9 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Wed, 15 Nov 2023 11:41:56 -0500 Subject: [PATCH] docs: add mongoose 8 to mongodb server compatibility guide Fix #14064 --- docs/compatibility.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/compatibility.md b/docs/compatibility.md index 8c8c1673af0..f2d2f5cdfa6 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -16,19 +16,19 @@ You can refer to [this table](https://www.mongodb.com/docs/drivers/node/current/ Below are the [semver](http://semver.org/) ranges representing which versions of mongoose are compatible with the listed versions of MongoDB server. -| MongoDB Server | Mongoose | -| :------------: | :---------------------------: | -| `7.x` | `^7.4.0` | -| `6.x` | `^6.5.0 \| ^7.0.0` | -| `5.x` | `^6.0.0 \| ^7.0.0` | -| `4.4.x` | `^5.10.0 \| ^6.0.0 \| ^7.0.0` | -| `4.2.x` | `^5.7.0 \| ^6.0.0 \| ^7.0.0` | -| `4.0.x` | `^5.2.0 \| ^6.0.0 \| ^7.0.0` | -| `3.6.x` | `^5.0.0 \| ^6.0.0 \| ^7.0.0` | -| `3.4.x` | `^4.7.3 \| ^5.0.0` | -| `3.2.x` | `^4.3.0 \| ^5.0.0` | -| `3.0.x` | `^3.8.22 \| ^4.0.0 \| ^5.0.0` | -| `2.6.x` | `^3.8.8 \| ^4.0.0 \| ^5.0.0` | -| `2.4.x` | `^3.8.0 \| ^4.0.0` | +| MongoDB Server | Mongoose | +| :------------: | :-------------------------------------: | +| `7.x` | `^7.4.0 | ^8.0.0` | +| `6.x` | `^6.5.0 \| ^7.0.0 \| ^8.0.0` | +| `5.x` | `^6.0.0 \| ^7.0.0 \| ^8.0.0` | +| `4.4.x` | `^5.10.0 \| ^6.0.0 \| ^7.0.0 \| ^8.0.0` | +| `4.2.x` | `^5.7.0 \| ^6.0.0 \| ^7.0.0 \| ^8.0.0` | +| `4.0.x` | `^5.2.0 \| ^6.0.0 \| ^7.0.0 \| ^8.0.0` | +| `3.6.x` | `^5.0.0 \| ^6.0.0 \| ^7.0.0 \| ^8.0.0` | +| `3.4.x` | `^4.7.3 \| ^5.0.0` | +| `3.2.x` | `^4.3.0 \| ^5.0.0` | +| `3.0.x` | `^3.8.22 \| ^4.0.0 \| ^5.0.0` | +| `2.6.x` | `^3.8.8 \| ^4.0.0 \| ^5.0.0` | +| `2.4.x` | `^3.8.0 \| ^4.0.0` | Note that Mongoose `5.x` dropped support for all versions of MongoDB before `3.0.0`. If you need to use MongoDB `2.6` or older, use Mongoose `4.x`.