Skip to content

Releases: mongodb/mongo-ruby-driver

2.2.0

07 Dec 15:28
Compare
Choose a tag to compare

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

1.12.5

01 Dec 12:18
Compare
Choose a tag to compare

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

  • RUBY-703 Fix bson extension on Windows

2.2.0.rc0

16 Nov 15:57
Compare
Choose a tag to compare

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.

1.12.4

29 Oct 16:39
Compare
Choose a tag to compare
  • 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)

2.1.2

16 Oct 16:21
Compare
Choose a tag to compare
  • 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.

2.1.1

30 Sep 15:46
Compare
Choose a tag to compare
  • Count commands now cast to integers for 2.4 when doubles are returned.
  • Retry capabilities for sharded clusters have been improved. Users can now pass max_read_retries and read_retry_interval options to the client to configure these values. They default to 1 retry with a 5 second interval.

2.1.0

10 Sep 19:18
Compare
Choose a tag to compare

This release has all the changes in the beta and rc0 versions of 2.1.0 with the addition of the following changes:

  • RUBY-997 Add basic retry for failure scenarios
  • Less brittle monkey-patching in tests
  • RUBY-947 Force binary encoding for message fields
  • RUBY-1015 Fix UNIXSocket reference failure on Windows
  • Retry for #count and #distinct (@jonhyman)
  • RUBY-1012 Fix SSL reconnect after connection failure
  • RUBY-1016 Don't check 'ok' field in query response validation
  • Redact sensitive events and data
  • RUBY-1022 Don't check for error fields in query response validation
  • RUBY-839 Add embedded array to test doc
  • RUBY-1028 Various performance improvements
  • RUBY-1025 Make sure #collections_info returns all results
  • RUBY-1021 Redact sensitive data from options

2.1.0.rc0

24 Aug 20:22
Compare
Choose a tag to compare
2.1.0.rc0 Pre-release
Pre-release

This release candidate has the following bug fixes and features added since the beta version of 2.1.0:

  • RUBY-961 Remove server whose 'me' field does not match connect address
  • Documentation fixes (@dblock)
  • RUBY-964 Support String collection name as map reduce :out option
  • RUBY-965 Add #exists? to User:View
  • ServerSelector refactor
  • RUBY-883 Refactor Operations
  • RUBY-986 Try to connect to different protocol families (@agis-)
  • RUBY-983 Close socket leaked from initializing resolver
  • RUBY-984 Ensure OperationFailures are raised when doing bulk writes
  • Command Monitoring spec tests
  • RUBY-990 Allow assignment of logger per client
  • RUBY-951 Confirm that driver complies with Connection String spec
  • RUBY-991 Allow a configurable protocol query log string limit
  • RUBY-839 Evaluate 2.0 driver performance with 1.x performance
  • RUBY-981 Unix domain socket support (@agis-)
  • RUBY-995 Move parallel_scan method to Collection
  • Bulk write API refactor
  • RUBY-996 Add rubinius to travis
  • Fix max/min as query options
  • RUBY-999 Use constant-time hash comparison
  • Don't memoize logger in Loggable (@JoNyman)
  • RUBY-769 Comply with GridFS spec
  • RUBY-911 / RUBY-963 Add #with method on Collection taking new :read or :write option
  • RUBY-1006 Don't white-list query modifiers

2.1.0.beta

06 Jul 11:03
Compare
Choose a tag to compare
2.1.0.beta Pre-release
Pre-release
  • RUBY-886: Verify server certificates by default when ssl=true.
  • RUBY-888: Add max_time_ms as an option to CRUD operations.
  • RUBY-894: Ensure that the driver complies with the CRUD specification, includes adding many CRUD methods onto the Collection class.
  • RUBY-909: Make #parallel_scan available on a Collection.
  • RUBY-910: Add #close and #reconnect methods on a Client.
  • RUBY-912: Use electionId to detect stale primaries.
  • RUBY-916: Don't use a single global logger.
  • RUBY-926: Expose setting cursor flags to the public API.
  • RUBY-951: Confirm that the driver complies with the ConnectionString specification.
  • RUBY-948: Warn for unrecognized options in a URI instead of raising an Exception.
  • RUBY-959: Mark an unreachable mongos as Unknown, don't stop monitoring it or remove it from the Cluster.
  • RUBY-901: Handle Errno::ECONNREFUSED exceptions

2.0.6

24 Jun 15:47
Compare
Choose a tag to compare
  • RUBY-932: Update Server Discovery and Monitoring code so that Cluster doesn't have references to duplicate servers.
  • RUBY-949: Fix slaveOk bit logic for connections to mongos servers.
  • Test suite adjustments.
  • Update the way Server descriptions are compared.
  • Correct wire version range overlap check.
  • Initialize topologies to Unknown if :connect option is absent.