From 918c63ac0ea01e444e59f77568f77e817f13e9ac Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Wed, 11 Dec 2024 09:53:14 -0800 Subject: [PATCH 01/11] add new page and includes --- source/compatibility.txt | 164 ++++++++++ .../language-compatibility-table-ruby.rst | 294 ++++++++++++++++++ .../mongodb-compatibility-table-ruby.rst | 266 ++++++++++++++++ source/index.txt | 2 +- 4 files changed, 725 insertions(+), 1 deletion(-) create mode 100644 source/compatibility.txt create mode 100644 source/includes/language-compatibility-table-ruby.rst create mode 100644 source/includes/mongodb-compatibility-table-ruby.rst diff --git a/source/compatibility.txt b/source/compatibility.txt new file mode 100644 index 00000000..3080a225 --- /dev/null +++ b/source/compatibility.txt @@ -0,0 +1,164 @@ +.. _ruby_compatibility: + +============= +Compatibility +============= + +.. contents:: On this page + :local: + :backlinks: none + :depth: 2 + :class: singlecol + +.. facet:: + :name: genre + :values: reference + +.. meta:: + :keywords: backwards compatibility, versions, upgrade + +MongoDB Compatibility +--------------------- + +The following compatibility table specifies the recommended +version(s) of the {+driver-long+} for use with a specific version of +MongoDB. Except when indicated, the specified driver versions expose or +take advantage of the features added in the corresponding server versions. + +MongoDB server releases are generally backwards compatible. This means a +particular driver version will generally work with newer server versions but may +not utilize the new functionalities in those server versions. + +The first column lists the driver versions. **D** in a column means support +for that Ruby version is deprecated. + +.. sharedinclude:: dbx/lifecycle-schedule-callout.rst + +.. include:: /includes/mongodb-compatibility-table-ruby.rst + +The driver does not support older versions of MongoDB. + +Language Compatibility +---------------------- + +The following compatibility table specifies the versions of Ruby supported +by the various versions of the {+driver-long+}. + +The first column lists the driver versions. **D** in a column means support +for that Ruby version is deprecated. + +.. include:: /includes/language-compatibility-table-ruby.rst + +The driver does not support older versions of Ruby. + +Rails/ActiveSupport Compatibility +--------------------------------- + +The {+driver-short+} does not depend on ActiveSupport. However, if your +application uses ActiveSupport or Ruby on Rails, you must load the driver's +ActiveSupport compatibility code to behavior such as time serialization to be +correct: + +.. code-block:: ruby + + require 'mongo' + require 'mongo/active_support' + +Applications using Mongoid 7.0.6 or newer do not need to explicitly load +the driver's ActiveSupport code, since Mongoid automatically does so. + +.. _tls-compatibility: + +TLS/SSL Compatibility +---------------------- + +The driver uses the protocols supported by the underlying Ruby +``openssl`` extension. The ``openssl`` extension generally exposes +the functionality available in the operating system's OpenSSL library. + +Industry best practices, and some regulations, require the use of TLS 1.1 +or newer. Some operating systems or versions may not provide an OpenSSL version +that supports these TLS versions. + +If you use macOS older than 10.13 (High Sierra), you need to install Ruby from +`rvm`_, `homebrew`_, `macports`_, or another similar source. See +`Installing Ruby`_ for more options. + +If you use Linux or other non-macOS Unix, you can check your OpenSSL version +as follows: + +.. code-block:: sh + + openssl version + +If the version number is less than 1.0.1, support for TLS 1.1 or newer is +not available. Contact your operating system vendor for a solution or upgrade +to a newer distribution. + +You can check your Ruby interpreter by running the following command: + +.. code-block:: sh + + ruby -e "require 'net/http'; require 'json'; puts JSON.parse(Net::HTTP.get(URI('https://www.howsmyssl.com/a/check')))['tls_version']" + +You should see ``TLS 1.X`` where ``X`` is greater than or equal to ``1``. + +To learn more about TLS versions and their security implications, see `Transport Layer Security Cheat Sheet +`_. + +.. _rvm: https://rvm.io/ +.. _homebrew: https://brew.sh/ +.. _macports: https://www.macports.org/ +.. _Installing Ruby: https://www.ruby-lang.org/en/documentation/installation + +Atlas Compatibility +------------------- + +We recommend `Driver version 2.6.1 +`_ or higher +when using MongoDB Atlas. This version has significant performance improvements +for TLS connections, and all Atlas connections use TLS. + +When running on JRuby and connecting to Atlas Free Tier, +`driver version 2.6.4 `_ +or higher and Java 8 or higher are required. + +``mongo_kerberos`` Compatibility +-------------------------------- + +The following compatibility table specifies the version(s) of the +:ref:`mongo_kerberos library ` to use with a specific version of +the {+driver-short+}. + +.. list-table:: + :header-rows: 1 + :stub-columns: 1 + :class: compatibility-large no-padding + + * - Ruby Driver + - mongo_kerberos |nbsp| 2.1 + + * - 2.7 - 2.19 + - |checkmark| + + +JRuby and Kerberos Authentication +--------------------------------- + +If you use ``mongo_kerberos`` gem for Kerberos authentication with JRuby, the +JVM system property ``sun.security.jgss.native`` is set to ``true`` to +facilitate the use of the system cache of Ticket Granting Tickets (TGTs) (for +example, TGTs obtained with ``kinit``). This setting also affects any other use +of the JGSS library, making any TGTs in the system cache available for obtaining +Kerberos credentials. + +.. include:: /includes/unicode-checkmark.rst +.. include:: /includes/unicode-nbsp.rst + +JRuby and TLS Connections +------------------------- + +Due to JRuby limitations: + +- The driver does not support ECDSA server certificates. +- The driver does not perform OCSP endpoint checking. diff --git a/source/includes/language-compatibility-table-ruby.rst b/source/includes/language-compatibility-table-ruby.rst new file mode 100644 index 00000000..6af6a149 --- /dev/null +++ b/source/includes/language-compatibility-table-ruby.rst @@ -0,0 +1,294 @@ +.. list-table:: + :header-rows: 1 + :stub-columns: 1 + :class: compatibility-large no-padding + + * - Ruby Driver + - Ruby 3.2 + - Ruby 3.1 + - Ruby 3.0 + - Ruby 2.7 + - Ruby 2.6 + - Ruby 2.5 + - Ruby 2.4 + - Ruby 2.3 + - Ruby 2.2 + - Ruby 2.1 + - Ruby 2.0 + - Ruby 1.9 + - JRuby 9.4 + - JRuby 9.3 + - JRuby 9.2 + - JRuby 9.1 + + * - 2.20 to 2.21 + - |checkmark| + - |checkmark| + - |checkmark| + - D + - + - + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - D + - + + * - 2.19 + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - D + - D + - + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - + + * - 2.18 + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - + + * - 2.17 + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + - + - + - + - + - |checkmark| + - + + * - 2.16 + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - D + - + - + - + - + - + - + - + - |checkmark| + - + + * - 2.15 + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - D + - D + - + - + - + - + - + - + - |checkmark| + - + + * - 2.14 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - D + - D + - + - + - + - + - + - + - |checkmark| + - + + * - 2.13 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + - + - + - |checkmark| + - + + * - 2.12 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + - + - + - |checkmark| + - + + * - 2.11 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + - + - + - |checkmark| + - + + * - 2.10 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - D + - D + - D + - D + - + - + - |checkmark| + - |checkmark| + + * - 2.9 + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - D + - D + - D + - D + - + - + - |checkmark| + - |checkmark| + + * - 2.8 + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - |checkmark| + - |checkmark| + + * - 2.7 + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - |checkmark| + - |checkmark| + + * - 2.6 + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - |checkmark| + - |checkmark| + +.. include:: /includes/unicode-checkmark.rst \ No newline at end of file diff --git a/source/includes/mongodb-compatibility-table-ruby.rst b/source/includes/mongodb-compatibility-table-ruby.rst new file mode 100644 index 00000000..4f57a700 --- /dev/null +++ b/source/includes/mongodb-compatibility-table-ruby.rst @@ -0,0 +1,266 @@ +.. list-table:: + :header-rows: 1 + :stub-columns: 1 + :class: compatibility-large no-padding + + * - Ruby Driver + - MongoDB 8.0 + - MongoDB 7.0 + - MongoDB 6.0 + - MongoDB 5.0 + - MongoDB 4.4 + - MongoDB 4.2 + - MongoDB 4.0 + - MongoDB 3.6 + - MongoDB 3.4 + - MongoDB 3.2 + - MongoDB 3.0 + - MongoDB 2.6 + + * - 2.21 + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + + * - 2.20 + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + + * - 2.19 + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + + * - 2.18 + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + + * - 2.17 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - + - + - + - + + * - 2.16 + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - D + - D + - D + - D + + * - 2.15 + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.14 + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.13 + - + - + - + - + - |checkmark| [#ocsp]_ + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.12 + - + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.11 + - + - + - + - + - + - |checkmark| [#client-side-encryption]_ + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.10 + - + - + - + - + - + - |checkmark| [#srv-polling]_ [#client-side-encryption]_ + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.9 + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.8 + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.7 + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.6 + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + + * - 2.5 + - + - + - + - + - + - + - + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + - |checkmark| + +.. [#ocsp] OCSP verification is implemented as of driver version 2.14. + +.. [#srv-polling] Polling of SRV records in sharded topologies is + implemented as of driver version 2.11. + +.. [#client-side-encryption] Client-side encryption is implemented as of + driver version 2.12. + +.. include:: /includes/unicode-checkmark.rst \ No newline at end of file diff --git a/source/index.txt b/source/index.txt index c696db05..22cf89c8 100644 --- a/source/index.txt +++ b/source/index.txt @@ -16,6 +16,7 @@ Connect View the Source API Documentation <{+api-root+}> + Compatibility .. TODO: Databases & Collections @@ -29,7 +30,6 @@ Issues & Help What's New Upgrade - Compatibility Introduction ------------ From d78fe38c1d00624fb67795da06e335bbf54bcba5 Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Wed, 11 Dec 2024 10:18:44 -0800 Subject: [PATCH 02/11] edits --- source/compatibility.txt | 18 ++++++++++-------- .../compatibility-table-legend-ruby.rst | 17 +++++++++++++++++ 2 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 source/includes/compatibility-table-legend-ruby.rst diff --git a/source/compatibility.txt b/source/compatibility.txt index 3080a225..f5430ef4 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -29,11 +29,12 @@ MongoDB server releases are generally backwards compatible. This means a particular driver version will generally work with newer server versions but may not utilize the new functionalities in those server versions. -The first column lists the driver versions. **D** in a column means support -for that Ruby version is deprecated. +The first column lists the driver versions. .. sharedinclude:: dbx/lifecycle-schedule-callout.rst +.. include:: /includes/compatibility-table-legend-ruby.rst + .. include:: /includes/mongodb-compatibility-table-ruby.rst The driver does not support older versions of MongoDB. @@ -44,8 +45,9 @@ Language Compatibility The following compatibility table specifies the versions of Ruby supported by the various versions of the {+driver-long+}. -The first column lists the driver versions. **D** in a column means support -for that Ruby version is deprecated. +The first column lists the driver versions. + +.. include:: /includes/compatibility-table-legend-ruby.rst .. include:: /includes/language-compatibility-table-ruby.rst @@ -123,8 +125,8 @@ When running on JRuby and connecting to Atlas Free Tier, `driver version 2.6.4 `_ or higher and Java 8 or higher are required. -``mongo_kerberos`` Compatibility --------------------------------- +mongo_kerberos Compatibility +---------------------------- The following compatibility table specifies the version(s) of the :ref:`mongo_kerberos library ` to use with a specific version of @@ -143,9 +145,9 @@ the {+driver-short+}. JRuby and Kerberos Authentication ---------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you use ``mongo_kerberos`` gem for Kerberos authentication with JRuby, the +If you use the ``mongo_kerberos`` gem for Kerberos authentication with JRuby, the JVM system property ``sun.security.jgss.native`` is set to ``true`` to facilitate the use of the system cache of Ticket Granting Tickets (TGTs) (for example, TGTs obtained with ``kinit``). This setting also affects any other use diff --git a/source/includes/compatibility-table-legend-ruby.rst b/source/includes/compatibility-table-legend-ruby.rst new file mode 100644 index 00000000..3db8faf6 --- /dev/null +++ b/source/includes/compatibility-table-legend-ruby.rst @@ -0,0 +1,17 @@ +Compatibility Table Legend +++++++++++++++++++++++++++ + +.. list-table:: + :header-rows: 1 + :stub-columns: 1 + :class: compatibility + + * - Icon + - Explanation + + * - āœ“ + - All features are supported. + * - D + - Support for the Driver version is deprecated. + * - No mark + - The Driver version is not tested with the MongoDB version. \ No newline at end of file From f9eb47e7b09be8688b317d3a87c1433a17367d3d Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Wed, 11 Dec 2024 10:19:41 -0800 Subject: [PATCH 03/11] update index --- source/index.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/index.txt b/source/index.txt index 22cf89c8..dd0d0b35 100644 --- a/source/index.txt +++ b/source/index.txt @@ -101,12 +101,12 @@ working with data in the :ref:`ruby-get-started` tutorial. .. Learn what changes you must make to your application to upgrade driver .. versions in the :ref:`ruby-upgrade` section. -.. Compatibility -.. ------------- +Compatibility +------------- -.. To learn about the versions of the {+mdb-server+} and the {+language+} language -.. that are compatible with each version of the {+driver-short+}, see the -.. :ref:`Compatibility ` section. +To learn about the versions of the {+mdb-server+} and the {+language+} language +that are compatible with each version of the {+driver-short+}, see the +:ref:`Compatibility ` section. Developer Hub ------------- From 647525a68848390a73ebfc7ac04cd4fe4ee4915f Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Wed, 11 Dec 2024 10:34:24 -0800 Subject: [PATCH 04/11] remove old file --- source/compatibility.txt | 2 +- .../compatibility-table-legend-ruby.rst | 2 +- .../reference/driver-compatibility.txt | 730 ------------------ 3 files changed, 2 insertions(+), 732 deletions(-) delete mode 100644 source/old-content/reference/driver-compatibility.txt diff --git a/source/compatibility.txt b/source/compatibility.txt index f5430ef4..c0aeae7b 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -1,4 +1,4 @@ -.. _ruby_compatibility: +.. _ruby-compatibility: ============= Compatibility diff --git a/source/includes/compatibility-table-legend-ruby.rst b/source/includes/compatibility-table-legend-ruby.rst index 3db8faf6..e1148189 100644 --- a/source/includes/compatibility-table-legend-ruby.rst +++ b/source/includes/compatibility-table-legend-ruby.rst @@ -12,6 +12,6 @@ Compatibility Table Legend * - āœ“ - All features are supported. * - D - - Support for the Driver version is deprecated. + - Support for the Driver version is deprecated. * - No mark - The Driver version is not tested with the MongoDB version. \ No newline at end of file diff --git a/source/old-content/reference/driver-compatibility.txt b/source/old-content/reference/driver-compatibility.txt deleted file mode 100644 index 0c43487b..00000000 --- a/source/old-content/reference/driver-compatibility.txt +++ /dev/null @@ -1,730 +0,0 @@ -.. _compatibility: - -******************** -Driver Compatibility -******************** - -.. default-domain:: mongodb - -.. contents:: On this page - :local: - :backlinks: none - :depth: 1 - :class: singlecol - - -.. _mongodb-compatibility: - -MongoDB Compatibility -===================== - -The following compatibility table specifies the recommended -version(s) of the MongoDB Ruby driver for use with a specific version of -MongoDB. Except when indicated, the specified driver versions expose or -take advantage of the features added in the corresponding server versions. - -MongoDB server releases are generally backwards compatible, meaning a -particular version of the driver will generally work with newer versions of -the server but may not take advantage of the functionality released in the -newer version of the server. - -.. important:: - - MongoDB ensures compatibility between the MongoDB Server and the drivers - for three years after the server version's end of life (EOL) date. To learn - more about the MongoDB release and EOL dates, see - `MongoDB Software Lifecycle Schedules `__. - -The first column lists the driver versions.ā€œDā€ in other columns means support -for that MongoDB version is deprecated and will be removed in a future driver -version. - -.. list-table:: - :header-rows: 1 - :stub-columns: 1 - :class: compatibility-large no-padding - - * - Ruby Driver - - MongoDB 8.0 - - MongoDB 7.0 - - MongoDB 6.0 - - MongoDB 5.0 - - MongoDB 4.4 - - MongoDB 4.2 - - MongoDB 4.0 - - MongoDB 3.6 - - MongoDB 3.4 - - MongoDB 3.2 - - MongoDB 3.0 - - MongoDB 2.6 - - * - 2.21 - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - * - 2.20 - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - * - 2.19 - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - * - 2.18 - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - * - 2.17 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - * - 2.16 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - D - - D - - * - 2.15 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.14 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.13 - - - - - - - - - - |checkmark| [#ocsp]_ - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.12 - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.11 - - - - - - - - - - - - |checkmark| [#client-side-encryption]_ - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.10 - - - - - - - - - - - - |checkmark| [#srv-polling]_ [#client-side-encryption]_ - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.9 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.8 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.7 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.6 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.5 - - - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - -.. [#ocsp] OCSP verification is implemented as of driver version 2.14. - -.. [#srv-polling] Polling of SRV records in sharded topologies is - implemented as of driver version 2.11. - -.. [#client-side-encryption] Client-side encryption is implemented as of - driver version 2.12. - -The driver does not support older versions of MongoDB. - - -.. _ruby-compatibility: - -Ruby Compatibility -================== - -The following compatibility table specifies the versions of Ruby supported -by the various versions of the MongoDB Ruby driver. - -The first column lists the driver versions. "D" in a column means support -for that Ruby version is deprecated. - -.. list-table:: - :header-rows: 1 - :stub-columns: 1 - :class: compatibility-large no-padding - - * - Ruby Driver - - Ruby 3.2 - - Ruby 3.1 - - Ruby 3.0 - - Ruby 2.7 - - Ruby 2.6 - - Ruby 2.5 - - Ruby 2.4 - - Ruby 2.3 - - Ruby 2.2 - - Ruby 2.1 - - Ruby 2.0 - - Ruby 1.9 - - JRuby 9.4 - - JRuby 9.3 - - JRuby 9.2 - - JRuby 9.1 - - * - 2.20 to 2.21 - - |checkmark| - - |checkmark| - - |checkmark| - - D - - - - - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - D - - - - * - 2.19 - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - - - * - 2.18 - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - - - * - 2.17 - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - - - - - |checkmark| - - - - * - 2.16 - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - - - - - - - - - - - - - - - |checkmark| - - - - * - 2.15 - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - - - - - - - - - - - - - |checkmark| - - - - * - 2.14 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - - - - - - - - - - - - - |checkmark| - - - - * - 2.13 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - |checkmark| - - - - * - 2.12 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - |checkmark| - - - - * - 2.11 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - |checkmark| - - - - * - 2.10 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - D - - D - - - - - - |checkmark| - - |checkmark| - - * - 2.9 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - D - - D - - - - - - |checkmark| - - |checkmark| - - * - 2.8 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - |checkmark| - - |checkmark| - - * - 2.7 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - |checkmark| - - |checkmark| - - * - 2.6 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - |checkmark| - - |checkmark| - -The driver does not support older versions of Ruby. - - -Rails/ActiveSupport Compatibility -================================= - -The Ruby driver does not depend on ActiveSupport. However, when an -application uses ActiveSupport or Ruby on Rails, -it must load the driver's ActiveSupport -compatibility code for behavior like time serialization to be correct: - -.. code-block:: ruby - - require 'mongo' - require 'mongo/active_support' - -Applications using Mongoid 7.0.6 or newer do not need to explicitly load -the driver's ActiveSupport code, since Mongoid automatically does so. - - -.. _tls-compatibility: - -TLS/SSL Compatibility -===================== - -The driver will utilize the protocols supported by the underlying Ruby -``openssl`` extension. In turn, the ``openssl`` extension generally exposes -the functionality that exists in the operating system's OpenSSL library. - -Industry best practices, and some regulations, require the use of TLS 1.1 -or newer. Some operating systems or versions may not provide an OpenSSL version -new enough to support these TLS versions. - -Users of macOS older than 10.13 (High Sierra) will need to install Ruby from -`rvm`_, `homebrew`_, `macports`_, or another similar source. See -`installation information on ruby-lang.org`_ for more options. - -Users of Linux or other non-macOS Unix can check their OpenSSL version -as follows: - -.. code-block:: sh - - openssl version - -If the version number is less than 1.0.1 support for TLS 1.1 or newer is -not available. Contact your operating system vendor for a solution or upgrade -to a newer distribution. - -You can check your Ruby interpreter by executing the following command: - -.. code-block:: sh - - ruby -e "require 'net/http'; require 'json'; puts JSON.parse(Net::HTTP.get(URI('https://www.howsmyssl.com/a/check')))['tls_version']" - -You should see "TLS 1.X" where X is >= 1. - -You can read more about TLS versions and their security implications `here -`_. - -.. _rvm: https://rvm.io/ -.. _homebrew: https://brew.sh/ -.. _macports: https://www.macports.org/ -.. _installation information on ruby-lang.org: https://www.ruby-lang.org/en/documentation/installation - - -Atlas Compatibility -=================== - -`Driver version 2.6.1 `_ -or higher is recommended when using MongoDB Atlas, as this version has -significant performance improvements when TLS connections are used, and all -Atlas connections use TLS. - -When running on JRuby and connecting to Atlas Free Tier, -`driver version 2.6.4 `_ -or higher and Java 8 or higher are required. - - -``mongo_kerberos`` Compatibility -================================ - -The following compatibility table specifies the version(s) of the -:ref:`mongo_kerberos library ` to use with a specific version of -the driver. - -.. list-table:: - :header-rows: 1 - :stub-columns: 1 - :class: compatibility-large no-padding - - * - Ruby Driver - - mongo_kerberos |nbsp| 2.1 - - * - 2.7 - 2.19 - - |checkmark| - - -JRuby and Kerberos Authentication -================================= - -If the ``mongo_kerberos`` gem is used for Kerberos authentication with JRuby, the the JVM system -property "sun.security.jgss.native" to will be set to "true" in order to facilitate the use of -the system cache of TGTs (e.g. TGTs obtained with ``kinit``). Any other use of the JGSS library -will also be affected by this setting, meaning any TGTs in the system cache will be available for -obtaining Kerberos credentials as well. - -.. include:: /includes/unicode-checkmark.rst -.. include:: /includes/unicode-nbsp.rst - - -JRuby and TLS Connections -========================= - -Due to JRuby limitations: - -- ECDSA server certificates are not supported. -- OCSP endpoint checking is not performed. From 69fff4526e2fd7800a0954ff4340feff1ab7aaff Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Wed, 11 Dec 2024 11:11:13 -0800 Subject: [PATCH 05/11] cleanup and consolidate tables --- source/compatibility.txt | 4 +- .../language-compatibility-table-ruby.rst | 76 +----------------- .../mongodb-compatibility-table-ruby.rst | 78 +------------------ 3 files changed, 7 insertions(+), 151 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index c0aeae7b..b76e86bc 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -58,7 +58,7 @@ Rails/ActiveSupport Compatibility The {+driver-short+} does not depend on ActiveSupport. However, if your application uses ActiveSupport or Ruby on Rails, you must load the driver's -ActiveSupport compatibility code to behavior such as time serialization to be +ActiveSupport compatibility code for behavior such as time serialization to be correct: .. code-block:: ruby @@ -74,7 +74,7 @@ the driver's ActiveSupport code, since Mongoid automatically does so. TLS/SSL Compatibility ---------------------- -The driver uses the protocols supported by the underlying Ruby +The {+driver-short+} uses the protocols supported by the underlying Ruby ``openssl`` extension. The ``openssl`` extension generally exposes the functionality available in the operating system's OpenSSL library. diff --git a/source/includes/language-compatibility-table-ruby.rst b/source/includes/language-compatibility-table-ruby.rst index 6af6a149..cbb715c0 100644 --- a/source/includes/language-compatibility-table-ruby.rst +++ b/source/includes/language-compatibility-table-ruby.rst @@ -147,43 +147,7 @@ - |checkmark| - - * - 2.13 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - |checkmark| - - - - * - 2.12 - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - - - - |checkmark| - - - - * - 2.11 + * - 2.11 to 2.13 - - - @@ -237,43 +201,7 @@ - |checkmark| - |checkmark| - * - 2.8 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - |checkmark| - - |checkmark| - - * - 2.7 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - |checkmark| - - |checkmark| - - * - 2.6 + * - 2.6 to 2.8 - - - diff --git a/source/includes/mongodb-compatibility-table-ruby.rst b/source/includes/mongodb-compatibility-table-ruby.rst index 4f57a700..6d41ec55 100644 --- a/source/includes/mongodb-compatibility-table-ruby.rst +++ b/source/includes/mongodb-compatibility-table-ruby.rst @@ -31,21 +31,7 @@ - - - * - 2.20 - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - * - 2.19 + * - 2.19 to 2.20 - - |checkmark| - |checkmark| @@ -101,21 +87,7 @@ - D - D - * - 2.15 - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.14 + * - 2.14 to 2.15 - - - @@ -185,49 +157,7 @@ - |checkmark| - |checkmark| - * - 2.9 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.8 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.7 - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.6 + * - 2.6 to 2.9 - - - @@ -256,10 +186,8 @@ - |checkmark| .. [#ocsp] OCSP verification is implemented as of driver version 2.14. - .. [#srv-polling] Polling of SRV records in sharded topologies is implemented as of driver version 2.11. - .. [#client-side-encryption] Client-side encryption is implemented as of driver version 2.12. From 956b3a41c718746bad875b840ec412ea4907c25c Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Thu, 12 Dec 2024 10:41:02 -0800 Subject: [PATCH 06/11] MR feedback --- source/compatibility.txt | 39 ++++++++++++++++++++------------------- source/index.txt | 2 +- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index b76e86bc..810beb90 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -26,7 +26,7 @@ MongoDB. Except when indicated, the specified driver versions expose or take advantage of the features added in the corresponding server versions. MongoDB server releases are generally backwards compatible. This means a -particular driver version will generally work with newer server versions but may +particular driver version will generally work with newer server versions but might not utilize the new functionalities in those server versions. The first column lists the driver versions. @@ -79,31 +79,33 @@ The {+driver-short+} uses the protocols supported by the underlying Ruby the functionality available in the operating system's OpenSSL library. Industry best practices, and some regulations, require the use of TLS 1.1 -or newer. Some operating systems or versions may not provide an OpenSSL version +or newer. Some operating systems or versions might not provide an OpenSSL version that supports these TLS versions. If you use macOS older than 10.13 (High Sierra), you need to install Ruby from `rvm`_, `homebrew`_, `macports`_, or another similar source. See `Installing Ruby`_ for more options. -If you use Linux or other non-macOS Unix, you can check your OpenSSL version +If you use Linux or other non-macOS Unix system, you can check your OpenSSL version as follows: .. code-block:: sh - openssl version + openssl version If the version number is less than 1.0.1, support for TLS 1.1 or newer is not available. Contact your operating system vendor for a solution or upgrade to a newer distribution. -You can check your Ruby interpreter by running the following command: +You can check your TLS version by running the following command in your Ruby +interpreter: .. code-block:: sh - ruby -e "require 'net/http'; require 'json'; puts JSON.parse(Net::HTTP.get(URI('https://www.howsmyssl.com/a/check')))['tls_version']" + ruby -e "require 'net/http'; require 'json'; puts JSON.parse(Net::HTTP.get(URI('https://www.howsmyssl.com/a/check')))['tls_version']" -You should see ``TLS 1.X`` where ``X`` is greater than or equal to ``1``. +After running the command, you must see ``TLS 1.X`` where ``X`` is greater than +or equal to ``1``. To learn more about TLS versions and their security implications, see `Transport Layer Security Cheat Sheet `_. @@ -116,14 +118,12 @@ To learn more about TLS versions and their security implications, see `Transport Atlas Compatibility ------------------- -We recommend `Driver version 2.6.1 -`_ or higher -when using MongoDB Atlas. This version has significant performance improvements -for TLS connections, and all Atlas connections use TLS. +We recommend {+driver-short+} version 2.6.1 or higher when using MongoDB Atlas. +This version has significant performance improvements for TLS connections, and +all Atlas connections use TLS. -When running on JRuby and connecting to Atlas Free Tier, -`driver version 2.6.4 `_ -or higher and Java 8 or higher are required. +When running on JRuby and connecting to Atlas Free Tier, {+driver-short+} +version 2.6.4 or higher and Java 8 or higher are required. mongo_kerberos Compatibility ---------------------------- @@ -147,12 +147,13 @@ the {+driver-short+}. JRuby and Kerberos Authentication ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you use the ``mongo_kerberos`` gem for Kerberos authentication with JRuby, the -JVM system property ``sun.security.jgss.native`` is set to ``true`` to +If you use the ``mongo_kerberos`` gem for Kerberos authentication with JRuby, +the JVM system property ``sun.security.jgss.native`` is set to ``true``. This facilitate the use of the system cache of Ticket Granting Tickets (TGTs) (for -example, TGTs obtained with ``kinit``). This setting also affects any other use -of the JGSS library, making any TGTs in the system cache available for obtaining -Kerberos credentials. +example, TGTs obtained with ``kinit``). + +This setting also affects any other use of the JGSS library, making any TGTs in +the system cache available for obtaining Kerberos credentials. .. include:: /includes/unicode-checkmark.rst .. include:: /includes/unicode-nbsp.rst diff --git a/source/index.txt b/source/index.txt index dd0d0b35..02a936f6 100644 --- a/source/index.txt +++ b/source/index.txt @@ -105,7 +105,7 @@ Compatibility ------------- To learn about the versions of the {+mdb-server+} and the {+language+} language -that are compatible with each version of the {+driver-short+}, see the +that are compatible with each version of the {+driver-short+}, see the :ref:`Compatibility ` section. Developer Hub From c13b6409a317aa3b4879f0b066bf086f924d6759 Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Thu, 12 Dec 2024 11:22:18 -0800 Subject: [PATCH 07/11] edits --- source/compatibility.txt | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index 810beb90..2abf7417 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -118,39 +118,26 @@ To learn more about TLS versions and their security implications, see `Transport Atlas Compatibility ------------------- -We recommend {+driver-short+} version 2.6.1 or higher when using MongoDB Atlas. +We recommend {+driver-short+} version 2.6.1 or later when using MongoDB Atlas. This version has significant performance improvements for TLS connections, and all Atlas connections use TLS. When running on JRuby and connecting to Atlas Free Tier, {+driver-short+} -version 2.6.4 or higher and Java 8 or higher are required. +version 2.6.4 or later and Java 8 or later are required. mongo_kerberos Compatibility ---------------------------- -The following compatibility table specifies the version(s) of the -:ref:`mongo_kerberos library ` to use with a specific version of -the {+driver-short+}. - -.. list-table:: - :header-rows: 1 - :stub-columns: 1 - :class: compatibility-large no-padding - - * - Ruby Driver - - mongo_kerberos |nbsp| 2.1 - - * - 2.7 - 2.19 - - |checkmark| - +The {+driver-short+} versions 2.7 and later are compatible with the +``mongo_kerberos`` gem version 2.1 of the :ref:`mongo_kerberos library `. JRuby and Kerberos Authentication ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you use the ``mongo_kerberos`` gem for Kerberos authentication with JRuby, the JVM system property ``sun.security.jgss.native`` is set to ``true``. This -facilitate the use of the system cache of Ticket Granting Tickets (TGTs) (for -example, TGTs obtained with ``kinit``). +facilitates the use of the system cache of Ticket Granting Tickets (TGTs), for +example, TGTs obtained with ``kinit``. This setting also affects any other use of the JGSS library, making any TGTs in the system cache available for obtaining Kerberos credentials. From 75cda134885e38877b49abfcce5736de4bb8ff91 Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Thu, 12 Dec 2024 11:29:34 -0800 Subject: [PATCH 08/11] remove unused include --- source/compatibility.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index 2abf7417..c45ea2ac 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -128,7 +128,7 @@ version 2.6.4 or later and Java 8 or later are required. mongo_kerberos Compatibility ---------------------------- -The {+driver-short+} versions 2.7 and later are compatible with the +{+driver-short+} versions 2.7 and later are compatible with the ``mongo_kerberos`` gem version 2.1 of the :ref:`mongo_kerberos library `. JRuby and Kerberos Authentication From 729145c1f1e83ad561b5251cb62920fb57f02bda Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Thu, 12 Dec 2024 11:29:51 -0800 Subject: [PATCH 09/11] update --- source/compatibility.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index c45ea2ac..9957eeb2 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -143,7 +143,6 @@ This setting also affects any other use of the JGSS library, making any TGTs in the system cache available for obtaining Kerberos credentials. .. include:: /includes/unicode-checkmark.rst -.. include:: /includes/unicode-nbsp.rst JRuby and TLS Connections ------------------------- From b695b108384ea65c5e0058d940de3dff8e2f1694 Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Thu, 12 Dec 2024 12:54:49 -0800 Subject: [PATCH 10/11] edits --- source/compatibility.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index 9957eeb2..c7ef77e5 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -86,7 +86,7 @@ If you use macOS older than 10.13 (High Sierra), you need to install Ruby from `rvm`_, `homebrew`_, `macports`_, or another similar source. See `Installing Ruby`_ for more options. -If you use Linux or other non-macOS Unix system, you can check your OpenSSL version +If you use Linux or other non-macOS Unix systems, you can check your OpenSSL version as follows: .. code-block:: sh @@ -136,8 +136,8 @@ JRuby and Kerberos Authentication If you use the ``mongo_kerberos`` gem for Kerberos authentication with JRuby, the JVM system property ``sun.security.jgss.native`` is set to ``true``. This -facilitates the use of the system cache of Ticket Granting Tickets (TGTs), for -example, TGTs obtained with ``kinit``. +facilitates the use of the system cache of Ticket Granting Tickets (TGTs), such +as TGTs obtained with ``kinit``. This setting also affects any other use of the JGSS library, making any TGTs in the system cache available for obtaining Kerberos credentials. From c44c8d76e73012a5f00d00e150b89553f338c52d Mon Sep 17 00:00:00 2001 From: Stephanie Aurelio Date: Thu, 12 Dec 2024 15:19:53 -0800 Subject: [PATCH 11/11] sme feedback --- source/compatibility.txt | 32 +------ .../language-compatibility-table-ruby.rst | 84 ------------------- .../mongodb-compatibility-table-ruby.rst | 74 ---------------- 3 files changed, 1 insertion(+), 189 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index c7ef77e5..f9ebd4f5 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -97,8 +97,7 @@ If the version number is less than 1.0.1, support for TLS 1.1 or newer is not available. Contact your operating system vendor for a solution or upgrade to a newer distribution. -You can check your TLS version by running the following command in your Ruby -interpreter: +You can check your TLS version by running the following command: .. code-block:: sh @@ -115,35 +114,6 @@ To learn more about TLS versions and their security implications, see `Transport .. _macports: https://www.macports.org/ .. _Installing Ruby: https://www.ruby-lang.org/en/documentation/installation -Atlas Compatibility -------------------- - -We recommend {+driver-short+} version 2.6.1 or later when using MongoDB Atlas. -This version has significant performance improvements for TLS connections, and -all Atlas connections use TLS. - -When running on JRuby and connecting to Atlas Free Tier, {+driver-short+} -version 2.6.4 or later and Java 8 or later are required. - -mongo_kerberos Compatibility ----------------------------- - -{+driver-short+} versions 2.7 and later are compatible with the -``mongo_kerberos`` gem version 2.1 of the :ref:`mongo_kerberos library `. - -JRuby and Kerberos Authentication -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -If you use the ``mongo_kerberos`` gem for Kerberos authentication with JRuby, -the JVM system property ``sun.security.jgss.native`` is set to ``true``. This -facilitates the use of the system cache of Ticket Granting Tickets (TGTs), such -as TGTs obtained with ``kinit``. - -This setting also affects any other use of the JGSS library, making any TGTs in -the system cache available for obtaining Kerberos credentials. - -.. include:: /includes/unicode-checkmark.rst - JRuby and TLS Connections ------------------------- diff --git a/source/includes/language-compatibility-table-ruby.rst b/source/includes/language-compatibility-table-ruby.rst index cbb715c0..10a303b2 100644 --- a/source/includes/language-compatibility-table-ruby.rst +++ b/source/includes/language-compatibility-table-ruby.rst @@ -9,13 +9,6 @@ - Ruby 3.0 - Ruby 2.7 - Ruby 2.6 - - Ruby 2.5 - - Ruby 2.4 - - Ruby 2.3 - - Ruby 2.2 - - Ruby 2.1 - - Ruby 2.0 - - Ruby 1.9 - JRuby 9.4 - JRuby 9.3 - JRuby 9.2 @@ -27,13 +20,6 @@ - |checkmark| - D - - - - - - - - - - - - - - - - |checkmark| - |checkmark| - D @@ -45,13 +31,6 @@ - |checkmark| - |checkmark| - D - - D - - - - - - - - - - - - - - |checkmark| - |checkmark| @@ -63,13 +42,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - - - - - - - - - - - - - |checkmark| - |checkmark| @@ -81,13 +53,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - - - - - - - - - - - - - - |checkmark| @@ -99,13 +64,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - D - - - - - - - - - - - - - |checkmark| @@ -117,13 +75,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - D - - D - - - - - - - - - - - |checkmark| @@ -135,13 +86,6 @@ - - |checkmark| - |checkmark| - - |checkmark| - - D - - D - - - - - - - - - - - |checkmark| @@ -153,13 +97,6 @@ - - |checkmark| - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - - - - - - - - - |checkmark| @@ -171,13 +108,6 @@ - - |checkmark| - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - D - - D - - - |checkmark| @@ -189,13 +119,6 @@ - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - D - - D - - D - - D - - - |checkmark| @@ -207,13 +130,6 @@ - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - - |checkmark| diff --git a/source/includes/mongodb-compatibility-table-ruby.rst b/source/includes/mongodb-compatibility-table-ruby.rst index 6d41ec55..37a1ef30 100644 --- a/source/includes/mongodb-compatibility-table-ruby.rst +++ b/source/includes/mongodb-compatibility-table-ruby.rst @@ -11,11 +11,6 @@ - MongoDB 4.4 - MongoDB 4.2 - MongoDB 4.0 - - MongoDB 3.6 - - MongoDB 3.4 - - MongoDB 3.2 - - MongoDB 3.0 - - MongoDB 2.6 * - 2.21 - |checkmark| @@ -25,11 +20,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - - - - - - - * - 2.19 to 2.20 - @@ -39,11 +29,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - - - - - - - * - 2.18 - @@ -53,11 +38,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - - - - - - - * - 2.17 - @@ -67,11 +47,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - - - - - - - * - 2.16 - @@ -81,11 +56,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - D - - D - - D - - D * - 2.14 to 2.15 - @@ -95,11 +65,6 @@ - |checkmark| - |checkmark| - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| * - 2.13 - @@ -109,11 +74,6 @@ - |checkmark| [#ocsp]_ - |checkmark| - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| * - 2.12 - @@ -123,11 +83,6 @@ - - |checkmark| - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| * - 2.11 - @@ -137,11 +92,6 @@ - - |checkmark| [#client-side-encryption]_ - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| * - 2.10 - @@ -151,11 +101,6 @@ - - |checkmark| [#srv-polling]_ [#client-side-encryption]_ - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| * - 2.6 to 2.9 - @@ -165,25 +110,6 @@ - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - * - 2.5 - - - - - - - - - - - - - - - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| - - |checkmark| .. [#ocsp] OCSP verification is implemented as of driver version 2.14. .. [#srv-polling] Polling of SRV records in sharded topologies is