|
| 1 | +4.13.21 / 2020-07-12 |
| 2 | +==================== |
| 3 | + * fix(query): delete top-level `_bsontype` property in queries to prevent silent empty queries #8222 |
| 4 | + |
| 5 | +4.13.20 / 2020-01-07 |
| 6 | +==================== |
| 7 | + * fix(schema): make aliases handle mongoose-lean-virtuals #6069 |
| 8 | + |
| 9 | +4.13.19 / 2019-07-02 |
| 10 | +==================== |
| 11 | + * fix(aggregate): make `setOptions()` work as advertised #7950 #6011 [cdimitroulas](https://github.com/cdimitroulas) |
| 12 | + |
| 13 | +4.13.18 / 2019-01-21 |
| 14 | +==================== |
| 15 | + * fix(model): handle setting populated path set via `Document#populate()` #7302 |
| 16 | + * fix(cast): backport fix from #7290 to 4.x |
| 17 | + |
| 18 | +4.13.17 / 2018-08-30 |
| 19 | +==================== |
| 20 | + * fix(document): disallow setting `constructor` and `prototype` if strict mode false |
| 21 | + |
| 22 | +4.13.16 / 2018-08-30 |
| 23 | +==================== |
| 24 | + * fix(document): disallow setting __proto__ if strict mode false |
| 25 | + * feat(error): backport adding modified paths to VersionError #6928 [freewil](https://github.com/freewil) |
| 26 | + |
| 27 | +4.13.15 / 2018-08-14 |
| 28 | +==================== |
| 29 | + * fix(mongoose): add global `usePushEach` option for easier Mongoose 4.x + MongoDB 3.6 #6858 |
| 30 | + * chore: fix flakey tests for 4.x #6853 [Fonger](https://github.com/Fonger) |
| 31 | + * feat(error): add version number to VersionError #6852 [freewil](https://github.com/freewil) |
| 32 | + |
| 33 | +4.13.14 / 2018-05-25 |
| 34 | +==================== |
| 35 | + * fix(model): handle retainKeyOrder option in findOneAndUpdate() #6484 |
| 36 | + |
| 37 | +4.13.13 / 2018-05-17 |
| 38 | +==================== |
| 39 | + * fix(update): stop clobbering $in when casting update #6441 #6339 |
| 40 | + * fix: upgrade async -> 2.6.0 re: security warning |
| 41 | + |
| 42 | +4.13.12 / 2018-03-13 |
| 43 | +==================== |
| 44 | + * fix(document): make virtual get() return undefined instead of null if no getters #6223 |
| 45 | + * docs: fix url in useMongoClient error message #6219 #6217 [lineus](https://github.com/lineus) |
| 46 | + * fix(discriminator): don't copy `discriminators` property from base schema #6122 #6064 |
| 47 | + |
| 48 | +4.13.11 / 2018-02-07 |
| 49 | +==================== |
| 50 | + * docs: fix links in 4.x docs #6081 |
| 51 | + * chore: add release script that uses --tag for npm publish for 4.x releases #6063 |
| 52 | + |
| 53 | +4.13.10 / 2018-01-28 |
| 54 | +==================== |
| 55 | + * docs(model+query): add lean() option to Model helpers #5996 [aguyinmontreal](https://github.com/aguyinmontreal) |
| 56 | + * fix: use lazy loading so we can build mongoose with webpack #5993 #5842 |
| 57 | + * docs(connections): clarify multi-mongos with useMongoClient for 4.x docs #5984 |
| 58 | + * fix(populate): handle populating embedded discriminator paths #5970 |
| 59 | + * docs(query+aggregate): add more detail re: maxTimeMS #4066 |
| 60 | + |
| 61 | +4.13.9 / 2018-01-07 |
| 62 | +=================== |
| 63 | + * chore: update marked (dev dependency) re: security vulnerability #5951 [ChristianMurphy](https://github.com/ChristianMurphy) |
| 64 | + * fix: upgrade mongodb -> 2.2.34 for ipv6 and autoReconnect fixes #5794 #5760 |
| 65 | + * docs: use useMongooseAggCursor for aggregate docs #2955 |
| 66 | + |
| 67 | +4.13.8 / 2017-12-27 |
| 68 | +=================== |
| 69 | + * docs(guide): use more up-to-date syntax for autoIndex example #5933 |
| 70 | + * docs: fix grammar #5927 [abagh0703](https://github.com/abagh0703) |
| 71 | + * fix: propagate lean options to child schemas #5914 |
| 72 | + * fix(populate): use correct model with discriminators + nested populate #5858 |
| 73 | + |
| 74 | +4.13.7 / 2017-12-11 |
| 75 | +=================== |
| 76 | + * docs(schematypes): fix typo #5889 [gokaygurcan](https://github.com/gokaygurcan) |
| 77 | + * fix(cursor): handle `reject(null)` with eachAsync callback #5875 #5874 [ZacharyRSmith](https://github.com/ZacharyRSmith) |
| 78 | + * fix: disallow setting `mongoose.connection` to invalid values #5871 [jinasonlin](https://github.com/jinasonlin) |
| 79 | + * docs(middleware): suggest using `return next()` to stop middleware execution #5866 |
| 80 | + * docs(connection): improve connection string query param docs #5864 |
| 81 | + * fix(document): run validate hooks on array subdocs even if not directly modified #5861 |
| 82 | + * fix(discriminator): don't treat $meta as defining projection when querying #5859 |
| 83 | + * fix(types): handle Decimal128 when using bson-ext on server side #5850 |
| 84 | + * fix(document): ensure projection with only $slice isn't treated as inclusive for discriminators #4991 |
| 85 | + * fix(model): throw error when passing non-object to create() #2037 |
| 86 | + |
| 87 | +4.13.6 / 2017-12-02 |
| 88 | +=================== |
| 89 | + * fix(schema): support strictBool option in schema #5856 [ekulabuhov](https://github.com/ekulabuhov) |
| 90 | + * fix(update): make upsert option consistently handle truthy values, not just booleans, for updateOne() #5839 |
| 91 | + * refactor: remove unnecessary constructor check #2057 |
| 92 | + * docs(query): correct function signature for .mod() helper #1806 |
| 93 | + * fix(query): report ObjectParameterError when passing non-object as filter to find() and findOne() #1698 |
| 94 | + |
| 95 | +4.13.5 / 2017-11-24 |
| 96 | +=================== |
| 97 | + * fix(model): handle update cast errors correctly with bulkWrite #5845 [Michael77](https://github.com/Michael77) |
| 98 | + * docs: add link to bufferCommands option #5844 [ralphite](https://github.com/ralphite) |
| 99 | + * fix(model): allow virtual ref function to return arrays #5834 [brunohcastro](https://github.com/brunohcastro) |
| 100 | + * fix(query): don't throw uncaught error if query filter too big #5812 |
| 101 | + * fix(document): if setting unselected nested path, don't overwrite nested path #5800 |
| 102 | + * fix(document): support calling `populate()` on nested document props #5703 |
| 103 | + * fix: add `strictBool` option for schema type boolean #5344 #5211 #4245 |
| 104 | + * docs(faq): add faq re: typeKey #1886 |
| 105 | + * docs(query): add more detailed docs re: options #1702 |
| 106 | + |
| 107 | +4.13.4 / 2017-11-17 |
| 108 | +=================== |
| 109 | + * fix(aggregate): add chainable .option() helper for setting arbitrary options #5829 |
| 110 | + * fix(aggregate): add `.pipeline()` helper to get the current pipeline #5825 |
| 111 | + * docs: grammar fixes for `unique` FAQ #5823 [mfluehr](https://github.com/mfluehr) |
| 112 | + * chore: add node 9 to travis #5822 [superheri](https://github.com/superheri) |
| 113 | + * fix(model): fix infinite recursion with recursive embedded discriminators #5821 [Faibk](https://github.com/Faibk) |
| 114 | + |
| 115 | +4.13.3 / 2017-11-15 |
| 116 | +=================== |
| 117 | + * chore: add node 8 to travis #5818 [superheri](https://github.com/superheri) |
| 118 | + * fix(document): don't apply transforms to nested docs when updating already saved doc #5807 |
| 119 | + |
| 120 | +4.13.2 / 2017-11-11 |
| 121 | +=================== |
| 122 | + * feat(buffer): add support for subtype prop #5530 |
| 123 | + |
| 124 | +4.13.1 / 2017-11-08 |
| 125 | +=================== |
| 126 | + * fix: accept multiple paths or array of paths to depopulate #5798 #5797 [adamreisnz](https://github.com/adamreisnz) |
| 127 | + * fix(document): pass default array as actual array rather than taking first element #5780 |
| 128 | + * fix(model): increment version when $set-ing it in a save() that requires a version bump #5779 |
| 129 | + * fix(query): don't explicitly project in discriminator key if user projected in parent path #5775 #5754 |
| 130 | + * fix(model): cast query option to geoNear() #5765 |
| 131 | + * fix(query): don't treat projection with just $slice as inclusive #5737 |
| 132 | + * fix(discriminator): defer applying embedded discriminator hooks until top-level model is compiled #5706 |
| 133 | + * docs(discriminator): add warning to always attach hooks before calling discriminator() #5706 |
| 134 | + |
| 135 | +4.13.0 / 2017-11-02 |
| 136 | +=================== |
| 137 | + * feat(aggregate): add $addFields helper #5740 [AyushG3112](https://github.com/AyushG3112) |
| 138 | + * feat(connection): add connection-level bufferCommands #5720 |
| 139 | + * feat(connection): add createCollection() helper #5712 |
| 140 | + * feat(populate): support setting localField and foreignField to functions #5704 #5602 |
| 141 | + * feat(query): add multipleCastError option for aggregating cast errors when casting update #5609 |
| 142 | + * feat(populate): allow passing a function to virtual ref #5602 |
| 143 | + * feat(schema): add excludeIndexes option to optionally prevent collecting indexes from nested schemas #5575 |
| 144 | + * feat(model): report validation errors from `insertMany()` if using `ordered: false` and `rawResult: true` #5337 |
| 145 | + * feat(aggregate): add pre/post aggregate middleware #5251 |
| 146 | + * feat(schema): allow using `set` as a schema path #1939 |
| 147 | + |
1 | 148 | 4.12.6 / 2017-11-01
|
2 | 149 | ===================
|
3 | 150 | * fix(schema): make clone() copy query helpers correctly #5752
|
|
0 commit comments