Skip to content

Releases: mongodb/mongo-ruby-driver

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.

2.0.5

11 Jun 16:33
Compare
Choose a tag to compare
  • 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

1.12.3

29 Oct 17:14
Compare
Choose a tag to compare
  • RUBY-941: Fix BSON ObjectId validation.
  • Updates to tests for recent versions of the server

1.12.2

19 May 17:01
Compare
Choose a tag to compare
  • RUBY-904: Regex options not serialized correctly in bson extension
  • Fix variable scope in tcp_socket

2.0.4

14 May 09:48
Compare
Choose a tag to compare
  • RUBY-907: Error message parser throws TypeError
  • RUBY-908: Don't check in nil to connection pool
  • RUBY-906: Use host returned from #getaddrinfo

2.0.3

28 Apr 16:49
Compare
Choose a tag to compare
  • RUBY-889: Only use ssl options if :ssl is true
  • RUBY-890: Fix authentication sources and slight auth refactor.
  • RUBY-892: Don't raise an error if a non-existent collection is dropped.
  • RUBY-895: Raise error for malformed queries and don't send to the server.
  • RUBY-897: Print first 250 chars of query selector when logging and rescue inspect error.
  • RUBY-899: Cluster returns empty list of servers if there are none instead of nil.
  • RUBY-891: Topology refactor to use Single naming and semantics.
  • Auto test patched ruby versions on Travis (@nicolasleger)
  • Update collection namespace to show database first (@max-power)
  • Updates so test suite can run using SSL in Jenkins
  • Use #getaddrinfo to determine protocol in Address class
  • URI errors moved to appropriate directory

2.0.2

31 Mar 14:54
Compare
Choose a tag to compare
  • RUBY-884: require securerandom in scram
  • Slight SSL refactor
  • Log write commands as commands and not queries
  • Travis CI config changes
  • Include certs for SSL testing

1.12.1

31 Mar 09:59
Compare
Choose a tag to compare
  • Fix compile warnings in csasl
  • Avoid sharing sockets between forked processes (@eugeneius)
  • Require securerandom in scram (RUBY-884)