Skip to content

Releases: mongodb/mongo-ruby-driver

1.12.5

Choose a tag to compare

@estolfo estolfo released this 01 Dec 12:18

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

Choose a tag to compare

@estolfo estolfo released this 16 Nov 15:57

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

Choose a tag to compare

@estolfo estolfo released this 29 Oct 16:39
  • 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

Choose a tag to compare

@estolfo estolfo released this 16 Oct 16:21
  • 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

Choose a tag to compare

@durran durran released this 30 Sep 15:46
  • 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

Choose a tag to compare

@estolfo estolfo released this 10 Sep 19:18

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

2.1.0.rc0 Pre-release
Pre-release

Choose a tag to compare

@estolfo estolfo released this 24 Aug 20:22

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

2.1.0.beta Pre-release
Pre-release

Choose a tag to compare

@estolfo estolfo released this 06 Jul 11:03
  • 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

Choose a tag to compare

@estolfo estolfo released this 24 Jun 15:47
  • 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.

2.0.5

Choose a tag to compare

@estolfo estolfo released this 11 Jun 16:33
  • RUBY-914: Correct special query format when connected to mongos
  • RUBY-927: Use original hostname when verifying cert with ssl
  • RUBY-928: Implement #update method on Users View
  • RUBY-930: Fix Client#initialize documentation
  • RUBY-933: Fix passing of options to Aggregate and MapReduce operations
  • RUBY-934: Check if 0 bytes was read from a socket to avoid infinite read on a half-closed socket
  • RUBY-935: Fix Aggregate#explain
  • RUBY-936: Don't put the same instance into the connection pool
  • RUBY-937: Don't lose flags on read preference injection
  • RUBY-938: Use faster FIFO methods in queue (@cheald)
  • RUBY-939: Fix use of #eof on sockets (@cheald)
  • RUBY-940: Optimizations in logging (@cheald)
  • RUBY-943: Raise an exception if query fails
  • RUBY-945: Add #database_names and #list_databases methods to Client and #list_collections method to Database
  • RUBY-946: Use bulk write API for inserting GridFS files, allowing files larger than max bson size to be inserted