Skip to content

Commit

Permalink
chore: release 6.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Oct 8, 2021
1 parent e2aeac8 commit 2f28498
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
6.0.10 / 2021-10-08
===================
* fix(query): add back strictQuery option to avoid empty filter issues, tie it to `strict` by default for compatibility #10781 #10763
* fix(model): avoid unnecessarily dropping text indexes in `syncIndexes()` #10851 #10850 [IslandRhythms](https://github.com/IslandRhythms)
* fix(query): avoid trying to call toArray() on cursor if find() error occurred #10845
* fix: accepts uppercase values in mongoose.isValidObjectId #10846 [foxadb](https://github.com/foxadb)
* perf(document): further reduce unnecessary objects and keys to minimize document memory overhead #10400
* fix(index.d.ts): restore unpacked type and avoid distributive conditional types #10859 [dbellavista](https://github.com/dbellavista)
* fix(index.d.ts): add correct null typings for `findOneAndUpdate()` and `findByIdAndUpdate()` #10820
* fix(index.d.ts): make insertMany() correctly return Promise<Array> if passing single document to `insertMany()` #10802
* fix(index.d.ts): avoid weird issue where TypeScript 4.3.x and 4.4.x makes string extend Function #10746
* fix(index.d.ts): allow type: `SchemaTypeOptions[]` when defining schema #10789
* fix(index.d.ts): allow using `$in` with enum fields #10757 #10734
* fix(index.d.ts): add missing fields and options params to Model constructor #10817
* fix(index.d.ts): support extending type for mongoose.models #10806 [MunifTanjim](https://github.com/MunifTanjim)
* docs: enhance docs section linking #10779 [saveman71](https://github.com/saveman71)
* docs(middleware): add missing query middleware #10721
* docs: fix typo #10853 [mdatif796](https://github.com/mdatif796)
* docs: add missing to #10848 [digidub](https://github.com/digidub)

5.13.10 / 2021-10-05
====================
* fix(index.d.ts): allow using type: SchemaDefinitionProperty in schema definitions #10674
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "6.0.9",
"version": "6.0.10",
"author": "Guillermo Rauch <[email protected]>",
"keywords": [
"mongodb",
Expand Down

0 comments on commit 2f28498

Please sign in to comment.