All Versions
655
Latest Version
Avg Release Cycle
7 days
Latest Release
481 days ago

Changelog History
Page 34

  • v4.6.5 Changes

    October 23, 2016
    • docs: fix grammar issues #4642 #4640 #4639 silvermanj7
    • fix(populate): filter out nonexistant values for dynref #4637
    • fix(query): handle $type as a schematype operator #4632
    • fix(schema): better handling for uppercase: false and lowercase: false #4622
    • fix(query): don't run transforms on updateForExec() #4621
    • fix(query): handle id = 0 in findById #4610
    • fix(query): handle buffers in mergeClone #4609
    • fix(document): handle undefined with conditional validator for validateSync #4607
    • fix: upgrade to mongodb driver 2.2.11 #4581
    • docs(schematypes): clarify schema.path() #4518
    • fix(query): ensure path is defined before checking in timestamps #4514
    • fix(model): set version key in upsert #4505
    • fix(document): never depopulate top-level doc #3057
    • refactor: ensure sync for setting non-capped collections #2690
  • v4.6.4 Changes

    October 16, 2016
    • fix(query): cast $not correctly #4616 #4592 prssn
    • fix: address issue with caching global plugins #4608 #4601 TrejGun
    • fix(model): make sure to depopulate in insertMany #4590
    • fix(model): buffer autoIndex if bufferCommands disabled #4589
    • fix(populate): copy ids array before modifying #4585
    • feat(schema): add retainKeyOrder prop #4542
    • fix(document): return isModified true for children of direct modified paths #4528
    • fix(connection): add dropDatabase() helper #4490
    • fix(model): add usePushEach option for schemas #4455
    • docs(connections): add some warnings about buffering #4413
    • fix: add ability to set promise implementation in browser #4395
  • v4.6.3 Changes

    October 05, 2016
    • fix(document): ensure single nested docs get initialized correctly when setting nested paths #4578
    • fix: turn off transforms when writing nested docs to db #4574
    • fix(document): don't set single nested subdocs to null when removing parent doc #4566
    • fix(model): ensure versionKey gets set in insertMany #4561
    • fix(schema): handle typeKey in arrays #4548
    • feat(schema): set $implicitlyCreated on schema if created by interpretAsType #4443
  • v4.6.2 Changes

    September 30, 2016
    • chore: upgrade to async 2.0.1 internally #4579 billouboq
    • fix(types): ensure nested single doc schema errors reach update validators #4557 #4519
    • fix(connection): handle rs names with leading numbers (muri 1.1.1) #4556
    • fix(model): don't throw if method name conflicts with Object.prototype prop #4551
    • docs: fix broken link #4544 VFedyk
    • fix: allow overwriting model on mongoose singleton #4541 Nainterceptor
    • fix(document): don't use init: true when building doc defaults #4540
    • fix(connection): use replSet option if replset not specified #4535
    • fix(query): cast $not objects #4495
  • v4.6.1 Changes

    September 20, 2016
    • fix(query): improve handling of $not with $elemMatch #4531 #3719 timbowhite
    • fix: upgrade mongodb -> 2.2.10 #4517
    • chore: fix webpack build issue #4512 saiichihashimoto
    • fix(query): emit error on next tick when exec callback errors #4500
    • test: improve test case #4496 isayme
    • fix(schema): use same check for array types and top-level types #4493
    • style: fix indentation in docs #4489 dhurlburtusa
    • fix(schema): expose original object passed to constructor #4486
    • fix(query): handle findOneAndUpdate with array of arrays #4484 #4470 fedotov
    • feat(document): add $ignore to make a path ignored #4480
    • fix(query): properly handle setting single embedded in update #4475 #4466 #4465
    • fix(updateValidators): handle single nested schema subpaths correctly #4479
    • fix(model): throw handy error when method name conflicts with property name #4475
    • fix(schema): handle .set() with array field #4472
    • fix(query): check nested path when avoiding double-validating Mixed #4441
    • fix(schema): handle calling path.trim() with no args correctly #4042
  • v4.6.0 Changes

    September 02, 2016
    • docs(document): clarify the findById and findByIdAndUpdate examples #4471 mdcanham
    • docs(schematypes): add details re: options #4452
    • docs(middleware): add docs for insertMany hooks #4451
    • fix(schema): create new array when copying from existing object to preserve change tracking #4449
    • docs: fix typo in index.jade #4448
    • fix(query): allow array for populate options #4446
    • fix(model): create should not cause unhandle reject promise #4439
    • fix: upgrade to mongodb driver 2.2.9 #4363 #4341 #4311 (see comments here if you use node 0.10)
  • v4.5.10 Changes

    August 23, 2016
    • docs: fix typo on documents.jade #4444 Gabri3l
    • chore: upgrade mocha to 3.0.2 #4437 TrejGun
    • fix: subdocuments causing error with parent timestamp on update #4434 dyang108
    • fix(query): don't crash if timestamps on and update doesn't have a path #4425 #4424 #4418
    • fix(query): ensure single nested subdoc is hydrated when running update validators #4420
    • fix(query): cast non-$geometry operators for $geoWithin #4419
    • docs: update contributor count #4415 AdamZaczek
    • docs: add more clarification re: the index event #4410
    • fix(document): only skip modifying subdoc path if parent is direct modified #4405
    • fix(schema): throw cast error if provided date invalid #4404
    • feat(error): use util.inspect() so CastError never prints "[object Object]" #4398
    • fix(model): dont error if the discriminator key is unchanged #4387
    • fix(query): don't throw unhandled rejection with bluebird when using cbs #4379
  • v4.5.9 Changes

    August 14, 2016
    • docs: add mixed schema doc for Object literal #4400 Kikobeats
    • fix(query): cast $geoWithin and convert mongoose objects to POJOs before casting #4392
    • fix(schematype): dont cast defaults without parent doc #4390
    • fix(query): disallow passing empty string to findOne() #4378
    • fix(document): set single nested doc isNew correctly #4369
    • fix(types): checks field name correctly with nested arrays and populate #4365
    • fix(drivers): make debug output copy-pastable into mongodb shell #4352
    • fix(services): run update validators on nested paths #4332
    • fix(model): handle typeKey with discriminators #4339
    • fix(query): apply timestamps to child schemas when explicitly specified in update #4049
    • fix(schema): set prefix as nested path with add() #1730
  • v4.5.8 Changes

    August 01, 2016
    • fix(model): make changing the discriminator key cause a cast error #4374
    • fix(query): pass projection fields to cursor #4371 #4342 Corei13
    • fix(document): support multiple paths for isModified #4370 adambuczynski
    • fix(querycursor): always cast fields before returning cursor #4355
    • fix(query): support projection as alias for fields in findOneAndUpdate #4315
    • fix(schema): treat index false + unique false as no index #4304
    • fix(types): dont mark single nested subpath as modified if whole doc already modified #4224
  • v4.5.7 Changes

    July 25, 2016
    • fix(document): ensure no unhandled rejections if callback specified for save #4364