forked from mongodb/mongo-ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HISTORY
215 lines (180 loc) · 7.95 KB
/
HISTORY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
1.1.1 2010-10-14
* Several critical JRuby bug fixes
* Fixes for JRuby in 1.9 mode
* Check keys and move id only when necessary for JRuby encoder
1.1 2010-10-4
* Official JRuby support via Java extensons for BSON (beta)
* Connection#lock! and Connection#unlock! for easy fsync lock
* Note: BSON::Code is no longer a subclass of String.
1.0.9 2010-9-20
* Significant performance improvements
1.0.8 2010-8-27
* Cursor#rewind! and more consistent Cursor Enumberable behavior
* Deprecated ObjectID for ObjectId
* Numerous minor bug fixes.
1.0.7 2010-8-4
* A few minor test/doc fixes.
* Better tests for replica sets and replication acknowledgment.
* Deprecated DB#error and DB#last_status
1.0.6 2010-7-26
* Replica set support.
* Collection#map_reduce bug fix.
1.0.5 2010-7-13
* Fix for bug introduced in 1.0.4.
1.0.4 2010-7-13
* 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 commmits.
1.0.3 2010-6-15
* Optimiztion for BSON::OrderedHash
* Some important fixes.
1.0.2 2010-6-5
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.
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)
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.
0.20.1 2010-4-7
* Added bson gem dependency.
0.20 2010-4-7
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).
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.
0.19.1 2010-3-2
* Fix for HashWithIndifferentAccess in ActiveSupport-3.0
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.
* Nearing 1.0!
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
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
* Fixes for connection pooling on Ruby 1.8.6/Windows.
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.
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
connect, it will automatically try to reconnect on the subsequent operation.
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.
0.17.1 2009-11-17
* Index ordering fix
* Notice to install mongo_ext
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.