Releases: mongodb/mongo-ruby-driver
2.16.0
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.
2.15.1
This patch release in the 2.15 series fixes the following issue:
2.14.1
This patch release in the 2.14 series fixes the following issues:
2.13.3
This patch release in the 2.15 series fixes the following issue:
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.
2.15.0.alpha
This is a preview release for the upcoming 2.15 version.
Major new features of the 2.15 driver version are:
- RUBY-2429 Versioned MongoDB API
- RUBY-1682 Support for Zstandard compression
- RUBY-2439 Support for Snappy compression
- RUBY-2411 Query cache middleware moved from Mongoid to the driver and is usable in applications that do not use Mongoid
The following minor improvements have been made:
- RUBY-2509 Expose server error code name in OperationFailure exception message
- RUBY-1387 Applications can tweak SSLContext used by the driver
- RUBY-2458 Link heartbeat succeeded/failed to started events
- RUBY-2463 Enforce timeout on socket closes
- RUBY-2520 estimated_document_count uses the $collStats aggregation pipeline stage Instead of count command on 5.0+ servers
- RUBY-2444 Remove generic SSL messaging w.r.t. server configuration
- RUBY-2459 Include connection purpose in platform metadata
2.14.0
This feature release of the Ruby MongoDB driver includes the following new features:
- RUBY-2130 Move the query cache into the driver and improve its implementation
- RUBY-2093 Non-stapled OCSP Support
- RUBY-2211 Atlas Data Lake support: Use namespace returned from find command in getMore
- RUBY-2020 Set explain verbosity from Mongo::Collection::View::Explainable
- RUBY-2346 Mixed case read preference tag names are now supported
The following minor improvements were made:
- RUBY-1524 Driver session pools are now cleared when reconnecting the client
- RUBY-2399 Provide better diagnostics when inserting non-hashes
- RUBY-2349 estimated_document_count now raises an exception when it is given find conditions
- RUBY-2419 Eliminated driver spamming Server description for address changed from 'standalone' to 'standalone' log messages
- RUBY-2299 Support per-operation write concern for database and collection write methods
- RUBY-2356 Set default logger level to info
- RUBY-2357 Standardize on STDOUT over $stdout
- RUBY-2289 Display monitoring state in client summary
- RUBY-1932 Specify timeouts for DNS queries for SRV URIs
The following bugs were fixed:
- RUBY-2421 Auth mechanism properties not downcased when client is created with host and Ruby options with symbol key
- RUBY-2345 Validate document size on pre-3.6 servers
- RUBY-2166 Mark servers unknown when connections experience network errors during setup
- RUBY-1632 Handle bogus/invalid read concern sub-options
Support for Ruby versions 2.3 and 2.4 has been deprecated in this release. Read more about this change here.
2.13.2
2.14.0.rc1
This is a preview release of the next feature release of the Ruby MongoDB driver.
This release includes the following new features:
- RUBY-2130 Move the query cache into the driver and improve implementation
- RUBY-2093 Non-stapled OCSP Support
The following non-breaking changes were made:
- RUBY-2299 Support per-operation write concern for database and collection write methods
- RUBY-1632 Handle bogus/invalid read concern sub-options
- RUBY-2356 Set default logger level to info
- RUBY-2357 Standardize on STDOUT over $stdout
- RUBY-2289 Display monitoring state in client summary
- RUBY-1932 Specify timeouts for DNS queries for SRV URIs
- RUBY-2346 Tag names are downcased when given in URI options
- RUBY-2421 Auth mechanism properties not downcased when client is created with host and Ruby options with symbol key
- RUBY-2166 Mark servers unknown when connections experience network errors during setup
- RUBY-2020 Set explain verbosity from Mongo::Collection::View::Explainable
- RUBY-2387 Mark operation result as a public API
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.