From d02c1bf28a9287be54aa98815aa5f0e173375a89 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Tue, 3 Jun 2025 14:36:09 -0400 Subject: [PATCH 1/2] DOCSP-50455 Fix legacy compat tables --- .../language-compatibility-table-node.rst | 44 +---------- .../mongodb-compatibility-table-node.rst | 78 ------------------- 2 files changed, 1 insertion(+), 121 deletions(-) diff --git a/source/includes/language-compatibility-table-node.rst b/source/includes/language-compatibility-table-node.rst index 296a8c285..f188446ca 100644 --- a/source/includes/language-compatibility-table-node.rst +++ b/source/includes/language-compatibility-table-node.rst @@ -83,47 +83,5 @@ - - - - - * - 2.X - - - - - - - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - * - >= 1.4.18 - - - - - - - - - - - - - - - - - - - - ✓ - - ✓ - - ✓ - * - 1.4.X - - - - - - - - - - - - - - - - - - - - - - ✓ - - ✓ - + .. [#latest-note] Versions 6.0 and later of the {+driver-short+} require Node.js v16.20.1 or later. - diff --git a/source/includes/mongodb-compatibility-table-node.rst b/source/includes/mongodb-compatibility-table-node.rst index 01a5d3a35..e7461d8a2 100644 --- a/source/includes/mongodb-compatibility-table-node.rst +++ b/source/includes/mongodb-compatibility-table-node.rst @@ -120,82 +120,4 @@ - ✓ - ✓ - * - 3.3 to 3.5 - - - - ⊛ - - ⊛ - - ⊛ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - * - 3.1 to 3.2 - - - - ⊛ - - ⊛ - - ⊛ - - ⊛ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - * - 3.0 - - - - - - - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - * - 2.2.12 - - - - - - - - - - - - - - - - ✓ - - ✓ - - ✓ - - ✓ - - * - 2.0.14 - - - - - - - - - - - - - - - - - - - - ✓ - - ✓ - - * - 1.4.29 - - - - - - - - - - - - - - - - - - - - ✓ - - ✓ - .. [#unified-topology] When using Node.js Driver version 3.7, you must set the ``useUnifiedTopology`` flag to ``true`` for certain features. From a65a9a72437603113b5b1266221f2f6f52539196 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Tue, 3 Jun 2025 14:43:37 -0400 Subject: [PATCH 2/2] use regualr include --- source/compatibility.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index d1e06499a..7d5105e11 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -32,7 +32,7 @@ The first column lists the driver version. .. sharedinclude:: dbx/compatibility-table-legend.rst -.. sharedinclude:: dbx/mongodb-compatibility-table-node.rst +.. include:: /includes/mongodb-compatibility-table-node.rst Language Compatibility ---------------------- @@ -41,7 +41,7 @@ the {+driver-long+} for use with a specific version of Node.js. The first column lists the driver version. -.. sharedinclude:: dbx/language-compatibility-table-node.rst +.. include:: /includes/language-compatibility-table-node.rst Component Compatibility -----------------------