A summary of data about the Ruby ecosystem.

Recent Releases of https://github.com/mongodb/mongo-ruby-driver

https://github.com/mongodb/mongo-ruby-driver - 2.22.0

The MongoDB Ruby team is pleased to announce version 2.22.0 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new minor release in the 2.x series of MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.22.0 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.22.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

New Features

  • RUBY-3520 Sort option for updateOne and replaceOne (PR)

Bug Fixes

- Ruby
Published by mongodb-dbx-release-bot[bot] 3 months ago

https://github.com/mongodb/mongo-ruby-driver - 2.20.2

The MongoDB Ruby team is pleased to announce version 2.20.2 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new patch release in the 2.20.x series of the MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.20.2 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.20.2'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

  • RUBY-3694 Use correct CA when verifying OCSP endpoint (PR)

- Ruby
Published by mongodb-dbx-release-bot[bot] 7 months ago

https://github.com/mongodb/mongo-ruby-driver - 2.21.3

The MongoDB Ruby team is pleased to announce version 2.21.3 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new patch release in the 2.21.x series of the MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.21.3 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.21.3'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

  • RUBY-3694 Use correct CA when verifying OCSP endpoint (PR)

- Ruby
Published by mongodb-dbx-release-bot[bot] 7 months ago

https://github.com/mongodb/mongo-ruby-driver - 2.21.2

The MongoDB Ruby team is pleased to announce version 2.21.2 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new patch release in the 2.21.x series of the MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.21.2 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.21.2'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

Bug Fixes

- Ruby
Published by mongodb-dbx-release-bot[bot] 8 months ago

https://github.com/mongodb/mongo-ruby-driver - 2.21.1

Version 2.21.1 of the MongoDB Ruby Driver is now available. This is the latest patch release in the 2.21 series.

Install it via RubyGems at the command line:

$ gem install -v 2.21.1 mongo

Or via Bundler, in a Gemfile:

gem 'mongo', '2.21.1'

It includes the following bug fixes:

  • RUBY-3604 Fix a race condition in the authentication flow that could cause authentication to fail incorrectly when multiple simultaneous threads are attempting to authenticate. (PR by @jteich)
  • RUBY-3658 When a timeout is specified on the client, database, or operation, partial writes to the server are never completed, resulting in timeouts. (PR)

Full Changelog: https://github.com/mongodb/mongo-ruby-driver/compare/v2.21.0...v2.21.1

- Ruby
Published by mongodb-dbx-release-bot[bot] 10 months ago

https://github.com/mongodb/mongo-ruby-driver - 2.21.0

Version 2.21.0 of the MongoDB Ruby Driver is now available.

Release Highlights

  • RUBY-2523: Introducing "Client-Side Operations Timeout" (CSOT). Most timeout-related options have been deprecated and unified under a single, new timeout_ms option. Deprecated options include socket_timeout, wait_queue_timeout, wtimeout, max_time_ms, and max_commit_time_ms.
  • RUBY-3503: Bump maxWireVersion for server 8.0 support.
  • RUBY-3392 and RUBY-3457: Support for range v2 queries with queryable encryption, including a new trim_factor parameter.
  • RUBY-3463: Fixed connection issues in load-balanced topologies caused by cursors incorrectly releasing the connection between operations.

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 2.21.0 mongo

What's Changed

New Contributors

Full Changelog: https://github.com/mongodb/mongo-ruby-driver/compare/v2.20.1...v2.21.0

- Ruby
Published by mongodb-dbx-release-bot[bot] over 1 year ago

https://github.com/mongodb/mongo-ruby-driver - 2.20.1

Version 2.20.1 of the MongoDB Ruby Driver is now available.

Release Highlights

This patch release includes one bug fix, and one documentation update:

  • RUBY-3496 Certain retryable errors were not being retried when legacy retries were enabled. Thank you to Joe Lim for the PR!
  • RUBY-3434 Documentation was added/improved to suggest how to configure Mongoid for use with forking web servers. Thank you to Johnny Shields for the PR!

Documentation

Documentation is available at MongoDB.com.

Installation

You may install this version via RubyGems, with:

gem install --version 2.20.1 mongo

What's Changed

Full Changelog: https://github.com/mongodb/mongo-ruby-driver/compare/v2.20.0...v2.20.1

- Ruby
Published by mongodb-dbx-release-bot[bot] over 1 year ago

https://github.com/mongodb/mongo-ruby-driver - 2.20.0

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:

- Ruby
Published by jamis almost 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.19.3

This is a patch release that adds support for:

- Ruby
Published by jamis over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.16.4

This is a patch release that fixes the following issue:

- Ruby
Published by comandeo over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.17.4

This is a patch release that fixes the following issue:

- Ruby
Published by comandeo over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.18.3

This is a patch release that fixes the following issue:

- Ruby
Published by comandeo over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.19.2

This is a patch release that fixes the following issue:

- Ruby
Published by comandeo over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.19.1

This patch release in the 2.19 series fixes the following issue:

RUBY-3284 Connection Pool does not open new connections when needed

- Ruby
Published by comandeo over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.19.0

This feature release of the Ruby driver supports MongoDB version 7.0. It includes the following new features:

The following issues were addressed:

The following minor improvements were made:

- Ruby
Published by comandeo over 2 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.18.0

This feature release of the Ruby driver supports MongoDB version 6.0. It includes the following new features:

The following minor improvements were made:

The following issues were addressed:

- Ruby
Published by p-mongo over 3 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.18.0.beta1

This beta release of the Ruby driver supports MongoDB version 5.2 and 6.0. This release can be used for early testing of new features, but are not suitable for production deployments.

Please note that MongoDB 6.0 binaries are currently available only as release candidates. Release candidates can be used for early testing of new features, but are not suitable for production deployments.

This release includes the following new features:

  • Added support for queryable encryption.
  • Added support for Azure Key Vault, Google Cloud Key Management, and any
    KMIP compliant Key Management System to be used as master key storage for
    client side encryption.

Following issues were also implemented or fixed:

- Ruby
Published by comandeo over 3 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.16.2

This bug fix release in the 2.16 series repairs a regression manifesting in Mongoid when using map_reduce and passing read preference:

- Ruby
Published by p-mongo almost 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.17.0

This feature release of the Ruby Driver adds support for MongoDB server 5.1.

This release includes the following new features:

This release removes support for Ruby versions 2.3 and 2.4. The minimal required Ruby version is now 2.5. Read more about this change here.

This release also removes support for MongoDB versions older than 3.6. Read more about this change here.

The following bugs were fixed:

The following non-breaking changes were made:

- Ruby
Published by comandeo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.16.1

This is a patch release in the 2.16 series.

The following bugs were fixed:

The following non-breaking changes were made:

- Ruby
Published by comandeo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.16.0

This release adds the following new feature:

  • Load balancer support.

This release of the Ruby driver deprecates support for MongoDB server versions below 3.6.

- Ruby
Published by comandeo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.13.3

This patch release in the 2.15 series fixes the following issue:

- Ruby
Published by p-mongo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.15.1

This patch release in the 2.15 series fixes the following issue:

- Ruby
Published by p-mongo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.16.0.alpha1

This release adds the following new feature:

  • Experimental load balancer support.

The following minor improvement has been made:

  • GridFS file retrieval no longer requires index creation privileges when the indexes already exist, and is thus usable with users that have only read permissions.

This release of the Ruby driver increases the minimum required Ruby versionto 2.4.

- Ruby
Published by p-mongo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.15.0

This release adds the following major new features:

  • Ruby 3.0 support
  • Ability to specify server API parameters
  • Support for Zstandard and Snappy wire protocol compression
  • Query cache middleware is now available in the driver
  • Support for time series options when creating collections
  • Experimental support for MongoDB Atlas Serverless when not using a load balancer

Please consult the release notes in the documentation for the complete list of changes.

- Ruby
Published by p-mongo over 4 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.14.0

This feature release of the Ruby MongoDB driver includes the following new features:

The following minor improvements were made:

The following bugs were fixed:

Support for Ruby versions 2.3 and 2.4 has been deprecated in this release. Read more about this change here.

- Ruby
Published by p-mongo over 5 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.13.2

This patch release in the 2.13 series improves test coverage in the driver and repairs one fault in diagnostic code where a nonexistent constant was referenced.

- Ruby
Published by p-mongo over 5 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.11.6

- Ruby
Published by egiurleo over 5 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.13.0

This feature release of the Ruby Driver adds support for MongoDB server 4.4 features.

The following changes have been made since 2.13.0.rc1:

The following bugs have been fixed:

- Ruby
Published by egiurleo over 5 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.12.1

This feature release of the Ruby driver for MongoDB adds two major features:

  • Client-side encryption
  • Extended JSON parsing

The following notable changes and bug fixes have been made since 2.12.0.rc0:

This release of the driver includes all bug fixes that are part of the 2.10-stable and 2.11-stable branches.

This release replaces version 2.12.0, which was erroneously created from the master tree and has been removed.

- Ruby
Published by egiurleo almost 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.11.4

This patch release in the 2.11 driver series improves performance of the driver by not creating redundant sockets during address resolution.

- Ruby
Published by p-mongo almost 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.11.2

This patch release in the 2.11 driver addresses an issue where the driver would stop monitoring the deployment when the nodes in the deployment changed their addresses. The full list of notable changes is below:

- Ruby
Published by p-mongo about 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.11.1

This patch release in the 2.11 series fixes the following issue:

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.9.2

This patch release in the 2.9 series fixes the following issues:

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.10.1

This patch release in 2.10 series improves diagnostics provided by the driver when operations fail on servers or due to network issues. The following tickets have been fixed:

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.10.0

This feature release provides support for MongoDB server 4.2 features. The following issues have been addressed since the 2.10.0.rc0 release:

For complete list of changes since driver version 2.9, please refer to 2.10.0.rc0 release notes.

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.9.1

This bug fix release in the 2.9 series fixes one additional issue discovered since 2.9.1.rc0 release:

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.10.0.rc0

This is a preview of 2.10.0 release, incorporating the following major new features:

The following minor improvements were made:

The following bugs have been fixed:

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.9.0

This release of the Ruby driver adds the following major features:

  • A rewrite of the connection pool code with improved monitoring, compliant with CMAP specification
  • A modern retryable reads implementation compliant with cross-driver retryable reads specification, enabled by default
  • Modern retryable writes are enabled by default
  • Legacy retryable writes can be disabled in most cases
  • Ability to specify multiple root certificates to the driver
  • Ability to pass private key and certificate to driver via URI options

This release also officially deprecates support for Ruby versions less than 2.3. This release and version 2.10.0 will continue supporting Ruby 1.9-2.2, and versions 2.11.0 and newer will require at least Ruby 2.3.

Please review 2.9.0.rc0 and 2.9.0.rc1 for detailed lists of changes made. This release has one change since 2.9.0.rc1 to add retryReads URI option, which was unintentionally omitted in the initial implementation of retryable reads.

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.9.0.rc1

This is a second release candidate for the upcoming 2.9.0 release which primarily improves TLS certificate and private key handling in various environments. The following notable tickets have been resolved:

We expect to release 2.9.0 final in about 1-2 weeks.

- Ruby
Published by p-mongo over 6 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.8.0

This feature release of the Ruby driver improves connection- and authentication- related diagnostics as well as streamlines handshake and authentication code.

The following issue has been fixed since 2.8.0.rc0:

Please review 2.8.0.rc0 release notes for the full list of changes.

- Ruby
Published by p-mongo almost 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.7.2

This is a maintenance release in the 2.7.x series. It fixes one issue in 2.7.1 potentially affecting applications' test suites:

- Ruby
Published by p-mongo almost 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.7.0

This feature release of the Ruby driver features an improved SDAM implementation, unified URI options and a preview of the convenient API for transactions.

Please refer to release notes for 2.7.0.rc0 for the complete list of new features and changes.

2.7.0 fixes the following issue identified during the RC process:

- Ruby
Published by p-mongo about 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.7.0.rc0

This preview of the upcoming 2.7.0 feature release of the Ruby driver has the following major new features:

  • RUBY-1431 SDAM and Server Selection Spec Compliance. Large portions of SDAM code have been rewritten to bring the driver in compliance with published MongoDB driver specifications. No changes to applications using MongoDB are required, however applications should see the following benefits:
    • Faster server selection (including during failover in replica sets)
    • Faster client initialization
    • Better concurrency as more I/O is now done in background threads
    • Improved logging and diagnostics of server discovery, topology changes and removal of servers from topology
    • Better resiliency to connection and authentication errors
    • SDAM events are now published in a more consistent manner
    • Monitoring connections no longer authenticate, lessening load on the cluster
    • Topology and server description objects are no longer mutated in place, simplifying change tracking for applications/APM implementors
    • Locks have been added to synchronize topology updates
    • It is possible to wait for background monitoring threads to terminate when closing the client
  • RUBY-1559 Unified URI Options. This adds support for a multitude of options in MongoDB URIs to the driver, in a way consistent with other MongoDB-maintained drivers.
  • RUBY-1574 Convenient API for Transactions. This adds a with_transaction method to session objects to provide an easier way to retry operations in a transaction until they commit successfully.

The following minor improvements have also been made:

The following bugs have been fixed:

As well, a number of improvements have been made to tutorial and API documentation of the driver. Full list of fixed issues may be found here.

This version of the driver has been tested with Ruby 2.6.

Lacking major issues we expect to release 2.7.0 final in about a week.

- Ruby
Published by p-mongo about 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.6.2

This patch level release of the ruby driver has the following changes:

  • RUBY-1426 Don't remove unknown secondaries servers from the topology

- Ruby
Published by saghm over 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.6.1

This patch level release of the ruby driver has the following changes:

  • RUBY-1364 Fix bad performance reading large documents over SSL
  • RUBY-1384 Document Session#start_transaction
  • RUBY-1385 Correctly handle read preference in session/transaction code
  • RUBY-1391 Return correct OpenSSL error message rather than a generic one

- Ruby
Published by saghm over 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.6.0

This is the Ruby driver release supporting the 4.0 version of the MongoDB server.

It has the following changes and new features:

  • RUBY-1267 Automate Atlas connectivity tests
  • RUBY-1288 Deprecate MongoDB-CR
  • RUBY-1289 Implement SASLPrep
  • RUBY-1290 GridFS MD5 digest must be optional
  • RUBY-1293 SCRAM-SHA-256 Support
  • RUBY-1298 Mongo::Client created with ipv6 address encounters error when duplicated via #with
  • RUBY-1317 Implement Transactions spec
  • RUBY-1323 Update SCRAM-SHA-256 implementation and tests for spec change
  • RUBY-1327 Initial aggregate command for a change stream should not be retried
  • RUBY-1331 Errors raised by drivers should include codeName string from server response
  • RUBY-1333 More errors should be retryable
  • RUBY-1337 mongo cannot detect primary after upgrading from 2.4.3 to 2.5.x
  • RUBY-1339 Support nameOnly option in listCollections command
  • RUBY-1340 Provide Transactions example for Docs
  • RUBY-1341 Validations for read mode
  • RUBY-1342 Add helpers and options for Change Streams Follow-on Work
  • RUBY-1346 Resync retryable writes tests
  • RUBY-1347 Implicit sessions must not be used with parallelCollectionScan
  • RUBY-1354 Implement new count API
  • RUBY-1362 Implement SASLprep for Ruby < 2.2
  • RUBY-1365 Update ChangeStream spec to detail usage of startAtOperationTime
  • RUBY-1369 Verify change stream #next resume behavior
  • RUBY-1370 Add API-level documentation for restriction of geo commands in count helpers
  • RUBY-1373 Implement startAtOperationTime

- Ruby
Published by saghm over 7 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.5.3

This patch release has one change:

  • RUBY-1336 Ensure that system collections are not returned from listCollections command.

- Ruby
Published by estolfo almost 8 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.5.2

This patch level release of the ruby driver has the following changes:

  • RUBY-1279 Refactor Operations
  • RUBY-1297 Update server selection tests for read preferences with sharded clusters
  • RUBY-1302 Prohibit using unacknowledged writes with explicit sessions
  • RUBY-1304 Resync GridFS tests to add test for legacy GridFS, where no filename was set
  • RUBY-1313 Deprecate maxScan query option
  • RUBY-1314 Deprecate snapshot option
  • RUBY-1315 Remove ping before selecting server for a write
  • RUBY-1307 Force symbolized config keys
  • RUBY-1321 Update documentation to reflect Symbol deprecation
  • RUBY-1329 NoMethodError when executing an upsert in a bulk write with write_concern w: 0

- Ruby
Published by estolfo almost 8 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.5.1

  • RUBY-1243 Test wire version overlap logic
  • RUBY-1283 Enable and configure TCP keepalive by default.
  • RUBY-1300 Decrease likelihood of implicit session leaks.
  • RUBY-1278 Verify that percents are encoded in connection string creds and rsync connection string common driver tests
  • RUBY-1294 Associate a session pool with a cluster instead of a client.
  • RUBY-1291 Use an ENV variable to skip tests relying on external connection.
  • RUBY-1284 Require Forwardable module explicitly in Error::Operation.
  • RUBY-1285 Use socket address to initialize ipv4 resolver when host is localhost.
  • RUBY-1275 Add pipeline example to ChangeStream spec (for docs)
  • Use EventSubscriber singleton and common subscribed client in tests

- Ruby
Published by estolfo about 8 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.5.0

This is the Ruby driver release supporting the 3.6 version of the MongoDB server.

Please note that support for MongoDB server version 2.4 has been dropped with this release.

Also note that we are no longer testing the driver with JRuby on our continuous integration testing platform. We do, however, continue to test with JRuby on TravisCI and encourage users to still report any issues using JRuby with the driver.

This version has all the changes documented for version 2.5.0.beta in addition to the following:

  • RUBY-1205 Support version 3.6 of the MongoDB server
  • RUBY-1246 Add support for a "comment" parameter to the aggregate command
  • RUBY-1254 Improve server compatibility error messages for wire version checks
  • RUBY-1263 Make server description update logging less noisy
  • RUBY-1264 Find and aggregate explain should also send session id
  • RUBY-1230 Causally Consistent Reads support
  • RUBY-1245 Implement Initial DNS Seedlist discovery spec
  • RUBY-1242 Implement Database Enumeration spec (@ryuichi7)
  • RUBY-1229 Support retryable writes
  • RUBY-1234 Improve MapReduce API
  • RUBY-1241 Don't cache IP addresses and update logic for determining primary member
  • RUBY-1273 Implement #inspect on ChangeStream, Session, ServerSession, SessionPool
  • RUBY-1237 Drop support for MongoDB 2.4
  • RUBY-741 Support minPoolSize and maxIdleTimeMS
  • Improve and update Mongo::Client options documentation
  • URI unescape unix domain socket path (@Fudoshiki)

- Ruby
Published by estolfo about 8 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.5.0.beta

This is a beta release of the upcoming 2.5.0 driver version supporting MongoDB server version 3.6.
It is not recommended for production use but please try it out in your testing environments with development releases of server 3.6.

It has the following changes and new features:

  • RUBY-1240 Fix warning message about forwarding a private method.
  • RUBY-1239 Send seeds as last argument to ReplicaSet Topology #new.
  • RUBY-1236 Parse localLogicalSessionTimeoutMinutes from isMaster response
  • RUBY-1235 Fix documentation for Collection#find
  • RUBY-1228 Support ChangeStreams
  • RUBY-1227 Check both min_pool_size and max_pool_size and raise a more helpful error.
  • RUBY-1226 Implement drivers session API
  • RUBY-1225 Support OP_MSG
  • RUBY-1224 Array update improvements
  • RUBY-1216 Support OP_COMPRESSED

- Ruby
Published by estolfo over 8 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.4.3

  • RUBY-1214 Add index hint to aggregation and non-materialized views.
  • RUBY-1220 Username and password must be URI-escaped.
  • RUBY-1222 Driver does not properly fall back to IPv4 if IPv6 is not available.
  • RUBY-1223 Make SDAM debug logging to be less noisy. (@rinmu)
  • RUBY-1125 Document how connection pooling works in the driver.

- Ruby
Published by estolfo over 8 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.4.2

This patch release has the follow changes:

  • RUBY-1208 Verify that time remaining is positive or nil when checking if socket connect timed out.
  • RUBY-1196 Resync CRUD spec tests and adjust n_modified to be nil on legacy updates to comply with spec.
  • RUBY-1206 Convert connect type to Symbol so that Strings can be handled (which result from parsing mongoid config files)
  • RUBY-1211 Set Socket KeepAlive (@mikeantonelli)
  • RUBY-1212 Don't ping when selecting server for count or distinct operations.
  • RUBY-1201 Raise error when instantiating client and min pool size is greater than provided or default max size
  • Fix warnings (@amatsuda)
  • Improve the recoverability of failed reads and writes due to network issues (@reidmorrison)
  • Fix SSL options typo (@andreychernih)

- Ruby
Published by estolfo almost 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.4.1

This patch level release has the following changes:

  • Require at least bson gem version 4.2.1 for important fix on BigEndian systems RUBY-1173
  • RUBY-1188 Improve SDAM test mocking to not require localhost:27017 to be unreachable
  • Ensure that collation option on a Collection::View is applied to methods called on the View. This is a necessary change for Mongoid to support collations.

- Ruby
Published by estolfo about 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.4.0

This release supports the 3.4 version of the MongoDB server. The following changes are included in this minor release in addition to those in 2.4.0.rc0 and 2.4.0.rc1:

  • Depend on ~> bson 4.2.0
  • Fix roundtrip units mismatch (@jarthod)
  • RUBY-1171 Don't require username for X509 authentication
  • RUBY-1174 Update maxStaleness spec implementation
  • RUBY-1136 Allow platform details to be added to Client handshake doc.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.3.1

This patch release has the following bug fixes:

  • RUBY-1146 Fix Command Monitoring query formatting for queries to mongos.
  • RUBY-1147 Fix batch size and limit for find commands.
  • RUBY-1163 Fix creating indexes on subdocument fields in server < 2.6

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.4.0.rc1

This second release candidate of version 2.4.0 has the following changes:

  • Ensure socket timeout is applied for reads (@wandenberg)
  • RUBY-1148 Check operations for collation String keys as well as Symbols.
  • Deprecate default socket timeout constant, as it was not effective anyway.
  • RUBY-1120 Ensure that socket read timeouts are effective.
  • RUBY-1142 Allow SSL certs to be specified as files, Strings, or file paths (@nessche)
  • RUBY-1146 Fix Command Monitoring query formatting for queries to mongos.
  • RUBY-1147 Fix batch size and limit for find commands.
  • Fix warnings when in verbose mode. (@375gnu)
  • RUBY-1163 Fix creating indexes on subdocument fields in server < 2.6
  • Depend on bson gem >= 4.2.0.rc1

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.4.0.rc0

This release candidate contains support for MongoDB Server version 3.4

It contains the following new features:

  • RUBY-1095 Support maxTimeMS option in parallelScan helper.
  • RUBY-1115 Support sending writeConcern for commands that write.
  • RUBY-1140 Add TLS SNI support (MRI only)
  • RUBY-1133 Allow new option, max_staleness, so users can set a limit on acceptable staleness of a secondary for a read.
  • RUBY-1126 Support collation option for operations.
  • RUBY-1136 Implement the MongoDB Handshake protocol.
  • Depend on bson gem 4.2.0.rc0 so that Decimal128 objects are supported.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.3.0

  • RUBY-1122 Change server type to unknown when authentication fails.
  • RUBY-1092 Add option to check keys in inserted documents.
  • RUBY-1104 Automatically kill cursors when they aren't exhausted.
  • RUBY-1105 Unacknowledged writes should use legacy opts, not write commands.
  • RUBY-1111 Support custom GridFS file ids
  • RUBY-1130 Deprecate previous GridFS API.
  • RUBY-1132 Ensure that read preference is applied to #count and #distinct.
  • RUBY-1083 Support 'expire_after_seconds' in addition to 'expire_after' in Index#View
  • RUBY-1135 Only allow local_threshold to be configurable at the Mongo::Client level.
  • Incorporate Ruby docs in repository
  • General Improvements to classes and tests.
  • Depend on bson >= 4.1 so that BSON::Config::validating_keys? is an option.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.7

This patch release has the following bug fixes:

  • RUBY-1100 Ensure that connecting block succeeded or disconnect socket.
  • Don't make pry a gem dependency
  • More robust tests

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.6

This patch release has the following fixes and improvements:

  • Add dependency on pry, which is required by the mongo_console (@pvalena)
  • Make tests more robust. Don't assume which host and port is the primary, adjust test client options.
  • Fix parsing authSource option in URI (@Soulou)
  • Ensure auth options are properly parsed in URI and make them case-insensitive.
  • RUBY-1101 Check if a SSL monitor socket is connectable before connecting it.
  • Retry a monitor's ismaster call once upon socket error.
  • RUBY-1112 Get auth mechanism by calling ismaster on a socket when it's being connected instead of relying on the server's metadata.
  • RUBY-1121 Validate usersInfo command response before parsing it.
  • Ensure that a socket is disconnected when auth fails.
  • RUBY-1117 Validate a response's id against the expected id (request id) when writing and reading off a socket. Disconnect a socket if an error was raised while it was used. (@jarthod and @elhu)
  • RUBY-1100 Fix random authentication failures leading to not authorized errors: don't share SHA1 objects between threads.

- Ruby
Published by estolfo over 9 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.5

This release has the following bug fixes:

  • Install mongo_console again (@voxik)
  • RUBY-1101 Fix 'Socket is nil' error when primary in replicaset is shut down and using SSL.
  • Alias #kill_cursors to #close_query on a Collection::View
  • RUBY-1092 Update #to_bson method signatures for bson 4.1 API.

- Ruby
Published by estolfo almost 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.4

The following bug fixes are included in this release:

  • RUBY-1090 Ensure that cursor type is applied to find commands.
  • RUBY-1093 Ensure that negative limits are applied to find commands.

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.3

This patch level release has the following bug fixes and changes:

  • RUBY-1086 Ensure that error is raised when reply from server has the cursor not found flag.
  • RUBY-1087 Always try to add hosts reported by the primary description.
  • RUBY-1089 Fix counts in BulkWrite::Result
  • RUBY-1085 Ensure that all upserted and inserted ids are included in BulkWrite::Result
  • Driver Benchmarking tests are added to repository. Note that data files are not included in the driver repository.
  • Allow :scram to be set as authentication mechanism in the URI. (@mattberther)
  • New SDAM yaml test added - tests scenario in RUBY-1087.

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.2

This version has a few changes from users and bug fixes:

  • Support passing IO objects to Grid::File and lazily read from them. @janko-m
  • Remove unnecessary string allocation in GridFS Read Stream @janko-m
  • Don't store authenticator on connection instance.
  • MONGOID-4209 Test to ensure distinct always returns an array (even if no results)
  • Add more error messages indicating an operation can be retried. @jonhyman
  • RUBY-1077 Consider setVersion and electionId when detecting stale primaries
  • RUBY-1079 Update documentation for Collection::View#count
  • RUBY-1082 Account for when write concern is nil in GridFS write stream
  • RUBY-1081 Represent write concern options keys as Symbols and values as Strings or Integers
  • RUBY-1078 Use default max message size when value is nil. @jonhyman

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.0

This is the general release of MongoDB Ruby driver version 2.2.0, which supports MongoDB server version 3.2.

It has the changes listed in the 2.2.0.rc0 release as well as the following:

  • Update SDAM tests
  • Allow tests to run without requiring mongod to be started with the --auth flag
  • Stop monitor on server garbage collection
  • Scope connection pool to cluster

- Ruby
Published by estolfo about 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 1.12.5

This release has one change - a fix to the bson extension so it can build on Windows

  • RUBY-703 Fix bson extension on Windows

- Ruby
Published by estolfo over 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.2.0.rc0

This is the first release candidate of MongoDB Ruby driver version 2.2.0. It has full support for the upcoming MongoDB server version 3.2.

The following new features and changes are included:
RUBY-1033 Support new commands for find, getMore, and killCursors
RUBY-1009 Deprecate eval helpers
RUBY-1008 Change showDiskLoc to showRecordId
RUBY-1034 Support partial indexes
RUBY-1050 Ensure spec compliance for unacknowledged write concerns.
RUBY-1038 Support ReadConcern
RUBY-1036 Support bypassDocumentValidation option
RUBY-1037 Support sending write concern to a findAndModify command
RUBY-1055 Support creating a collection with options
RUBY-1064 Add option maxAwaitTimeMS on getMore commands

The following performance improvements have been made:
RUBY-1019, RUBY-1046, RUBY-1028 Performance improvements. Notably, usage of the bson 4.0, which uses byte buffers instead of strings.

- Ruby
Published by estolfo over 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 1.12.3

  • RUBY-941: Fix BSON ObjectId validation.
  • Updates to tests for recent versions of the server

- Ruby
Published by estolfo over 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 1.12.4

  • RUBY-1008: Update tests for mongodb 3.2
  • RUBY-1009: Deprecate eval helper
  • RUBY-1007: Use client's op_timeout or the default when refreshing ping time
  • RUBY-982: Add MongoReplicaSetClient#reconnect method
  • RUBY-1066: Don't override previously-defined Hash#assert_valid_keys (@TiteiKo)

- Ruby
Published by estolfo over 10 years ago

https://github.com/mongodb/mongo-ruby-driver - 2.1.2

  • RUBY-1053 Fixes to retry behavior. (@jonhyman)
  • RUBY-1051 Fix for Operation Result class.
  • RUBY-1054 Don't apply inherited read preference for commands.
  • RUBY-1052 Use connect_timeout setting as the timeout for Server Monitor sockets.
  • Ensure that only a find one is performed on a GridFS files collection when checking if it's empty.

- Ruby
Published by estolfo over 10 years ago