Skip to content
This repository
Newer
Older
100644 1075 lines (799 sloc) 35.616 kb
722c7acf » aheckmann
2012-07-18 merge 2.x history
1
1a6be8d4 » aheckmann
2012-08-17 release 3.0.2
2 3.0.2 / 2012-08-17
3 ==================
4
5 * added; missing support for v3 sort/select syntax to findAndModify helpers (#1058)
6 * fixed; replset fullsetup event emission
7 * fixed; reconnected event for replsets
8 * fixed; server reconnection setting discovery
9 * fixed; compat with non-schema path props using positional notation (#1048)
10 * fixed; setter/casting order (#665)
11 * docs; updated
12
07e266cc » aheckmann
2012-08-11 release 3.0.1
13 3.0.1 / 2012-08-11
14 ==================
15
16 * fixed; throw Error on bad validators (1044)
17 * fixed; typo in EmbeddedDocument#parentArray [lackac]
18 * fixed; repair mongoose.SchemaTypes alias
19 * updated; docs
20
b0523dfe » aheckmann
2012-08-07 release 3.0.0
21 3.0.0 / 2012-08-07
22 ==================
23
24 * removed; old subdocument#commit method
25 * fixed; setting arrays of matching docs [6924cbc2]
26 * fixed; doc!remove event now emits in save order as save for consistency
27 * fixed; pre-save hooks no longer fire on subdocuments when validation fails
28 * added; subdoc#parent() and subdoc#parentArray() to access subdocument parent objects
29 * added; query#lean() helper
30
9a881c5d » aheckmann
2012-08-01 release 3.0.0rc0
31 3.0.0rc0 / 2012-08-01
32 =====================
33
34 * fixed; allow subdoc literal declarations containing "type" pathname (#993)
35 * fixed; unsetting a default array (#758)
36 * fixed; boolean $in queries (#998)
37 * fixed; allow use of `options` as a pathname (#529)
38 * fixed; `model` is again a permitted schema path name
39 * fixed; field selection option on subdocs (#1022)
40 * fixed; handle another edge case with subdoc saving (#975)
41 * added; emit save err on model if listening
42 * added; MongoDB TTL collection support (#1006)
43 * added; $center options support
44 * added; $nearSphere and $polygon support
45 * updated; driver version to 1.1.2
46
34371445 » aheckmann
2012-07-18 release 3.0.0alpha2
47 3.0.0alpha2 / 2012-07-18
48 =========================
49
50 * changed; index errors are now emitted on their model and passed to an optional callback (#984)
51 * fixed; specifying index along with sparse/unique option no longer overwrites (#1004)
52 * fixed; never swallow connection errors (#618)
53 * fixed; creating object from model with emded object no longer overwrites defaults [achurkin] (#859)
54 * fixed; stop needless validation of unchanged/unselected fields (#891)
55 * fixed; document#equals behavior of objectids (#974)
56 * fixed; honor the minimize schema option (#978)
57 * fixed; provide helpful error msgs when reserved schema path is used (#928)
58 * fixed; callback to conn#disconnect is optional (#875)
59 * fixed; handle missing protocols in connection urls (#987)
60 * fixed; validate args to query#where (#969)
61 * fixed; saving modified/removed subdocs (#975)
62 * fixed; update with $pull from Mixed array (#735)
63 * fixed; error with null shard key value
64 * fixed; allow unsetting enums (#967)
65 * added; support for manual index creation (#984)
66 * added; support for disabled auto-indexing (#984)
67 * added; support for preserving MongooseArray#sort changes (#752)
68 * added; emit state change events on connection
69 * added; support for specifying BSON subtype in MongooseBuffer#toObject [jcrugzz]
70 * added; support for disabled versioning (#977)
71 * added; implicit "new" support for models and Schemas
72
73 3.0.0alpha1 / 2012-06-15
74 =========================
75
76 * removed; doc#commit (use doc#markModified)
77 * removed; doc.modified getter (#950)
78 * removed; mongoose{connectSet,createSetConnection}. use connect,createConnection instead
79 * removed; query alias methods 1149804c
80 * removed; MongooseNumber
81 * changed; now creating indexes in background by default
82 * changed; strict mode now enabled by default (#952)
83 * changed; doc#modifiedPaths is now a method (#950)
84 * changed; getters no longer cast (#820); casting happens during set
85 * fixed; no need to pass updateArg to findOneAndUpdate (#931)
86 * fixed: utils.merge bug when merging nested non-objects. [treygriffith]
87 * fixed; strict:throw should produce errors in findAndModify (#963)
88 * fixed; findAndUpdate no longer overwrites document (#962)
89 * fixed; setting default DocumentArrays (#953)
90 * fixed; selection of _id with schema deselection (#954)
91 * fixed; ensure promise#error emits instanceof Error
92 * fixed; CursorStream: No stack overflow on any size result (#929)
93 * fixed; doc#remove now passes safe options
94 * fixed; invalid use of $set during $pop
95 * fixed; array#{$pop,$shift} mirror MongoDB behavior
96 * fixed; no longer test non-required vals in string match (#934)
97 * fixed; edge case with doc#inspect
98 * fixed; setter order (#665)
99 * fixed; setting invalid paths in strict mode (#916)
100 * fixed; handle docs without id in DocumentArray#id method (#897)
101 * fixed; do not save virtuals during model.update (#894)
102 * fixed; sub doc toObject virtuals application (#889)
103 * fixed; MongooseArray#pull of ObjectId (#881)
104 * fixed; handle passing db name with any repl set string
105 * fixed; default application of selected fields (#870)
106 * fixed; subdoc paths reported in validation errors (#725)
107 * fixed; incorrect reported num of affected docs in update ops (#862)
108 * fixed; connection assignment in Model#model (#853)
109 * fixed; stringifying arrays of docs (#852)
110 * fixed; modifying subdoc and parent array works (#842)
111 * fixed; passing undefined to next hook (#785)
112 * fixed; Query#{update,remove}() works without callbacks (#788)
113 * fixed; set/updating nested objects by parent pathname (#843)
114 * fixed; allow null in number arrays (#840)
115 * fixed; isNew on sub doc after insertion error (#837)
116 * fixed; if an insert fails, set isNew back to false [boutell]
117 * fixed; isSelected when only _id is selected (#730)
118 * fixed; setting an unset default value (#742)
119 * fixed; query#sort error messaging (#671)
120 * fixed; support for passing $options with $regex
121 * added; array of object literal notation in schema creates DocumentArrays
122 * added; gt,gte,lt,lte query support for arrays (#902)
123 * added; capped collection support (#938)
124 * added; document versioning support
125 * added; inclusion of deselected schema path (#786)
126 * added; non-atomic array#pop
127 * added; EmbeddedDocument constructor is now exposed in DocArray#create 7cf8beec
128 * added; mapReduce support (#678)
129 * added; support for a configurable minimize option #to{Object,JSON}(option) (#848)
130 * added; support for strict: `throws` [regality]
131 * added; support for named schema types (#795)
132 * added; to{Object,JSON} schema options (#805)
133 * added; findByIdAnd{Update,Remove}()
134 * added; findOneAnd{Update,Remove}()
135 * added; query.setOptions()
136 * added; instance.update() (#794)
137 * added; support specifying model in populate() [DanielBaulig]
138 * added; `lean` query option [gitfy]
139 * added; multi-atomic support to MongooseArray#nonAtomicPush
140 * added; support for $set + other $atomic ops on single array
141 * added; tests
142 * updated; driver to 1.0.2
143 * updated; query.sort() syntax to mirror query.select()
144 * updated; clearer cast error msg for array numbers
145 * updated; docs
146 * updated; doc.clone 3x faster (#950)
147 * updated; only create _id if necessary (#950)
148
dfa07b8f » aheckmann
2012-08-01 update history
149 2.7.3 / 2012-08-01
150 ==================
151
152 * fixed; boolean $in queries (#998)
153 * fixed field selection option on subdocs (#1022)
154
722c7acf » aheckmann
2012-07-18 merge 2.x history
155 2.7.2 / 2012-07-18
156 ==================
157
158 * fixed; callback to conn#disconnect is optional (#875)
159 * fixed; handle missing protocols in connection urls (#987)
160 * fixed; saving modified/removed subdocs (#975)
161 * updated; tests
162
163 2.7.1 / 2012-06-26
164 ===================
165
166 * fixed; sharding: when a document holds a null as a value of the shard key
167 * fixed; update() using $pull on an array of Mixed (gh-735)
168 * deprecated; MongooseNumber#{inc, increment, decrement} methods
169 * tests; now using mocha
170
171 2.7.0 / 2012-06-14
172 ===================
173
174 * added; deprecation warnings to methods being removed in 3.x
175
176 2.6.8 / 2012-06-14
177 ===================
178
179 * fixed; edge case when using 'options' as a path name (#961)
180
181 2.6.7 / 2012-06-08
182 ===================
183
184 * fixed; ensure promise#error always emits instanceof Error
185 * fixed; selection of _id w/ another excluded path (#954)
186 * fixed; setting default DocumentArrays (#953)
187
188 2.6.6 / 2012-06-06
189 ===================
190
191 * fixed; stack overflow in query stream with large result sets (#929)
192 * added; $gt, $gte, $lt, $lte support to arrays (#902)
193 * fixed; pass option `safe` along to doc#remove() calls
194
55cd9064 » SirUli
2012-06-04 Updated History.md to reflect the latest mongoose versions
195 2.6.5 / 2012-05-24
196 ===================
197
198 * fixed; do not save virtuals in Model.update (#894)
199 * added; missing $ prefixed query aliases (going away in 3.x) (#884) [timoxley]
200 * fixed; setting invalid paths in strict mode (#916)
201 * fixed; resetting isNew after insert failure (#837) [boutell]
202
203 2.6.4 / 2012-05-15
204 ===================
205
206 * updated; backport string regex $options to 2.x
207 * updated; use driver 1.0.2 (performance improvements) (#914)
208 * fixed; calling MongooseDocumentArray#id when the doc has no _id (#897)
209
210 2.6.3 / 2012-05-03
211 ===================
212
213 * fixed; repl-set connectivity issues during failover on MongoDB 2.0.1
214 * updated; driver to 1.0.0
215 * fixed; virtuals application of subdocs when using toObject({ virtuals: true }) (#889)
216 * fixed; MongooseArray#pull of ObjectId correctly updates the array itself (#881)
217
722c7acf » aheckmann
2012-07-18 merge 2.x history
218 2.6.2 / 2012-04-30
219 ===================
220
221 * fixed; default field application of selected fields (#870)
222
55cd9064 » SirUli
2012-06-04 Updated History.md to reflect the latest mongoose versions
223 2.6.1 / 2012-04-30
224 ===================
225
226 * fixed; connection assignment in mongoose#model (#853, #877)
227 * fixed; incorrect reported num of affected docs in update ops (#862)
228
229 2.6.0 / 2012-04-19
230 ===================
231
232 * updated; hooks.js to 0.2.1
233 * fixed; issue with passing undefined to a hook callback. thanks to [chrisleishman] for reporting.
234 * fixed; updating/setting nested objects in strict schemas (#843) as reported by [kof]
235 * fixed; Query#{update,remove}() work without callbacks again (#788)
236 * fixed; modifying subdoc along with parent array $atomic op (#842)
237
238 2.5.14 / 2012-04-13
239 ===================
240
241 * fixed; setting an unset default value (#742)
242 * fixed; doc.isSelected(otherpath) when only _id is selected (#730)
243 * updated; docs
244
66d8d15c » aheckmann
2012-03-22 release 2.5.13
245 2.5.13 / 2012-03-22
246 ===================
247
248 * fixed; failing validation of unselected required paths (#730,#713)
249 * fixed; emitting connection error when only one listener (#759)
250 * fixed; MongooseArray#splice was not returning values (#784) [chrisleishman]
251
c96418e6 » aheckmann
2012-03-21 release 2.5.12
252 2.5.12 / 2012-03-21
253 ===================
254
255 * fixed; honor the `safe` option in all ensureIndex calls
256 * updated; node-mongodb-native driver to 0.9.9-7
257
ec680492 » aheckmann
2012-03-15 release 2.5.11
258 2.5.11 / 2012-03-15
259 ===================
260
261 * added; introspection for getters/setters (#745)
262 * updated; node-mongodb-driver to 0.9.9-5
263 * added; tailable method to Query (#769) [holic]
264 * fixed; Number min/max validation of null (#764) [btamas]
265 * added; more flexible user/password connection options (#738) [KarneAsada]
32731c6b » guille
2011-02-02 Added changelog
266
4c6bedfa » aheckmann
2012-03-06 release 2.5.10
267 2.5.10 / 2012-03-06
268 ===================
269
270 * updated; node-mongodb-native driver to 0.9.9-4
271 * added; Query#comment()
272 * fixed; allow unsetting arrays
273 * fixed; hooking the set method of subdocuments (#746)
274 * fixed; edge case in hooks
275 * fixed; allow $id and $ref in queries (fixes compatibility with mongoose-dbref) (#749) [richtera]
276 * added; default path selection to SchemaTypes
277
2ab1f206 » aheckmann
2012-02-22 release 2.5.9
278 2.5.9 / 2012-02-22
279 ===================
280
281 * fixed; properly cast nested atomic update operators for sub-documents
282
04ab4740 » aheckmann
2012-02-21 release 2.5.8
283 2.5.8 / 2012-02-21
284 ===================
285
286 * added; post 'remove' middleware includes model that was removed (#729) [timoxley]
287
09a6c6d9 » aheckmann
2012-02-09 release 2.5.7
288 2.5.7 / 2012-02-09
289 ===================
290
291 * fixed; RegExp validators on node >= v0.6.x
292
627745b0 » aheckmann
2012-02-09 release 2.5.6
293 2.5.6 / 2012-02-09
294 ===================
295
296 * fixed; emit errors returned from db.collection() on the connection (were being swallowed)
297 * added; can add multiple validators in your schema at once (#718) [diogogmt]
298 * fixed; strict embedded documents (#717)
299 * updated; docs [niemyjski]
300 * added; pass number of affected docs back in model.update/save
301
df98cf71 » aheckmann
2012-02-03 release 2.5.5
302 2.5.5 / 2012-02-03
303 ===================
304
305 * fixed; RangeError: maximum call stack exceed error when removing docs with Number _id (#714)
306
a4679b7c » aheckmann
2012-02-03 release 2.5.4
307 2.5.4 / 2012-02-03
308 ===================
309
310 * fixed; RangeError: maximum call stack exceed error (#714)
311
53f68561 » aheckmann
2012-02-01 release 2.5.3
312 2.5.3 / 2012-02-02
313 ===================
314
315 * added; doc#isSelected(path)
316 * added; query#equals()
317 * added; beta sharding support
318 * added; more descript error msgs (#700) [obeleh]
319 * added; document.modifiedPaths (#709) [ljharb]
320 * fixed; only functions can be added as getters/setters (#707,704) [ljharb]
321
7179a259 » aheckmann
2012-01-30 release 2.5.2
322 2.5.2 / 2012-01-30
323 ===================
324
325 * fixed; rollback -native driver to 0.9.7-3-5 (was causing timeouts and other replica set weirdness)
326 * deprecated; MongooseNumber (will be moved to a separate repo for 3.x)
327 * added; init event is emitted on schemas
328
802f8640 » aheckmann
2012-01-27 release 2.5.1
329 2.5.1 / 2012-01-27
330 ===================
331
332 * fixed; honor strict schemas in Model.update (#699)
333
c08916ce » aheckmann
2012-01-26 release 2.5.0
334 2.5.0 / 2012-01-26
335 ===================
336
337 * added; doc.toJSON calls toJSON on embedded docs when exists [jerem]
338 * added; populate support for refs of type Buffer (#686) [jerem]
339 * added; $all support for ObjectIds and Dates (#690)
79876291 » aheckmann
2012-01-26 fix history
340 * fixed; virtual setter calling on instantiation when strict: true (#682) [hunterloftis]
c08916ce » aheckmann
2012-01-26 release 2.5.0
341 * fixed; doc construction triggering getters (#685)
342 * fixed; MongooseBuffer check in deepEquals (#688)
343 * fixed; range error when using Number _ids with `instance.save()` (#691)
344 * fixed; isNew on embedded docs edge case (#680)
345 * updated; driver to 0.9.8-3
346 * updated; expose `model()` method within static methods
347
6c312056 » aheckmann
2012-01-10 release 2.4.10
348 2.4.10 / 2012-01-10
349 ===================
350
351 * added; optional getter application in .toObject()/.toJSON() (#412)
352 * fixed; nested $operators in $all queries (#670)
353 * added; $nor support (#674)
354 * fixed; bug when adding nested schema (#662) [paulwe]
355
bbb8f8bf » aheckmann
2012-01-04 its 2012
356 2.4.9 / 2012-01-04
00db21be » aheckmann
2012-01-04 release 2.4.9
357 ===================
358
359 * updated; driver to 0.9.7-3-5 to fix Linux performance degradation on some boxes
360
729a9641 » aheckmann
2011-12-22 release 2.4.8
361 2.4.8 / 2011-12-22
362 ===================
363
364 * updated; bump -native to 0.9.7.2-5
365 * fixed; compatibility with date.js (#646) [chrisleishman]
366 * changed; undocumented schema "lax" option to "strict"
367 * fixed; default value population for strict schemas
368 * updated; the nextTick helper for small performance gain. 1bee2a2
369
1f4fa727 » aheckmann
2011-12-16 release 2.4.7
370 2.4.7 / 2011-12-16
371 ===================
372
373 * fixed; bug in 2.4.6 with path setting
374 * updated; bump -native to 0.9.7.2-1
375 * added; strict schema option [nw]
376
7765ab72 » aheckmann
2011-12-16 release 2.4.6
377 2.4.6 / 2011-12-16
378 ===================
379
380 * fixed; conflicting mods on update bug [sirlantis]
381 * improved; doc.id getter performance
382
8a83d743 » aheckmann
2011-12-14 release 2.4.5
383 2.4.5 / 2011-12-14
384 ===================
385
386 * fixed; bad MongooseArray behavior in 2.4.2 - 2.4.4
387
f00980b4 » aheckmann
2011-12-14 release 2.4.4
388 2.4.4 / 2011-12-14
389 ===================
390
391 * fixed; MongooseArray#doAtomics throwing after sliced
392
2253c078 » aheckmann
2011-12-14 release 2.4.3
393 2.4.3 / 2011-12-14
394 ===================
395
396 * updated; system.profile schema for MongoDB 2x
397
9413ae2a » aheckmann
2011-12-12 release 2.4.2
398 2.4.2 / 2011-12-12
399 ===================
400
401 * fixed; partially populating multiple children of subdocs (#639) [kenpratt]
402 * fixed; allow Update of numbers to null (#640) [jerem]
403
0061ee22 » aheckmann
2011-12-02 release 2.4.1
404 2.4.1 / 2011-12-02
405 ===================
406
407 * added; options support for populate() queries
408 * updated; -native driver to 0.9.7-1.4
409
27959511 » aheckmann
2011-11-29 release 2.4.0
410 2.4.0 / 2011-11-29
411 ===================
412
413 * added; QueryStreams (#614)
414 * added; debug print mode for development
415 * added; $within support to Array queries (#586) [ggoodale]
416 * added; $centerSphere query support
417 * fixed; $within support
418 * added; $unset is now used when setting a path to undefined (#519)
419 * added; query#batchSize support
420 * updated; docs
421 * updated; -native driver to 0.9.7-1.3 (provides Windows support)
422
ded03a84 » aheckmann
2011-11-15 release 2.3.13
423 2.3.13 / 2011-11-15
424 ===================
425
e22c8637 » aheckmann
2011-11-17 fix History.md
426 * fixed; required validation for Refs (#612) [ded]
ded03a84 » aheckmann
2011-11-15 release 2.3.13
427 * added; $nearSphere support for Arrays (#610)
428
5faa9119 » aheckmann
2011-11-09 release 2.3.12
429 2.3.12 / 2011-11-09
430 ===================
431
432 * fixed; regression, objects passed to Model.update should not be changed (#605)
433 * fixed; regression, empty Model.update should not be executed
434
9c4a1811 » aheckmann
2011-11-08 release 2.3.11
435 2.3.11 / 2011-11-08
436 ===================
437
438 * fixed; using $elemMatch on arrays of Mixed types (#591)
439 * fixed; allow using $regex when querying Arrays (#599)
440 * fixed; calling Model.update with no atomic keys (#602)
441
c131193c » aheckmann
2011-11-05 release 2.3.10
442 2.3.10 / 2011-11-05
443 ===================
444
445 * fixed; model.update casting for nested paths works (#542)
446
28a57581 » aheckmann
2011-11-04 release 2.3.9
447 2.3.9 / 2011-11-04
448 ==================
449
450 * fixed; deepEquals check for MongooseArray returned false
451 * fixed; reset modified flags of embedded docs after save [gitfy]
452 * fixed; setting embedded doc with identical values no longer marks modified [gitfy]
453 * updated; -native driver to 0.9.6.23 [mlazarov]
454 * fixed; Model.update casting (#542, #545, #479)
455 * fixed; populated refs no longer fail required validators (#577)
456 * fixed; populating refs of objects with custom ids works
457 * fixed; $pop & $unset work with Model.update (#574)
458 * added; more helpful debugging message for Schema#add (#578)
459 * fixed; accessing .id when no _id exists now returns null (#590)
460
f962b606 » aheckmann
2011-10-26 release 2.3.8
461 2.3.8 / 2011-10-26
462 ==================
463
464 * added; callback to query#findOne is now optional (#581)
465
cfaa647c » aheckmann
2011-10-24 release 2.3.7
466 2.3.7 / 2011-10-24
467 ==================
468
469 * fixed; wrapped save/remove callbacks in nextTick to mitigate -native swallowing thrown errors
470
e296c6e2 » aheckmann
2011-10-21 release 2.3.6
471 2.3.6 / 2011-10-21
472 ==================
473
474 * fixed; exclusion of embedded doc _id from query results (#541)
475
daa0d50e » aheckmann
2011-10-19 release 2.3.5
476 2.3.5 / 2011-10-19
477 ==================
478
479 * fixed; calling queries without passing a callback works (#569)
480 * fixed; populate() works with String and Number _ids too (#568)
481
b546bc14 » aheckmann
2011-10-18 release 2.3.4
482 2.3.4 / 2011-10-18
483 ==================
484
485 * added; Model.create now accepts an array as a first arg
486 * fixed; calling toObject on a DocumentArray with nulls no longer throws
487 * fixed; calling inspect on a DocumentArray with nulls no longer throws
488 * added; MongooseArray#unshift support
489 * fixed; save hooks now fire on embedded documents [gitfy] (#456)
490 * updated; -native driver to 0.9.6-22
491 * fixed; correctly pass $addToSet op instead of $push
492 * fixed; $addToSet properly detects dates
493 * fixed; $addToSet with multiple items works
494 * updated; better node 0.6 Buffer support
495
5834db21 » aheckmann
2011-10-12 release 2.3.3
496 2.3.3 / 2011-10-12
497 ==================
498
499 * fixed; population conditions in multi-query settings [vedmalex] (#563)
500 * fixed; now compatible with Node v0.5.x
501
76ae27ba » aheckmann
2011-10-11 release 2.3.2
502 2.3.2 / 2011-10-11
503 ==================
504
505 * fixed; population of null subdoc properties no longer hangs (#561)
506
117f310a » aheckmann
2011-10-10 release 2.3.1
507 2.3.1 / 2011-10-10
508 ==================
509
ed9966d8 » aheckmann
2011-10-10 add eneko to History
510 * added; support for Query filters to populate() [eneko]
117f310a » aheckmann
2011-10-10 release 2.3.1
511 * fixed; querying with number no longer crashes mongodb (#555) [jlbyrey]
512 * updated; version of -native driver to 0.9.6-21
513 * fixed; prevent query callbacks that throw errors from corrupting -native connection state
514
4e36df3e » aheckmann
2011-10-04 release 2.3.0
515 2.3.0 / 2011-10-04
516 ==================
517
518 * fixed; nulls as default values for Boolean now works as expected
519 * updated; version of -native driver to 0.9.6-20
520
011c0002 » aheckmann
2011-10-03 release 2.2.4
521 2.2.4 / 2011-10-03
522 ==================
523
524 * fixed; populate() works when returned array contains undefined/nulls
c63105b4 » aheckmann
2011-09-28 release 2.2.2
525
55dfb7a9 » aheckmann
2011-09-29 release 2.2.3
526 2.2.3 / 2011-09-29
527 ==================
528
529 * updated; version of -native driver to 0.9.6-19
530
c63105b4 » aheckmann
2011-09-28 release 2.2.2
531 2.2.2 / 2011-09-28
532 ==================
533
534 * added; $regex support to String [davidandrewcope]
535 * added; support for other contexts like repl etc (#535)
536 * fixed; clear modified state properly after saving
537 * added; $addToSet support to Array
538
b30ef755 » aheckmann
2011-09-27 release 2.2.1
539 2.2.1 / 2011-09-22
540 ==================
541
542 * more descript error when casting undefined to string
543 * updated; version of -native driver to 0.9.6-18
544
bc56060e » aheckmann
2011-09-22 release 2.2.0
545 2.2.0 / 2011-09-22
546 ==================
547
548 * fixed; maxListeners warning on schemas with many arrays (#530)
549 * changed; return / apply defaults based on fields selected in query (#423)
550 * fixed; correctly detect Mixed types within schema arrays (#532)
551
c034f6cd » aheckmann
2011-09-20 release 2.1.4
552 2.1.4 / 2011-09-20
553 ==================
554
555 * fixed; new private methods that stomped on users code
556 * changed; finished removing old "compat" support which did nothing
557
f42929b1 » aheckmann
2011-09-16 release 2.1.3
558 2.1.3 / 2011-09-16
559 ==================
560
561 * updated; version of -native driver to 0.9.6-15
562 * added; emit `error` on connection when open fails [edwardhotchkiss]
563 * added; index support to Buffers (thanks justmoon for helping track this down)
564 * fixed; passing collection name via schema in conn.model() now works (thanks vedmalex for reporting)
565
4cb1be01 » aheckmann
2011-09-07 release 2.1.2
566 2.1.2 / 2011-09-07
567 ==================
568
569 * fixed; Query#find with no args no longer throws
570
88418049 » aheckmann
2011-09-07 release 2.1.1
571 2.1.1 / 2011-09-07
572 ==================
573
574 * added; support Model.count(fn)
575 * fixed; compatibility with node >=0.4.0 < 0.4.3
576 * added; pass model.options.safe through with .save() so w:2, wtimeout:5000 options work [andrewjstone]
577 * added; support for $type queries
578 * added; support for Query#or
579 * added; more tests
580 * optimized populate queries
581
574529a8 » aheckmann
2011-09-01 release 2.1.0
582 2.1.0 / 2011-09-01
583 ==================
584
585 * changed; document#validate is a public method
586 * fixed; setting number to same value no longer marks modified (#476) [gitfy]
587 * fixed; Buffers shouldn't have default vals
588 * added; allow specifying collection name in schema (#470) [ixti]
589 * fixed; reset modified paths and atomics after saved (#459)
590 * fixed; set isNew on embedded docs to false after save
591 * fixed; use self to ensure proper scope of options in doOpenSet (#483) [andrewjstone]
592
926d433f » aheckmann
2011-08-29 release 2.0.4
593 2.0.4 / 2011-08-29
594 ==================
595
596 * Fixed; Only send the depopulated ObjectId instead of the entire doc on save (DBRefs)
597 * Fixed; Properly cast nested array values in Model.update (the data was stored in Mongo incorrectly but recast on document fetch was "fixing" it)
598
a820d98f » aheckmann
2011-08-28 release 2.0.3
599 2.0.3 / 2011-08-28
600 ==================
601
602 * Fixed; manipulating a populated array no longer causes infinite loop in BSON serializer during save (#477)
603 * Fixed; populating an empty array no longer hangs foreeeeeeeever (#481)
604
cf86ffe1 » aheckmann
2011-08-26 release 2.0.2
605 2.0.2 / 2011-08-25
606 ==================
607
608 * Fixed; Maintain query option key order (fixes 'bad hint' error from compound query hints)
0eedc6a2 » aheckmann
2011-08-25 release 2.0.1
609
610 2.0.1 / 2011-08-25
611 ==================
612
11a8a27c » aheckmann
2011-08-25 add issue # to history.md
613 * Fixed; do not over-write the doc when no valide props exist in Model.update (#473)
0eedc6a2 » aheckmann
2011-08-25 release 2.0.1
614
2c293e0b » aheckmann
2011-08-23 release 2.0.0
615 2.0.0 / 2011-08-24
616 ===================
617
618 * Added; support for Buffers [justmoon]
619 * Changed; improved error handling [maelstrom]
620 * Removed: unused utils.erase
621 * Fixed; support for passing other context object into Schemas (#234) [Sija]
622 * Fixed; getters are no longer circular refs to themselves (#366)
623 * Removed; unused compat.js
624 * Fixed; getter/setter scopes are set properly
625 * Changed; made several private properties more obvious by prefixing _
626 * Added; DBRef support [guille]
627 * Changed; removed support for multiple collection names per model
628 * Fixed; no longer applying setters when document returned from db
629 * Changed; default auto_reconnect to true
630 * Changed; Query#bind no longer clones the query
631 * Fixed; Model.update now accepts $pull, $inc and friends (#404)
632 * Added; virtual type option support [nw]
633
634 1.8.4 / 2011-08-21
635 ===================
636
637 * Fixed; validation bug when instantiated with non-schema properties (#464) [jmreidy]
638
639 1.8.3 / 2011-08-19
640 ===================
641
642 * Fixed; regression in connection#open [jshaw86]
643
644 1.8.2 / 2011-08-17
645 ===================
646
647 * fixed; reset connection.readyState after failure [tomseago]
648 * fixed; can now query positionally for non-embedded docs (arrays of numbers/strings etc)
649 * fixed; embedded document query casting
650 * added; support for passing options to node-mongo-native db, server, and replsetserver [tomseago]
651
652 1.8.1 / 2011-08-10
653 ===================
654
655 * fixed; ObjectIds were always marked modified
656 * fixed; can now query using document instances
657 * fixed; can now query/update using documents with subdocs
658
659 1.8.0 / 2011-08-04
660 ===================
661
662 * fixed; can now use $all with String and Number
663 * fixed; can query subdoc array with $ne: null
664 * fixed; instance.subdocs#id now works with custom _ids
665 * fixed; do not apply setters when doc returned from db (change in bad behavior)
666
667 1.7.4 / 2011-07-25
668 ===================
669
670 * fixed; sparse now a valid seperate schema option
671 * fixed; now catching cast errors in queries
672 * fixed; calling new Schema with object created in vm.runInNewContext now works (#384) [Sija]
673 * fixed; String enum was disallowing null
674 * fixed; Find by nested document _id now works (#389)
675
676 1.7.3 / 2011-07-16
677 ===================
678
679 * fixed; MongooseArray#indexOf now works with ObjectIds
680 * fixed; validation scope now set properly (#418)
681 * fixed; added missing colors dependency (#398)
3c637ac1 » aheckmann
2011-07-13 release 1.7.2
682
683 1.7.2 / 2011-07-13
684 ===================
685
686 * changed; node-mongodb-native driver to v0.9.6.7
687
360086d9 » aheckmann
2011-07-12 release 1.7.1
688 1.7.1 / 2011-07-12
689 ===================
690
691 * changed; roll back node-mongodb-native driver to v0.9.6.4
692
db73ae82 » aheckmann
2011-07-12 release 1.7.0
693 1.7.0 / 2011-07-12
694 ===================
695
696 * fixed; collection name misspelling [mathrawka]
697 * fixed; 2nd param is required for ReplSetServers [kevinmarvin]
698 * fixed; MongooseArray behaves properly with Object.keys
699 * changed; node-mongodb-native driver to v0.9.6.6
700 * fixed/changed; Mongodb segfault when passed invalid ObjectId (#407)
701 - This means invalid data passed to the ObjectId constructor will now error
702
9657cf11 » aheckmann
2011-07-07 release 1.6.0
703 1.6.0 / 2011-07-07
704 ===================
705
706 * changed; .save() errors are now emitted on the instances db instead of the instance 9782463fc
707 * fixed; errors occurring when creating indexes now properly emit on db
708 * added; $maxDistance support to MongooseArrays
709 * fixed; RegExps now work with $all
710 * changed; node-mongodb-native driver to v0.9.6.4
711 * fixed; model names are now accessible via .modelName
712 * added; Query#slaveOk support
713
1bcfbf8a » aheckmann
2011-06-27 release 1.5.0
714 1.5.0 / 2011-06-27
715 ===================
716
717 * changed; saving without a callback no longer ignores the error (@bnoguchi)
718 * changed; hook-js version bump to 0.1.9
719 * changed; node-mongodb-native version bumped to 0.9.6.1 - When .remove() doesn't
720 return an error, null is no longer passed.
721 * fixed; two memory leaks (@justmoon)
722 * added; sparse index support
723 * added; more ObjectId conditionals (gt, lt, gte, lte) (@phillyqueso)
724 * added; options are now passed in model#remote (@JerryLuke)
725
aebd9869 » aheckmann
2011-06-10 release 1.4.0
726 1.4.0 / 2011-06-10
727 ===================
728
729 * bumped hooks-js dependency (fixes issue passing null as first arg to next())
730 * fixed; document#inspect now works properly with nested docs
731 * fixed; 'set' now works as a schema attribute (GH-365)
732 * fixed; _id is now set properly within pre-init hooks (GH-289)
733 * added; Query#distinct / Model#distinct support (GH-155)
734 * fixed; embedded docs now can use instance methods (GH-249)
735 * fixed; can now overwrite strings conflicting with schema type
736
22d929f5 » aheckmann
2011-06-03 release 1.3.7
737 1.3.7 / 2011-06-03
738 ===================
739
740 * added MongooseArray#splice support
741 * fixed; 'path' is now a valid Schema pathname
742 * improved hooks (utilizing https://github.com/bnoguchi/hooks-js)
743 * fixed; MongooseArray#$shift now works (never did)
744 * fixed; Document.modified no longer throws
745 * fixed; modifying subdoc property sets modified paths for subdoc and parent doc
746 * fixed; marking subdoc path as modified properly persists the value to the db
747 * fixed; RexExps can again be saved ( #357 )
748
cc3ca7da » aheckmann
2011-05-19 release 1.3.6
749 1.3.6 / 2011-05-18
750 ===================
751
752 * fixed; corrected casting for queries against array types
753 * added; Document#set now accepts Document instances
d3de5fc4 » aheckmann
2011-05-18 release 1.3.5
754
755 1.3.5 / 2011-05-17
756 ===================
757
758 * fixed; $ne queries work properly with single vals
759 * added; #inspect() methods to improve console.log output
760
17c93e01 » aheckmann
2011-05-17 release 1.3.4
761 1.3.4 / 2011-05-17
762 ===================
763
764 * fixed; find by Date works as expected (#336)
765 * added; geospatial 2d index support
766 * added; support for $near (#309)
767 * updated; node-mongodb-native driver
768 * fixed; updating numbers work (#342)
769 * added; better error msg when try to remove an embedded doc without an _id (#307)
770 * added; support for 'on-the-fly' schemas (#227)
771 * changed; virtual id getters can now be skipped
772 * fixed; .index() called on subdoc schema now works as expected
773 * fixed; db.setProfile() now buffers until the db is open (#340)
774
55907e31 » aheckmann
2011-04-27 release 1.3.3
775 1.3.3 / 2011-04-27
776 ===================
777
778 * fixed; corrected query casting on nested mixed types
779
9dfc4822 » aheckmann
2011-04-27 release 1.3.2
780 1.3.2 / 2011-04-27
781 ===================
782
783 * fixed; query hints now retain key order
784
77aac8b3 » aheckmann
2011-04-27 release 1.3.1
785 1.3.1 / 2011-04-27
786 ===================
787
788 * fixed; setting a property on an embedded array no longer overwrites entire array (GH-310)
789 * fixed; setting nested properties works when sibling prop is named "type"
790 * fixed; isModified is now much finer grained when .set() is used (GH-323)
791 * fixed; mongoose.model() and connection.model() now return the Model (GH-308, GH-305)
792 * fixed; can now use $gt, $lt, $gte, $lte with String schema types (GH-317)
793 * fixed; .lowercase() -> .toLowerCase() in pluralize()
794 * fixed; updating an embedded document by index works (GH-334)
795 * changed; .save() now passes the instance to the callback (GH-294, GH-264)
796 * added; can now query system.profile and system.indexes collections
797 * added; db.model('system.profile') is now included as a default Schema
798 * added; db.setProfiling(level, ms, callback)
799 * added; Query#hint() support
800 * added; more tests
801 * updated node-mongodb-native to 0.9.3
802
5d95318c » aheckmann
2011-04-19 release 1.3.0
803 1.3.0 / 2011-04-19
804 ===================
805
806 * changed; save() callbacks now fire only once on failed validation
807 * changed; Errors returned from save() callbacks now instances of ValidationError
808 * fixed; MongooseArray#indexOf now works properly
809
d5b73032 » aheckmann
2011-04-11 release 1.2.0
810 1.2.0 / 2011-04-11
811 ===================
812
813 * changed; MongooseNumber now casts empty string to null
814
ac06338d » aheckmann
2011-04-08 release 1.1.25
815 1.1.25 / 2011-04-08
816 ===================
817
818 * fixed; post init now fires at proper time
819
d901364d » aheckmann
2011-04-03 version 1.1.24
820 1.1.24 / 2011-04-03
821 ===================
822
823 * fixed; pushing an array onto an Array works on existing docs
824
0d3d40a7 » guille
2011-04-01 Release 1.1.23
825 1.1.23 / 2011-04-01
826 ===================
827
828 * Added Model#model
829
89f5fd5b » aheckmann
2011-03-31 release 1.1.22
830 1.1.22 / 2011-03-31
831 ===================
832
833 * Fixed; $in queries on mixed types now work
834
45aac408 » aheckmann
2011-03-31 version 1.1.21
835 1.1.21 / 2011-03-31
836 ===================
837
838 * Fixed; setting object root to null/undefined works
839
e02b4389 » aheckmann
2011-03-31 release 1.1.20
840 1.1.20 / 2011-03-31
841 ===================
842
843 * Fixed; setting multiple props on null field works
844
edafcf6e » aheckmann
2011-03-31 version 1.1.19
845 1.1.19 / 2011-03-31
846 ===================
847
848 * Fixed; no longer using $set on paths to an unexisting fields
849
08ae4383 » aheckmann
2011-03-30 release 1.1.18
850 1.1.18 / 2011-03-30
851 ===================
852
853 * Fixed; non-mixed type object setters work after initd from null
854
0b6d3fb1 » aheckmann
2011-03-30 version 1.1.17
855 1.1.17 / 2011-03-30
856 ===================
857
858 * Fixed; nested object property access works when root initd with null value
859
9dbdcaff » aheckmann
2011-03-28 release 1.1.16
860 1.1.16 / 2011-03-28
861 ===================
862
863 * Fixed; empty arrays are now saved
864
a2359056 » guille
2011-03-28 Release 1.1.15
865 1.1.15 / 2011-03-28
866 ===================
867
868 * Fixed; `null` and `undefined` are set atomically.
869
f814a7b5 » guille
2011-03-28 Release 1.1.14
870 1.1.14 / 2011-03-28
871 ===================
872
873 * Changed; more forgiving date casting, accepting '' as null.
874
35cde077 » guille
2011-03-26 Release 1.1.13
875 1.1.13 / 2011-03-26
f2b95319 » aheckmann
2011-03-26 version 1.1.12
876 ===================
877
dc81e380 » guille
2011-03-26 Release 1.1.13
878 * Fixed setting values as `undefined`.
879
880 1.1.12 / 2011-03-26
881 ===================
882
f2b95319 » aheckmann
2011-03-26 version 1.1.12
883 * Fixed; nested objects now convert to JSON properly
884 * Fixed; setting nested objects directly now works
885 * Update node-mongodb-native
886
7780dc72 » guille
2011-03-25 Release 1.1.11
887 1.1.11 / 2011-03-25
888 ===================
889
890 * Fixed for use of `type` as a key.
891
c66aab13 » guille
2011-03-23 Release 1.1.10
892 1.1.10 / 2011-03-23
893 ===================
894
895 * Changed; Make sure to only ensure indexes while connected
896
ec1fe402 » guille
2011-03-23 Release 1.1.9
897 1.1.9 / 2011-03-2
898 ==================
899
900 * Fixed; Mixed can now default to empty arrays
901 * Fixed; keys by the name 'type' are now valid
902 * Fixed; null values retrieved from the database are hydrated as null values.
903 * Fixed repeated atomic operations when saving a same document twice.
904
3600ed73 » guille
2011-03-23 Release 1.1.8
905 1.1.8 / 2011-03-23
906 ==================
907
908 * Fixed 'id' overriding. [bnoguchi]
909
7f37f577 » guille
2011-03-22 Release 1.1.7
910 1.1.7 / 2011-03-22
911 ==================
912
913 * Fixed RegExp query casting when querying against an Array of Strings [bnoguchi]
914 * Fixed getters/setters for nested virtualsl. [bnoguchi]
915
16b55ef9 » aheckmann
2011-03-22 Release 1.1.6
916 1.1.6 / 2011-03-22
917 ==================
918
919 * Only doValidate when path exists in Schema [aheckmann]
920 * Allow function defaults for Array types [aheckmann]
921 * Fix validation hang [aheckmann]
922 * Fix setting of isRequired of SchemaType [aheckmann]
923 * Fix SchemaType#required(false) filter [aheckmann]
924 * More backwards compatibility [aheckmann]
925 * More tests [aheckmann]
926
9b4d0acc » guille
2011-03-14 Release 1.1.5
927 1.1.5 / 2011-03-14
928 ==================
929
930 * Added support for `uri, db, fn` and `uri, fn` signatures for replica sets.
931 * Improved/extended replica set tests.
932
b0f0a9ed » guille
2011-03-09 Release 1.1.4
933 1.1.4 / 2011-03-09
934 ==================
935
936 * Fixed; running an empty Query doesn't throw. [aheckmann]
937 * Changed; Promise#addBack returns promise. [aheckmann]
938 * Added streaming cursor support. [aheckmann]
939 * Changed; Query#update defaults to use$SetOnSave now. [brian]
940 * Added more docs.
941
fb3dd61f » guille
2011-03-04 Release 1.1.3
942 1.1.3 / 2011-03-04
943 ==================
944
945 * Added Promise#resolve [aheckmann]
946 * Fixed backward compatibility with nulls [aheckmann]
947 * Changed; Query#{run,exec} return promises [aheckmann]
948
859d45b9 » guille
2011-03-03 Release 1.1.2
949 1.1.2 / 2011-03-03
950 ==================
951
952 * Restored Query#exec and added notion of default operation [brian]
953 * Fixed ValidatorError messages [brian]
954
2fb5408f » guille
2011-03-01 Release 1.1.1
955 1.1.1 / 2011-03-01
956 ==================
957
958 * Added SchemaType String `lowercase`, `uppercase`, `trim`.
959 * Public exports (`Model`, `Document`) and tests.
960 * Added ObjectId casting support for `Document`s.
961
863c7264 » guille
2011-02-25 Release 1.1.0
962 1.1.0 / 2011-02-25
963 ==================
964
965 * Added support for replica sets.
966
0163a2e1 » guille
2011-02-18 Release 1.0.16
967 1.0.16 / 2011-02-18
968 ===================
969
970 * Added $nin as another whitelisted $conditional for SchemaArray [brian]
971 * Changed #with to #where [brian]
972 * Added ability to use $in conditional with Array types [brian]
973
4f06f471 » guille
2011-02-18 Release 1.0.15
974 1.0.15 / 2011-02-18
975 ===================
976
977 * Added `id` virtual getter for documents to easily access the hexString of
978 the `_id`.
979
16d9f04e » guille
2011-02-17 Release 1.0.14
980 1.0.14 / 2011-02-17
981 ===================
982
983 * Fix for arrays within subdocuments [brian]
984
5a427108 » guille
2011-02-16 Release 1.0.13
985 1.0.13 / 2011-02-16
986 ===================
987
988 * Fixed embedded documents saving.
989
40e4dd98 » guille
2011-02-14 Release 1.0.12
990 1.0.12 / 2011-02-14
991 ===================
992
993 * Minor refactorings [brian]
994
424a9298 » guille
2011-02-14 Release 1.0.11
995 1.0.11 / 2011-02-14
996 ===================
997
998 * Query refactor and $ne, $slice, $or, $size, $elemMatch, $nin, $exists support [brian]
999 * Named scopes sugar [brian]
1000
6101c094 » guille
2011-02-11 Release 1.0.10
1001 1.0.10 / 2011-02-11
1002 ===================
1003
1004 * Updated node-mongodb-native driver [thanks John Allen]
1005
e0d27329 » guille
2011-02-09 Release 1.0.9
1006 1.0.9 / 2011-02-09
1007 ==================
1008
1009 * Fixed single member arrays as defaults [brian]
1010
39a9af66 » guille
2011-02-09 Release 1.0.8
1011 1.0.8 / 2011-02-09
1012 ==================
1013
1014 * Fixed for collection-level buffering of commands [gitfy]
1015 * Fixed `Document#toJSON` [dalejefferson]
1016 * Fixed `Connection` authentication [robrighter]
1017 * Fixed clash of accessors in getters/setters [eirikurn]
1018 * Improved `Model#save` promise handling
1019
5820538d » guille
2011-02-05 Release 1.0.7
1020 1.0.7 / 2011-02-05
1021 ==================
1022
1023 * Fixed memory leak warnings for test suite on 0.3
1024 * Fixed querying documents that have an array that contain at least one
1025 specified member. [brian]
1026 * Fixed default value for Array types (fixes GH-210). [brian]
1027 * Fixed example code.
1028
a42c9024 » guille
2011-02-03 Release 1.0.6
1029 1.0.6 / 2011-02-03
1030 ==================
1031
1032 * Fixed `post` middleware
1033 * Fixed; it's now possible to instantiate a model even when one of the paths maps
1034 to an undefined value [brian]
1035
17a79f20 » guille
2011-02-02 Release 1.0.5
1036 1.0.5 / 2011-02-02
1037 ==================
1038
1039 * Fixed; combo $push and $pushAll auto-converts into a $pushAll [brian]
1040 * Fixed; combo $pull and $pullAll auto-converts to a single $pullAll [brian]
1041 * Fixed; $pullAll now removes said members from array before save (so it acts just
1042 like pushAll) [brian]
1043 * Fixed; multiple $pulls and $pushes become a single $pullAll and $pushAll.
1044 Moreover, $pull now modifies the array before save to reflect the immediate
1045 change [brian]
1046 * Added tests for nested shortcut getters [brian]
1047 * Added tests that show that Schemas with nested Arrays don't apply defaults
1048 [brian]
1049
5b0cff46 » guille
2011-02-02 Release 1.0.4
1050 1.0.4 / 2011-02-02
1051 ==================
1052
1053 * Added MongooseNumber#toString
1054 * Added MongooseNumber unit tests
1055
426d42d7 » guille
2011-02-02 Release 1.0.3
1056 1.0.3 / 2011-02-02
1057 ==================
1058
1059 * Make sure safe mode works with Model#save
1060 * Changed Schema options: safe mode is now the default
1061 * Updated node-mongodb-native to HEAD
1062
c0ad4dc3 » guille
2011-02-02 Release 1.0.2
1063 1.0.2 / 2011-02-02
1064 ==================
1065
1066 * Added a Model.create shortcut for creating documents. [brian]
1067 * Fixed; we can now instantiate models with hashes that map to at least one
1068 null value. [brian]
1069 * Fixed Schema with more than 2 nested levels. [brian]
1070
32731c6b » guille
2011-02-02 Added changelog
1071 1.0.1 / 2011-02-02
1072 ==================
1073
c0ad4dc3 » guille
2011-02-02 Release 1.0.2
1074 * Improved `MongooseNumber`, works almost like the native except for `typeof`
1075 not being `'number'`.
Something went wrong with that request. Please try again.