From 9d78fb5f2bcc09de4aeae1dce3f2bb59d65a8061 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Thu, 11 Jun 2026 15:34:33 -0600 Subject: [PATCH] RUBY-3811 deprecate server version 4.2 --- lib/mongo/server/description/features.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/server/description/features.rb b/lib/mongo/server/description/features.rb index ea4a4bfd8b..26104dde16 100644 --- a/lib/mongo/server/description/features.rb +++ b/lib/mongo/server/description/features.rb @@ -74,7 +74,7 @@ class Features # # If there are no currently-deprecated wire versions, this should be # set to an empty range (e.g. the EMPTY_RANGE constant). - DEPRECATED_WIRE_VERSIONS = EMPTY_RANGE + DEPRECATED_WIRE_VERSIONS = 8..8 # make sure the deprecated versions are valid if DEPRECATED_WIRE_VERSIONS.min && (DRIVER_WIRE_VERSIONS.min > DEPRECATED_WIRE_VERSIONS.max)