mongo-ruby-driver/HISTORY

152 lines
6.2 KiB
Plaintext
Raw Permalink Normal View History

2010-05-07 19:41:40 +00:00
1.0.1 2010-5-7
* 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)
2010-04-29 15:11:53 +00:00
1.0 2010-4-29
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.
2010-04-08 03:47:06 +00:00
0.20.1 2010-4-7
* Added bson gem dependency.
2010-04-07 23:28:05 +00:00
0.20 2010-4-7
2010-04-07 22:41:08 +00:00
If upgrading from a previous version of the Ruby driver, please read these notes carefully,
along with the 0.20_UPGRADE doc.
2010-04-06 22:29:39 +00:00
* Support for new commands:
* Collection#find_and_modify
* Collection#stats
* DB#stats
2010-04-05 21:05:30 +00:00
* 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
2010-04-05 21:05:30 +00:00
* Removed the following deprecated items:
* GridStore class
2010-04-07 20:32:25 +00:00
* RegexpOfHolding class
* Paired connections must now be initialized with Connection.paired
2010-04-05 21:05:30 +00:00
* 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).
2010-04-05 19:50:20 +00:00
0.19.3 2010-4-5
* Minor fix for assert_valid_keys.
0.19.2 2010-4-5
This release fixes a major bug and is the final release
in the 0.19 series. The next release, 0.20.0, will introduce
separate gems for bson and bson_ext and may require small
changes to existing code bases. Expect that release in the next
few days.
* Fix for Grid#delete bug.
* Log messages read like valid ruby driver code.
* Cursor#has_next.
* Tests for MongoDB 1.4 features.
* Flexible index creation method with Mongo::GEO2D constant.
2010-03-02 16:25:42 +00:00
0.19.1 2010-3-2
* Fix for HashWithIndifferentAccess in ActiveSupport-3.0
2010-03-01 17:09:21 +00:00
0.19 2010-3-1
* Deprecated GridFS::GridStore. Grid and GridFileSystem classes replace
the GridFS implementation with a simpler API and vastly-improved performance.
See http://www.mongodb.org/display/DOCS/GridFS+in+Ruby for more details.
* Safe mode for Grid and GridFileSystem.
* Grid and GridFileSystem use Mime/Types to detect content type (if available)
* Connection API simplified. Use Connection.paired for pairs and Connection.from_uri to
use MongoDB's connection URI specification.
* Authentication can be saved so that reauthentication happens automatically
on reconnect.
* Raise exception if authentication fails.
* Raise exception if index creation fails.
* Removed a number of deprecated methods and classes.
* Several bug fixes.
2010-03-01 17:28:14 +00:00
* Nearing 1.0!
2010-03-01 17:09:21 +00:00
2010-01-25 18:45:42 +00:00
0.18.3 2010-1-25
* Convert docs to YARD
* Support MongoDB extended JSON on ObjectID#to_json
* ObjectID#from_time for performing date range queries on _id (thx., Sunny Hirai)
* GridStore#mv for renaming files (Matt Powell)
* Safe mode for Collection#remove (Patrick Collison)
* Support BSON types MinKey and MaxKey
* DEPRECATED Admin, XMLToRuby, and RegexpOfHolding classes.
* Handle unsupported Numeric types gracefully (Complex, Rational, BigDecimal)
* Handle unsupported Time types gracefully (Date, DateTime, ActiveSupport::TimeWithZone)
* Numerous small bug fixes
* Minor performance improvements
2009-12-29 22:32:10 +00:00
0.18.2 2009-12-29
* Significant GridStore performance improvement (thx., Sunny Hirai)
* Enabled support for keyf on group
* Support :query option for Collection#distinct
* Support :finalize option for Collection#group
* (0.18.1) ObjectID#generation_time returns a created_at timestamp.
* Deprecated Command#group running as a JS eval; should now be run as a command.
* Deprecated Cursor#next_object for Cursor#next_document
* Character encoding fixes for C extension
* Enforce 4MB limit on document creation
* Simplified connection pooling code
2009-12-29 22:32:10 +00:00
* Fixes for connection pooling on Ruby 1.8.6/Windows.
2009-12-05 14:35:31 +00:00
0.18.1 2009-12-05
* Fixed issue with negative dates in Ruby 1.9
* Minor refactorings for C extension and BSON classes
* Ensure UTF-8 in Ruby 1.8
* Fix for connections on non-default port (Delano Mandelbaum)
* More explicit test suite tasks for running with/without C extension.
2009-11-25 16:25:50 +00:00
0.18 2009-11-25
* Connections now support connection pooling. See http://api.mongodb.org/ruby/0.18/classes/Mongo/Connection.html#M000158
* Deprecated :auto_reconnect option on connection; if the driver fails to
2009-12-16 19:03:15 +00:00
connect, it will automatically try to reconnect on the subsequent operation.
2009-11-25 16:25:50 +00:00
See http://www.mongodb.org/display/DOCS/Replica+Pairs+in+Ruby
* Added Collection#map_reduce helper (Christos Trochalakis)
* Deprecated DB#db_command in favor of DB#command.
* Removed deprecated old sort options, :offset, and Connection#clear.
* Lots of internal code restructuring for better maintainability.
2009-11-17 19:39:03 +00:00
0.17.1 2009-11-17
* Index ordering fix
* Notice to install mongo_ext
2009-11-16 16:18:44 +00:00
0.17 2009-11-16
* Performance improvements
* large document inserts twice as fast as 0.16
* queries 18% faster than 0.16 on average
* see benchmark comparison: http://gist.github.com/236062
* Support for multi-update for Mongo >= 1.1.3 (See Collection#update)
* Collection#distinct
* Connection#copy_database (voodootikigod)
* C optimizations for ByteBuffer#to_s and ObjectID#generate (seancribbs)
* Continue code restructuring for performance and simplicity.