Skip to content

RUBY-3424 Prep for 2.20 #2852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 28, 2024
Merged

RUBY-3424 Prep for 2.20 #2852

merged 5 commits into from
Mar 28, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Mar 18, 2024

Preparing for the 2.20 release. I probably did not need to deprecate 2.7 and JRuby 9.2, and add JRuby 9.4, in this release, but I did it anyway. :) The effort involved was minimal.

N.B.: The two failing specs are known and will be addressed in RUBY-3423 (related to rangePreview on latest server).

Proposed release announcement:

Ruby Driver 2.20.0 Released

Version 2.20.0 of the Ruby driver for MongoDB is released. This adds the following new features:

  • Connection strings no longer require a slash between the hosts and the options. E.g., "mongodb://example.com?w=1" and "mongodb://example.com/?w=1" are both valid connection strings now. (https://jira.mongodb.org/browse/RUBY-3329)
  • Container runtime and orchestration metadata for the client environment are now sent to the server for analytics purposes. (https://jira.mongodb.org/browse/RUBY-3298)
  • When connecting to a CosmosDB (Azure) or DocumentDB (Amazon) instance, a warning message will now be logged. (https://jira.mongodb.org/browse/RUBY-3296)
  • When attempting a retry of a read or write operation in a sharded topology, the retry will be attempted on a different mongos instance, if possible. (https://jira.mongodb.org/browse/RUBY-2748)
  • Add support for the newly-released Ruby-BSON version 5.0.
  • Support for Ruby 2.5 and 2.6 has been discontinued. Support for Ruby 2.7 and JRuby 9.2 has been deprecated, and will be discontinued in a future driver version. Support for JRuby 9.4 has been added.

This release also fixes the following user-facing issues:

@jamis jamis marked this pull request as ready for review March 19, 2024 22:28
@jamis jamis requested a review from comandeo-mongo March 19, 2024 22:28
@jamis jamis merged commit 74e4e38 into mongodb:master Mar 28, 2024
@jamis jamis deleted the release-2.20 branch March 28, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants