From af0f01186aca344d8d47e08a8be00703529e000b Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Sun, 6 Oct 2024 12:22:59 -0400 Subject: [PATCH 1/2] fix: add mongodb 8 to test matrix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb5776a251..12a1fdd10d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: matrix: node: [16, 18, 20] os: [ubuntu-20.04, ubuntu-22.04] - mongodb: [4.4.29, 5.0.26, 6.0.15, 7.0.12] + mongodb: [4.4.29, 5.0.26, 6.0.15, 7.0.12, 8.0.0] include: - os: ubuntu-20.04 # customize on which matrix the coverage will be collected on mongodb: 5.0.26 From 682a9e9060961e2909b76ab7b81d2ba6c9b9d478 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Sun, 6 Oct 2024 12:25:42 -0400 Subject: [PATCH 2/2] docs: indicate that Mongoose 8.7 is required for full MongoDB 8 support --- docs/compatibility.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/compatibility.md b/docs/compatibility.md index f183a4f67b..a343a47013 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -18,6 +18,7 @@ Below are the [semver](http://semver.org/) ranges representing which versions of | MongoDB Server | Mongoose | | :------------: | :-------------------------------------: | +| `8.x` | `^8.7.0` | | `7.x` | `^7.4.0 \| ^8.0.0` | | `6.x` | `^6.5.0 \| ^7.0.0 \| ^8.0.0` | | `5.x` | `^5.13.0` \| `^6.0.0 \| ^7.0.0 \| ^8.0.0`|