Recent Releases of https://github.com/mongodb/mongo-ruby-driver
https://github.com/mongodb/mongo-ruby-driver - 2.1.1
- 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_retriesandread_retry_intervaloptions to the client to configure these values. They default to 1 retry with a 5 second interval.
- Ruby
Published by durran over 10 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.1.0
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
- Ruby
Published by estolfo over 10 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.1.0.rc0
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
- Ruby
Published by estolfo over 10 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.1.0.beta
- 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
- Ruby
Published by estolfo over 10 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.6
- 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.
- Ruby
Published by estolfo over 10 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.5
- 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
- Ruby
Published by estolfo over 10 years ago
https://github.com/mongodb/mongo-ruby-driver - 1.12.2
- RUBY-904: Regex options not serialized correctly in bson extension
- Fix variable scope in tcp_socket
- Ruby
Published by estolfo almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.4
- RUBY-907: Error message parser throws TypeError
- RUBY-908: Don't check in nil to connection pool
- RUBY-906: Use host returned from #getaddrinfo
- Ruby
Published by estolfo almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.3
- 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
- Ruby
Published by estolfo almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.2
- 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
- Ruby
Published by estolfo almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - 1.12.1
- Fix compile warnings in csasl
- Avoid sharing sockets between forked processes (@eugeneius)
- Require securerandom in scram (RUBY-884)
- Ruby
Published by estolfo almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.1
- RUBY-882: Documents now properly generate missing ids on insert.
- Ruby
Published by durran almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - 2.0.0
The 2.0.0 release of the driver is a rewrite and provides absolutely no backwards compatibility.
Please see the new documentation for usage here.
- Ruby
Published by durran almost 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v2.0.0.beta
This is a complete rewrite of the driver with many backwards incompatible changes. Please see the new API documentation for the new API.
- Ruby
Published by durran about 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.12.0
This release has no significant changes since the last release candidate.
The changes that went into release candidates 0, 1, and 2 were:
- Make sure to populate error code for all versions of the server (RUBY-842)
- Remove use of cursorInfo in tests
- Lock i18n gem version because it no longer supports Ruby version 1.8.7
- Allow alternate namespace for cursors (RUBY-844)
- Update for server changes to listCollections and listIndexes (RUBY-843)
- Replica Set test suite changes (RUBY-800)
- Documentation updates (RUBY-837)
- Ensure that a socket is always checked in after sending a message with gle (@cheald)
- Allow symbol keys in aggregation pipeline (RUBY-804)
- Fix using aggregation cursor option when connected to a replica set (RUBY-813)
- Don't raise an exception from #active? on a connection (RUBY-813)
- Fix unix sockets (RUBY-836)
- Provide a descriptive error when an invalid auth mechanism is specified (RUBY-735)
- Support Unix domain socket path in URI (RUBY-744)
- Support for SCRAM-SHA-1 auth mechanism (RUBY-791)
- Adjustments to server selection according to read preference (RUBY-801)
- Respect read preferences when running 'text' command (RUBY-803)
- Use new listCollections command when getting list of collection names (RUBY-805)
- Use new listIndexes command when getting index information (RUBY-806)
- Allow auth mechanism properties in URI (RUBY-812)
- Support readPreferenceTags in URI (RUBY-832)
- Support SCRAM-SHA-1 authentication with copy_db command (RUBY-835)
- Get rid of compile warnings in cbson (RUBY-760) (@sb8244)
- Set a default op_timeout value to 20 seconds and return false from MongoClient#active if OperationFailure is raised. (RUBY-831)
- Ruby
Published by estolfo about 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.12.0.rc2
This third release candidate for 1.12.0 has the following changes since the second release candidate:
- Make sure to populate error code for all versions of the server (RUBY-842)
- Remove use of cursorInfo in tests
- Lock i18n gem version because it no longer supports Ruby version 1.8.7
- Allow alternate namespace for cursors (RUBY-844)
- Update for server changes to listCollections and listIndexes (RUBY-843)
- Ruby
Published by estolfo about 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.12.0.rc1
This second release candidate for 1.12.0 has the following changes since the first release candidate:
- Replica Set test suite changes (RUBY-800)
- Documentation updates (RUBY-837)
- Ensure that a socket is always checked in after sending a message with gle (@cheald)
- Ruby
Published by estolfo about 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.12.0.rc0
This release candidate has the following bug fixes:
- Allow symbol keys in aggregation pipeline (RUBY-804)
- Fix using aggregation cursor option when connected to a replica set (RUBY-813)
- Don't raise an exception from #active? on a connection (RUBY-813)
- Fix unix sockets (RUBY-836)
and the following features and changes:
- Provide a descriptive error when an invalid auth mechanism is specified (RUBY-735)
- Support Unix domain socket path in URI (RUBY-744)
- Support for SCRAM-SHA-1 auth mechanism (RUBY-791)
- Adjustments to server selection according to read preference (RUBY-801)
- Respect read preferences when running 'text' command (RUBY-803)
- Use new listCollections command when getting list of collection names (RUBY-805)
- Use new listIndexes command when getting index information (RUBY-806)
- Allow auth mechanism properties in URI (RUBY-812)
- Support readPreferenceTags in URI (RUBY-832)
- Support SCRAM-SHA-1 authentication with copy_db command (RUBY-835)
- Get rid of compile warnings in cbson (RUBY-760) (@sb8244)
- Ruby
Published by estolfo about 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.11.0
This release has the following bug fixes:
- Recursive locking when auth fails (RUBY-788)
and the following new features/changes:
- Kerberos authentication support on MRI (RUBY-530)
- Update to DB#add_user to work around narrowed localhost exception in MongoDB version >= 2.7.0 (RUBY-782)
- Update to test suite to work around narrowed localhost exception in MongoDB version >= 2.7.0 (RUBY-781, RUBY-798)
- Deprecate dropDups support in Collection#ensure_index, Collection#create_index (RUBY-799)
- Support query hints with count (RUBY-790)
- "How to Ask for Help" section added to Readme (RUBY-796)
- Resolve C90 compile warnings in cbson.c
- Ruby
Published by estolfo over 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.10.2
This release has the following bug fixes:
- Recursive locking error (RUBY-775)
- Array error with Bulk API (RUBY-778)
- Edge case when upserted _id is not returned (RUBY-777)
- Ruby
Published by estolfo over 11 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.10.1
This release has the following bug fixes:
- Allow certain URI options to have mixed cases (RUBY-756)
- Bug fix in MongoReplicaSetClient when no manager is set and max batch size is referenced (RUBY-759)
- Bug fix when creating/removing users and creating an index in mongos versions < 2.4 (RUBY-755)
- Bug fix that jnote and wnote should not raise errors when connected to legacy servers (RUBY-753)
- Ruby
Published by estolfo almost 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.10.0
Driver version 1.10.0 has the following significant commits in addition to those in rc 1 and 0:
- Updated internal class to account for MRI 2.1.1 hash regression (RUBY-737)
- Documentation updates (RUBY-705)
- Write concern tweaks
- Use absolute path when loading jars (@helle)
- Added ssl keyfile passphrase support (RUBY-725)
The most notable changes that went into release candidates 1 and 0 were the following:
- Kerberos authentication support on JRuby (RUBY-530)
- Support for $meta operator (RUBY-723)
- Additional tests and documentation for better QA coverage
- SASL PLAIN Authentication Support (LDAP) (RUBY-614)
- MONGODB-X509 Authentication Support (RUBY-648)
- Option for aggregation to return a cursor (RUBY-660)
- Support for server automatically to abort queries/commands after user-specified time limit (RUBY-661)
- Manipulate user objects through commands (RUBY-667)
- $out aggregation pipeline operator support (RUBY-669)
- New write operation methods for update, insert, remove (RUBY-676)
- Bulk write operation support (RUBY-676)
- allowDiskUsage option available with aggregation (RUBY-682)
- explain option support in aggregation (RUBY-690)
- Log a warning when user-specified read preference is ignored (RUBY-695)
- Fix for authentication not being handled properly for unix sockets (RUBY-701)
- Deprecation of 'save_auth' option with authentication (RUBY-708)
- Support parallelCollectionScan command (RUBY-716)
- Support for nolock option with DB#eval (RUBY-697)
- Option to not compile BSON regex types (RUBY-698)
- IPv6 support (RUBY-700)
- createIndexes command support (RUBY-713)
- Ruby
Published by estolfo almost 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.10.0.rc1
Release candidate 1 for 1.10.0 has the following significant commits in addition to those in release candidate 0:
- Kerberos authentication support on JRuby (RUBY-530)
- Support for $meta operator (RUBY-723)
- Additional tests and documentation for better QA coverage
- Ruby
Published by estolfo almost 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.10.0.rc0
- SASL PLAIN Authentication Support (LDAP) (RUBY-614)
- MONGODB-X509 Authentication Support (RUBY-648)
- Option for aggregation to return a cursor (RUBY-660)
- Support for server automatically to abort queries/commands after user-specified time limit (RUBY-661)
- Manipulate user objects through commands (RUBY-667)
- $out aggregation pipeline operator support (RUBY-669)
- New write operation methods for update, insert, remove (RUBY-676)
- Bulk write operation support (RUBY-676)
- allowDiskUsage option available with aggregation (RUBY-682)
- explain option support in aggregation (RUBY-690)
- Log a warning when user-specified read preference is ignored (RUBY-695)
- Fix for authentication not being handled properly for unix sockets (RUBY-701)
- Deprecation of 'save_auth' option with authentication (RUBY-708)
- Support parallelCollectionScan command (RUBY-716)
- Support for nolock option with DB#eval (RUBY-697)
- Option to not compile BSON regex types (RUBY-698)
- IPv6 support (RUBY-700)
- createIndexes command support (RUBY-713)
- Ruby
Published by estolfo about 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.9.2
- Exception should be raised when using limit() with an exhaust cursor (RUBY-650)
- Support URI encoded characters in passwords (RUBY-657)
- Problem connecting to multiple databases (RUBY-658)
- Crash with BSON::ObjectId.new('\xff') (RUBY-662)
- Raise error when exhaust flag is used with mongos (RUBY-679)
- find_and_modify does not return lastErrorObject (RUBY-635)
- Driver should check the query failure bit even on getmore response (RUBY-659)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.1.rc0
- Support SSL in the URI parser (RUBY-517)
- Restore timeout on ismaster (RUBY-386)
- Cleanup BSON_RUBY (RUBY-519)
- Fixes for replica set tests (RUBY-472)
- Support comments on Commands
- Added unix socket support (RUBY-342)
- Improved the create_index interface (RUBY-461)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.1.rc1
Refactor Replica Set Testing Framework and Tests (RUBY-478)
Fixes for Replica set threading issues (@cheald)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.7.0.rc0
- Added testing and full support for MongoDB 2.1 & 2.2
- Added Aggregation Framework helper method
- Added support for Mongos high availability
- Modified and added new read preferences (details in documentation)
- Added support for data center awareness (tag_sets)
- Fixed bug which attempted to close cursors on wrong replica set member
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.2.rc0
- Lots of cleanup and minor bug fixes.
- Issues resolved: http://jira.mongodb.org/browse/RUBY/fixforversion/10222
- Updated Java BSON to Java driver 2.4.
- Platform gem for JRuby bson.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.5.0.rc0
-Fix bugs associated with replica set refresh.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.1
This release is the same as 1.8.1.rc1.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.3.rc0
- Added cryptographic signature to all gems, install with
-Poption (RUBY-538) - Support for object_id.to_s in the BSON C extension (@jeem)
- Corrected logic for how the connection pool refreshes and cleans-up sockets (RUBY-543)
- Fixed read preferences for MongoShardedClient (RUBY-542)
- Fixed URI connection string parsing for MongoShardedClient (RUBY-541)
- Fixed potential thread dead-locking in Pool#checkin (RUBY-556)
- Fixed thread-safety issues in the BSON extension for JRuby (RUBY-554)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.3.rc1
- Fixes for replica set routing of OP_KILL_CURSORS and OP_GET_MORE
- Replica set tests now use 3 members and no arbiters
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.4.rc0
- Improvements to connection pool pinning behavior when change read preferences (RUBY-475)
- Explicit exception is now raised on attempts to authenticate multiple users to the same database (RUBY-529)
- Support for new MongoDB 2.4 index types (RUBY-564)
- Resolved an issue where Collection#drop caused a fetch of all namespaces, deprecated DB#strict (RUBY-537)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v0.20
If upgrading from a previous version of the Ruby driver, please read these notes carefully,
along with the 0.20_UPGRADE doc.
- Support for new commands:
- Collection#find_and_modify
- Collection#stats
- DB#stats
- Query :fields options allows for values of 0 to exclude fields (houdini, railsjedi).
- GridFS
- Option to delete old versions of GridFileSystem entries.
- Filename is now optional for Grid#put.
- Option to write arbitrary attributes to a file: @grid.put(@data, :favorite_phrase => "blimey!")
- Indexes created on the chunks collection are now unique. If you have an existing chunks collection,
you may want to remove
- Removed the following deprecated items:
- GridStore class
- RegexpOfHolding class
- Paired connections must now be initialized with Connection.paired
- BSON-related code extracted into two separate gems: bson and bson_ext (thx to Chuck Remes).
- mongo_ext no longer exists.
- BSON::Binary constructor can now take a string, which will be packed into an array.
- Exception class adjustments:
- Mongo::InvalidObjectID moved to BSON::InvalidObjectID
- Mongo::InvalidDocument moved to BSON::InvalidDocument
- Mongo::InvalidStringEncoding moved to BSON::InvalidStringEncoding
- Mongo::InvalidName replaced by Mongo::InvalidNSName and BSON::InvalidKeyName
- BSON types are now namespaced under the BSON module. These types include:
- Binary
- ObjectID
- Code
- DBRef
- MinKey and MaxKey
- Extensions compile on Rubinius (Chuck Remes).
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0
Note: if upgrading from versions prior to 0.20, be sure to upgrade
to 0.20 before upgrading to 1.0.
- Inspected ObjectID is represented in MongoDB extended json format.
- Support for tailable cursors.
- Configurable query response batch size (thx. to Aman Gupta)
- bson_ext installs on early release of Ruby 1.8.5 (dfitzgibbon)
- Deprecated DB#create_index. Use Collection#create_index index.
- Removed deprecated Grid#put syntax; no longer requires a filename.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.1
- set Encoding.default_internal
- DEPRECATE JavaScript string on Collection#find. You now must specify $where explicitly.
- Added Grid#exist? and GridFileSystem#exist?
- Support for replication acknowledgment
- Support for $slice
- Namespaced OrderedHash under BSON (sleverbor)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.2
This is a minor release for fixing an incompatibility with MongoDB v1.5.2
- Fix for boolean response on commands for core server v1.5.2
- BSON.read_bson_document and b2json executable (neomantra)
- BSON::ObjectID() shortcut for BSON::ObjectID.from_string (tmm1)
- Various bug fixes.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.3
- Optimiztion for BSON::OrderedHash
- Some important fixes.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.4
- Removed deprecated
- Cursor admin option
- DB#query
- DB#create_index (use Collection#create_index)
- DB#command only takes hash options now
- j2bson executable (neomantra)
- Fixed bson_ext compilation on Solaris (slyphon)
- System JS helpers (neovintage)
- Use one mutex per thread on pooled connections (cremes)
- Check for CursorNotFound response flag
- MapReduce can return raw command output using :raw
- BSON::OrderedHash equality with other Ruby hashes (Ryan Angilly)
- Fix for broken Socket.send with large payloads (Frédéric De Jaeger)
- Lots of minor improvements. See commits.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.6
- Replica set support.
- Collection#map_reduce bug fix.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.7
- A few minor test/doc fixes.
- Better tests for replica sets and replication acknowledgment.
- Deprecated DB#error and DB#last_status
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.8
- Cursor#rewind! and more consistent Cursor Enumerable behavior
- Deprecated ObjectID for ObjectId
- Numerous minor bug fixes.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.0.9
- Significant performance improvements (with a lot of help from Hongli Lai)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.1
- Official JRuby support via Java extensions for BSON (beta)
- Connection#lock! and Connection#unlock! for easy fsync lock
- Note: BSON::Code is no longer a subclass of String.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.1.1
- Several critical JRuby bug fixes
- Fixes for JRuby in 1.9 mode
- Check keys and move id only when necessary for JRuby encoder
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.1.2
- Two critical fixes to automated failover and replica sets.
- Bug passing :timeout to Cursor.
- Permit safe mode specification on Connection, Collection, and DB levels.
- Specify replica set name on connect to verify connection to the right set.
- Misc. reorganization of project and docs.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.1.3
- Distributed reads for replica set secondaries. See /docs/examples/replica_set.rb and
http://api.mongodb.org/ruby/current/file.REPLICA_SETS.html for details. - Note: when connecting to a replica set, you must use Connection#multi.
- Cursor#count takes optional skip and limit
- Collection#ensure_index for caching index creation calls
- Collection#update and Collection#remove now return error object when using safe mode
- Important fix for int/long serialization on bug introduced in 1.0.9
- Numerous tweaks and bug fixes.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.1.4
- Important connection failure fix.
- ObjectId#to_s optimization (David Cuadrado).
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.1.5
- ReplSetConnection class. This must be used for replica set connections from
now on. You can still use Connection.multi, but that method has been deprecated. - Automated replica set tests. rake test:rs
- Check that request and response ids match.
- Several bug fixes. See the commit history for details.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.2.0
- Some minor improvements. See commit history.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.2.1
- Enable authentication with connection pooling.
- Allow custom logging with Connection#instrument (CodeMonkeySteve)
- Minor fixes and doc improvements.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.2.2
- Improved replica set failover for edge case.
- Fix for REE on OSX (Hongli Lai)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.2.3
- Update docs for map-reduce command
- Minor doc fix
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.2.4
- Fix the exception message shown when there's an IOError (Mauro Pompilio)
- Another update to map-reduce docs for v1.8. Note that if you use the new
output option{:out => {:inline => true}}, then you must also specify
:raw => true.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.3.0
- Add option to set timeouts on socket read calls using the
Mongo::Connection :op_timeout option. - Add StringIO methods to GridIO objects
- Support for BSON timestamp type with BSON::Timestamp
- Change the BSON binary subtype from 2 to 0
- Remove private method Connection#reset_conection
and deprecate public method ReplSetConnection#reset_connection - ByteBuffer#== and OrderedHash#dup (Hongli Lai)
- Better check for UTF8 validity in Ruby 1.9
- Added previously removed Connection#host and Connection#port
- Added transformers to allow Mongo::Cursor to allow instantiated objects (John Nunemaker)
- Automated reconnection on fork
- Added Cursor#next alias for Cursor#next_document
- Audit tests after enabling warnings (Wojciech Piekutowski)
- Various bug fixes thanks to Datanoise, Hongli Lai, and Mauro Pompilio
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.3.1
- Fix GridIO#gets infinite loop error (Ryan McGeary)
- Fix BSON::OrderedHash#reject! leaving keys with null values (rpt. by Ben Poweski)
- Minor semantic fix for OrderedHash#reject!
- Fix Mongo::DB to allow symbols in method traversing collection names (rpt. by Chris Griego)
- Support new server regex option "s" (dotall). This is folded in with \m in Ruby.
- Fix so that Cursor#close hits the right node when :read_secondary is enabled.
- Support maxScan, showDiskLoc, and returnKey cursor options.
- Make DB#validate_collection compatible with server v1.9.1.
- Fix so that GridIO#gets returns local md5 with md5 matches server md5 (Steve Tantra).
- Fix bug in BSON::OrderedHash that prevents YAML.load (Ian Warshak).
- Fix example from /examples.
- Ensure that we do not modify hash arguments by calling Hash#dup when appropriate.
- Ensure that JRuby deserializer preserves binary subtypes properly.
- Fix for streaming an empty file into GridFS (Daniël van de Burgt).
- Minor doc fixes.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.4.0
- Attempt to automatically refresh internal replica set state using ReplSetConnection#refresh.
- Two automated refresh modes: :async and :sync. Automated refresh can also be disabled.
- Choose secondary for reads based on ping time.
- Read preference API: specify whether queries should go to primary or secondary on a per-query basis.
- Pass :require_primary => false to ReplSetConnection to connect without requiring a primary node.
- Enable exhaust-mode queries with OP_QUERY_EXHAUST.
- Collection#count takes a query selector.
- Support continue_on_error flag for bulk inserts (use :continue_on_error => true)
- Add Cursor#add_option. Deprecate Cursor#query_opts and replace with Cursor#options.
- Initial SSL support (connect with :ssl => true)
- Update to latest Java driver for JRuby.
- Check max BSON size on a per-connection basis.
- Fixed two platform-specific BSON serialization issues.
- Lots of bug fixes and code cleanup.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.4.1
If you're using 1.4.0, this is a necessary upgrade.
- Simplified replica set refresh.
- Fix bugs associated with replica set refresh.
- Make cursor smart enough to continue functioning
even if a refresh is triggered.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.5.0
This releases fixes bugs introduced in 1.4.0 and 1.4.1 that
were introduced as a result of adding replica set refresh modes.
- Removed :async refresh mode.
- Disabled auto refresh mode by default. If you want the driver
to automatically check the state of the replica set, you must
use :sync mode. Note that replica set refresh is designed only to
account for benign changes to the replica set (adding and removing
nodes that don't affect current connections). - Fixed bug with commands being sent to secondary nodes. The next
release will allow you to specify where commands can be sent. - Support :j safe mode option.
- Fix :max_scan and :show_disk_loc Cursor options.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.5.1
Release due to corrupted gemspec. This was a bug having
to do with rubygems. Apparently, gems must still be
built with Ruby 1.8.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.5.2
- Lots of fixes for replica set connection edge cases.
- Set default op_timeout and connect_timeout to 30 seconds.
- Support GeoHaystack indexing.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.6.0
- Added Gemfile
- ReplSetConnection seed format is now array of 'host:port' strings
- Added read preference :secondary_only
- Added ability to log duration -- enabled by default (Cyril Mougel)
- Added read_only option for DB#add_user (Ariel Salomon)
- Added :collect_on_error option for bulk-insert (Masahiro Nakagawa)
- Added and updated URI options (now case insensitive)
- Bug fix for ReplSet refresh attempting to close a closed socket
- Default op_timeout for ReplSetConnection is now disabled (was 30 seconds)
- Support db output option for map reduce (John Ewart)
- Support for keeping limited versions of files using GridFS (VvanGemert)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.6.1
- Added thread affinity to Mongo::Pool
- Added deploy tasks
- Added Travis CI support (Cyril Mougel)
- Logging warning message is only displayed for level :debug
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.6.2
- Implements socket timeouts via non-blocking IO instead of Timeout module
which should greatly increase performance in highly threaded applications - Added ability to authentication via secondary if primary node unavailable
- Replica set refresh interval now enforces a lower bound of 60 seconds
- Added documentation for dropping indexes, collections, databases
- Test output cleanup (...)s unless failure occurs
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.6.3
- Performance measurements and enhancements (especially for C-extensions)
- Bug fixes for checking strings with non UTF-8 forced or implied encodings
- Added refresh support for multiple threaded instances of ReplSetConnection
- Added ability to handle IRB::Abort Exception (ctrl-c) cleanly
- Added support for large dates on 32-bit platforms (Ruby 1.9+)
- Added #to_ary method for BSON::ObjectId (Farrel Lifson)
- Added support for ENV['MONGODB_URI'](Seamus Abshere)
- Various gridio bug fixes (John Bintz)
- Various logging support improvements
- Various documentation improvements (tutorials, sorting, links)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.6.4
- Added ability to declare sort ordering via an ordered hash
- Addresses major compatability issue with mongoid created by v1.6.3
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.7.0
- Minor deployment fixes
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.7.1
- Adding a fix for an issue that was breaking replica set connections when utilizing database authentication.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.0
- New top level class Mongo::MongoClient acknowledges writes by default
- New top level class Mongo::ReplSetClient acknowledges writes by default
- New top level class Mongo::ShardedClient acknowledges writes by default
- MongoClient, MongoReplicaSetClient, MongoShardedClient and GridFS implement a new write concern interface at Client, DB, Collection, and Operation levels
- Deprecation of Mongo::Connection in favor of Mongo::MongoClient
- Deprecation of Mongo::ReplSetConnection in favor of Mongo::MongoReplicaSetClient
- Deprecation of Mongo::ShardedConnection in favor of Mongo::MongoShardedClient
- Allow specification of comment query opt (Evan Broder)
- Fix for pool authentication and logout (Olivier Bonnaure)
- Fix for cursor not being closed in presence of exceptions (Simon Simeonov)
- Fix for data send failure not closing socket (Nelson Elhage)
- Tutorials and non code documentation moved to GitHub wiki
- Provided binary mongo_client has been renamed to mongo_console
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.2
- Fix for thread affinity not using the max socket pool size (RUBY-532)
- Fix for meta operator failure on older versions of MongoDB (RUBY-525)
- Support sending $readPreference to mongos
- Fix thread leaks in MongoReplicaSetClient (Chris Heald)
- Java extension cleanup
- Improved index creation interface (Steve Francia)
- Support read preference for various commands (Nelson Elhage)
- Added UNIX socket support (thanks to @vpereira for initial contribution)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.3
- Fix so that batch size is applied to initial query (RUBY-558)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.4
- Fixed warning during C extension compilation (RUBY-567)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.5
- OrderedHash#Clone is always shallow (RUBY-535)
- Removed test files from gemspec temporarily as they cannot be run (RUBY-570)
- Fix for running commands against mongos <2.2 (RUBY-574)
- Fix for max bson size / max message size (RUBY-568)
- Fix internal handling of seeds for sharded clusters (RUBY-573)
- Fix for replica set authentication not working (RUBY-572)
- Improved authentication test suite and removed outdated tests.
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.8.6
- fixed concurrency issue in PoolManager#connect_to_members (RUBY-578)
- fixed replica set :nearest read preference (RUBY-607)
- fixed replica/sharded client reconnection errors (RUBY-579)
- fixed ShardingPoolManager::check_connection_health not supporting authentication (RUBY-560)
- fixed testing Error when running tests from gem (RUBY-584)
- setup Code/CI for tests requiring authentication (RUBY-583)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.9.0
- added support for batch insert over multiple messages (RUBY-533)
- added support for delegated authentication (RUBY-577)
- added support for SSL certificate validation (RUBY-565)
- fixed issue with support for auth params the URI parser (RUBY-606)
- fixed apache 2.0 license compliance (RUBY-615)
- fixed bson c-extension bugs (RUBY-611, RUBY-612)
- removed unnecessary log noise when running with warnings enabled (RUBY-620)
- removed 3rd-party encoding helpers (RUBY-618)
- clean-up and preparation for moving 1.x series driver into maintenance mode (RUBY-590)
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.9.1
- Fixed repository badges
- Ruby
Published by TylerBrock over 12 years ago
https://github.com/mongodb/mongo-ruby-driver - MongoDB Ruby Driver v1.9.1.rc0
- Various Documentation Fixes
- Bugfix for connect timeout error with SSL (RUBY-639)
- BSON::OrderedHash now allows #extract_options (RUBY-641)
- Ruby
Published by TylerBrock over 12 years ago