|
| 1 | +8.9.5 / 2025-01-13 |
| 2 | +================== |
| 3 | + * fix: disallow nested $where in populate match |
| 4 | + * fix(schema): handle bitwise operators on Int32 #15176 #15170 |
| 5 | + |
| 6 | +7.8.4 / 2025-01-13 |
| 7 | +=================== |
| 8 | + * fix: disallow nested $where in populate match |
| 9 | + |
| 10 | +6.13.6 / 2025-01-13 |
| 11 | +=================== |
| 12 | + * fix: disallow nested $where in populate match |
| 13 | + |
| 14 | +8.9.4 / 2025-01-09 |
| 15 | +================== |
| 16 | + * fix(document): fix document not applying manual populate when using a function in schema.options.ref #15138 [IchirokuXVI](https://github.com/IchirokuXVI) |
| 17 | + * fix(model): make Model.validate() static correctly cast document arrays #15169 #15164 |
| 18 | + * fix(model): allow passing validateBeforeSave option to bulkSave() to skip validation #15161 #15156 |
| 19 | + * fix(schema): allow multiple self-referencing discriminator schemas using Schema.prototype.discriminator #15142 #15120 |
| 20 | + * types: avoid BufferToBinary<> wiping lean types when passed to generic functions #15160 #15158 |
| 21 | + * docs: fix `<code>` in header ids #15159 |
| 22 | + * docs: fix header in field-level-encryption.md #15137 [damieng](https://github.com/damieng) |
| 23 | + |
| 24 | +8.9.3 / 2024-12-30 |
| 25 | +================== |
| 26 | + * fix(schema): make duplicate index error a warning for now to prevent blocking upgrading #15135 #15112 #15109 |
| 27 | + * fix(model): handle document array paths set to non-array values in Model.castObject() #15124 #15075 |
| 28 | + * fix(document): avoid using childSchemas.path for compatibility with pre-Mongoose-8.8 schemas #15131 #15071 |
| 29 | + * fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #15126 |
| 30 | + * perf(cursor): clear the stack every time if using populate with batchSize to avoid stack overflows with large docs #15136 #10449 |
| 31 | + * types: make BufferToBinary avoid Document instances #15123 #15122 |
| 32 | + * types(model+query): avoid stripping out virtuals when calling populate with paths generic #15132 #15111 |
| 33 | + * types(schema): add missing removeIndex #15134 |
| 34 | + * types: add cleanIndexes() to IndexManager interface #15127 |
| 35 | + * docs: move search endpoint to netlify #15119 |
| 36 | + |
| 37 | +8.9.2 / 2024-12-19 |
| 38 | +================== |
| 39 | + * fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name #15112 #15109 |
| 40 | + * fix(map): clean modified subpaths when overwriting values in map of subdocs #15114 #15108 |
| 41 | + * fix(aggregate): pull session from transaction local storage for aggregation cursors #15094 [IchirokuXVI](https://github.com/IchirokuXVI) |
| 42 | + * types: correctly handle union types in BufferToBinary and related helpers #15103 #15102 #15057 |
| 43 | + * types: add UUID to RefType #15115 #15101 |
| 44 | + * docs: remove link to Mongoose 5.x docs from dropdown #15116 |
| 45 | + * docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() #15113 #15107 |
| 46 | + |
| 47 | +8.9.1 / 2024-12-16 |
| 48 | +================== |
| 49 | + * fix(connection): remove heartbeat check in load balanced mode #15089 #15042 #14812 |
| 50 | + * fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs #15099 #15088 #15092 |
| 51 | + * fix(model): handle discriminators in castObject() #15096 #15075 |
| 52 | + * fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call #15093 #15056 |
| 53 | + * fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc #15080 #15048 |
| 54 | + * fix(document+schema): improve error message for get() on invalid path #15098 #15071 |
| 55 | + * docs: remove more callback doc references & some small other changes #15095 |
| 56 | + |
| 57 | +8.9.0 / 2024-12-13 |
| 58 | +================== |
| 59 | + * feat: upgrade mongodb -> 6.12 |
| 60 | + * feat: add int32 schematype #15054 [aditi-khare-mongoDB](https://github.com/aditi-khare-mongoDB) |
| 61 | + * feat: add double schematype #15061 [aditi-khare-mongoDB](https://github.com/aditi-khare-mongoDB) |
| 62 | + * feat: allow specifying error message override for duplicate key errors unique: true #15059 #12844 |
| 63 | + * feat(connection): add support for Connection.prototype.bulkWrite() with MongoDB server 8.0 #15058 #15028 |
| 64 | + * feat: add forceRepopulate option for populate() to allow avoiding repopulating already populated docs #15044 #14979 |
| 65 | + * fix(connection): remove heartbeat check in load balanced mode #15089 #15042 |
| 66 | + * fix(query): clone PopulateOptions when setting _localModel to avoid state leaking between subpopulate instances #15082 #15026 |
| 67 | + * types: add splice() to DocumentArray to allow adding partial objects with splice() #15085 #15041 |
| 68 | + * types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators #15087 [mlomnicki](https://github.com/mlomnicki) |
| 69 | + * docs: Remove merge conflict markers #15090 [sponrad](https://github.com/sponrad) |
| 70 | + |
| 71 | +8.8.4 / 2024-12-05 |
| 72 | +================== |
| 73 | + * fix: cast using overwritten embedded discriminator key when set #15076 #15051 |
| 74 | + * fix: avoid throwing error if saveOptions undefined when invalidating subdoc cache #15062 |
| 75 | + |
| 76 | +8.8.3 / 2024-11-26 |
| 77 | +================== |
| 78 | + * fix: disallow using $where in match |
| 79 | + * perf: cache results from getAllSubdocs() on saveOptions, only loop through known subdoc properties #15055 #15029 |
| 80 | + * fix(model+query): support overwriteDiscriminatorKey for bulkWrite updateOne and updateMany, allow inferring discriminator key from update #15046 #15040 |
| 81 | + |
| 82 | +7.8.3 / 2024-11-26 |
| 83 | +================== |
| 84 | + * fix: disallow using $where in match |
| 85 | + * fix(projection): avoid setting projection to unknown exclusive/inclusive if elemMatch on a Date, ObjectId, etc. #14894 #14893 |
| 86 | + * docs(migrating_to_7): add note about keepAlive to Mongoose 7 migration guide #15032 #13431 |
| 87 | + |
| 88 | +6.13.5 / 2024-11-26 |
| 89 | +=================== |
| 90 | + * fix: disallow using $where in match |
| 91 | + |
| 92 | +8.8.2 / 2024-11-18 |
| 93 | +================== |
| 94 | + * fix(model): handle array filters when casting bulkWrite #15036 #14978 |
| 95 | + * fix(model): make diffIndexes() avoid trying to drop default timeseries collection index #15035 #14984 |
| 96 | + * fix: save execution stack in query as string #15039 [durran](https://github.com/durran) |
| 97 | + * types(cursor): correct asyncIterator and asyncDispose for TypeScript with lib: 'esnext' #15038 |
| 98 | + * docs(migrating_to_8): add note about removing findByIdAndRemove #15024 [dragontaek-lee](https://github.com/dragontaek-lee) |
| 99 | + |
| 100 | +6.13.4 / 2024-11-15 |
| 101 | +=================== |
| 102 | + * fix: save execution stack in query as string #15043 #15039 |
| 103 | + * docs: clarify strictQuery default will flip-flop in "Migrating to 6.x" #14998 [markstos](https://github.com/markstos) |
| 104 | + |
| 105 | +8.8.1 / 2024-11-08 |
| 106 | +================== |
| 107 | + * perf: make a few micro-optimizations to help speed up findOne() #15022 #14906 |
| 108 | + * fix: apply embedded discriminators to subdoc schemas before compiling top level model so middleware applies correctly #15001 #14961 |
| 109 | + * fix(query): add overwriteImmutable option to allow updating immutable properties without disabling strict mode #15000 #8619 |
| 110 | + |
1 | 111 | 8.8.0 / 2024-10-31 |
2 | 112 | ================== |
3 | 113 | * feat: upgrade mongodb -> ~6.10 #14991 #14877 |
|
13 | 123 | * types: use globalThis instead of global for NativeDate #14992 #14988 |
14 | 124 | * docs(change-streams): fix markdown syntax highlighting for script output example #14994 |
15 | 125 |
|
16 | | - |
17 | 126 | 8.7.3 / 2024-10-25 |
18 | 127 | ================== |
19 | 128 | * fix(cursor): close underlying query cursor when calling destroy() #14982 #14966 |
|
61 | 170 | ================== |
62 | 171 | * fix(projection): avoid setting projection to unknown exclusive/inclusive if elemMatch on a Date, ObjectId, etc. #14894 #14893 |
63 | 172 |
|
| 173 | +6.13.3 / 2024-09-23 |
| 174 | +=================== |
| 175 | + * docs(migrating_to_6): document that Lodash _.isEmpty() with ObjectId() as a parameter returns true in Mongoose 6 #11152 |
| 176 | + |
64 | 177 | 8.6.3 / 2024-09-17 |
65 | 178 | ================== |
66 | 179 | * fix: make getters convert uuid to string when calling toObject() and toJSON() #14890 #14869 |
|
181 | 294 | ================== |
182 | 295 | * feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #14599 #14587 #14572 #13410 |
183 | 296 |
|
184 | | -<<<<<<< HEAD |
185 | 297 | 8.4.3 / 2024-06-17 |
186 | 298 | ================== |
187 | 299 | * fix: remove 0x flamegraph files from release |
|
194 | 306 | * fix(connection): fix up some inconsistencies in operation-end event and add to docs #14659 #14648 |
195 | 307 | * types: avoid inferring Boolean, Buffer, ObjectId as Date in schema definitions under certain circumstances #14667 #14630 |
196 | 308 | * docs: add note about parallelism in transations #14647 [fiws](https://github.com/fiws) |
197 | | -======= |
| 309 | + |
198 | 310 | 6.13.1 / 2024-09-06 |
199 | 311 | =================== |
200 | 312 | * fix: remove empty $and, $or, $not that were made empty by scrict mode #14749 #13086 [0x0a0d](https://github.com/0x0a0d) |
201 | | ->>>>>>> 7.x |
202 | 313 |
|
203 | 314 | 6.13.0 / 2024-06-06 |
204 | 315 | =================== |
|
1021 | 1132 | * fix(document): isModified should not be triggered when setting a nested boolean to the same value as previously #12994 [lpizzinidev](https://github.com/lpizzinidev) |
1022 | 1133 | * fix(document): save newly set defaults underneath single nested subdocuments #13002 #12905 |
1023 | 1134 | * fix(update): handle custom discriminator model name when casting update #12947 [wassil](https://github.com/wassil) |
1024 | | - * fix(connection): handles unique autoincrement ID for connections #12990 [lpizzinidev](https://github.com/lpizzinidev) |
| 1135 | + * fix(connection): handles unique autoincrement ID for connections #12990 [lpizzinidev](https://github.com/lpizzinidev) |
1025 | 1136 | * fix(types): fix type of options of Model.aggregate #12933 [ghost91-](https://github.com/ghost91-) |
1026 | 1137 | * fix(types): fix "near" aggregation operator input type #12954 [Jokero](https://github.com/Jokero) |
1027 | 1138 | * fix(types): add missing Top operator to AccumulatorOperator type declaration #12952 [lpizzinidev](https://github.com/lpizzinidev) |
|
1050 | 1161 | * docs(typescript): add notes about virtual context to Mongoose 6 migration and TypeScript virtuals docs #12912 #12806 |
1051 | 1162 | * docs(schematypes): removed dead link and fixed formatting #12897 #12885 [lpizzinidev](https://github.com/lpizzinidev) |
1052 | 1163 | * docs: fix link to lean api #12910 [manniL](https://github.com/manniL) |
1053 | | - * docs: list all possible strings for schema.pre in one place #12868 |
| 1164 | + * docs: list all possible strings for schema.pre in one place #12868 |
1054 | 1165 | * docs: add list of known incompatible npm packages #12892 [IslandRhythms](https://github.com/IslandRhythms) |
1055 | 1166 |
|
1056 | 1167 | 6.8.3 / 2023-01-06 |
|
0 commit comments