All Versions
655
Latest Version
Avg Release Cycle
7 days
Latest Release
662 days ago
Changelog History
Page 29
Changelog History
Page 29
-
v4.11.8 Changes
August 23, 2017- feat: add warning about using schema ObjectId as type ObjectId #5571 efkan
- fix(schema): allow setting
id
property after schema was created #5570 #5548 - docs(populate): remove confusing _ from populate docs #5560
- fix(connection): expose parsed uri fields (host, port, dbname) when using openUri() #5556
- docs: added type boolean to options documentation #5547 ndabAP
- test: add test coverage for stopping/starting server #5524
- fix(aggregate): pull read preference from schema by default #5522
-
v4.11.7 Changes
August 14, 2017- fix: correct properties when calling toJSON() on populated virtual #5544 #5442 davidwu226
- docs: fix spelling #5535 et
- fix(error): always set name before stack #5533
- fix: add warning about running jest in jsdom environment #5532 #5513 #4943
- fix(document): ensure overwriting a doc array cleans out individual docs #5523
- fix(schema): handle creating arrays of single nested using type key #5521
- fix: upgrade mongodb -> 2.2.31 to support user/pass options #5419
-
v4.11.6 Changes
August 07, 2017- fix: limiting number of async operations per time in insertMany #5529 andresattler
- fix: upgrade mongodb -> 2.2.30 #5517
- fix(browserDocument): prevent stack overflow caused by double-wrapping embedded doc save() in jest #5513
- fix(document): clear single nested doc when setting to empty object #5506
- fix(connection): emit reconnected and disconnected events correctly with useMongoClient #5498
- fix(populate): ensure nested virtual populate gets set even if top-level property is null #5431
-
v4.11.5 Changes
July 30, 2017- docs: fix link to $lookup #5516 TalhaAwan
- fix: better parallelization for eachAsync #5502 lchenay
- docs(document): copy docs for save from model to doc #5493
- fix(document): handle dotted virtuals in toJSON output #5473
- fix(populate): restore user-provided limit after mutating so cursor() works with populate limit #5468
- fix(query): don't throw StrictModeError if geo query with upsert #5467
- fix(populate): propagate readPreference from query to populate queries by default #5460
- docs: warn not to use arrow functions for statics and methods #5458
- fix(query): iterate over all condition keys for setDefaultsOnInsert #5455
- docs(connection): clarify server/replset/mongos option deprecation with useMongoClient #5442
-
v4.11.4 Changes
July 23, 2017- fix: handle next() errors in
eachAsync()
#5486 lchenay - fix(schema): propagate runSettersOnQuery option to implicitly created schemas #5479 [https://github.com/ValYouW]
- fix(query): run castConditions() correctly in update ops #5477
- fix(query): ensure castConditions called for findOne and findOneAnd* #5477
- docs: clarify relationship between $lookup and populate #5475 TalhaAwan
- test: add coverage for arrays of arrays zbjornson
- fix(middleware): ensure that error handlers for save get doc as 2nd param #5466
- fix: handle strict: false correctly #5454 #5453 wookieb
- fix(query): apply schema excluded paths if only projection is a $slice #5450
- fix(query): correct discriminator handling for schema
select: false
fields in schema #5448 - fix(cursor): call next() in series when parallel option used #5446
- chore: load bundled driver first to avoid packaging problem #5443 prototypeme
- fix(query): defer condition casting until final exec #5434
- fix(aggregate): don't rely on mongodb aggregate to put a cursor in the callback #5394
- docs(aggregate): add useMongooseAggCursor docs #5394
- docs(middleware): clarify context for document, query, and model middleware #5381
- fix: handle next() errors in
-
v4.11.3 Changes
July 14, 2017- fix(connection): remove .then() before resolving to prevent infinite recursion #5471
-
v4.11.2 Changes
July 13, 2017- docs: fix comment typo in connect example #5435 ConnorMcF
- fix(update): correctly cast document array in update validators with exec() #5430
- fix(connection): handle autoIndex with useMongoClient #5423
- fix(schema): handle
type: [Array]
in schemas #5416 - fix(timestamps): if overwrite is set and there's a $set, use $set instead of top-level update #5413
- fix(document): don't double-validate deeply nested doc array elements #5411
- fix(schematype): clone default objects so default not shared across object instances unless
shared
specified #5407 - fix(document): reset down the nested subdocs when resetting parent doc #5406
- fix: don't pass error arg twice to error handlers #5405
- fix(connection): make openUri() return connection decorated with then() and catch() #5404
- fix: enforce $set on an array must be an array #5403
- fix(document): don't crash if calling
validateSync()
after overwriting doc array index #5389 - fix(discriminator): ensure discriminator key doesn't count as user-selected field for projection #4629
-
v4.11.1 Changes
July 02, 2017- ๐ docs: populate virtuals fix justOne description #5427 fredericosilva
- fix(connection): make sure to call onOpen in openUri() #5404
- docs(query): justOne is actually single, and it default to false #5402 zbjornson
- docs: fix small typo in lib/schema.js #5398 #5396 pjo336
- fix: emit remove on single nested subdocs when removing parent #5388
- fix(update): handle update with defaults and overwrite but no update validators #5384
- fix(populate): handle undefined refPath values in middle of array #5377
- fix(document): ensure consistent setter context for single nested #5363
- fix(query): support runSettersOnQuery as query option #5350
- ๐ docs: populate virtuals fix justOne description #5427 fredericosilva
-
v4.11.0 Changes
June 25, 2017- feat(query): execute setters with query as context for
runSettersOnQuery
#5339 - feat(model): add translateAliases function #5338 rocketspacer
- feat(connection): add
useMongoClient
andopenUri
functions, deprecate current connect logic #5304 - refactor(schema): make id virtual not access doc internals #5279
- refactor: handle non-boolean lean #5279
- feat(cursor): add addCursorFlag() support to query and agg cursors #4814
- feat(cursor): add parallel option to eachAsync #4244
- feat(schema): allow setting custom error constructor for custom validators #4009
- feat(query): execute setters with query as context for
-
v4.10.8 Changes
June 21, 2017- docs: fix small formatting typo on schematypes #5374 gianpaj
- fix(model): allow null as an _id #5370
- fix(populate): don't throw async uncaught exception if model not found in populate #5364
- fix: correctly cast decimals in update #5361
- fix(error): don't use custom getter for ValidationError message #5359
- fix(query): handle runSettersOnQuery in built-in _id setter #5351
- fix(document): ensure consistent context for nested doc custom validators #5347