Skip to content

Commit

Permalink
chore: release 5.11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Dec 7, 2020
1 parent 6d9fb4d commit 0e2058d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions History.md
@@ -1,3 +1,22 @@
5.11.5 / 2020-12-07
===================
* fix(map): support `null` in maps of subdocs #9628
* fix(index.d.ts): support object syntax for `validate` #9667
* fix(index.d.ts): Allow number for Schema expires #9670 [alecgibson](https://github.com/alecgibson)
* fix(index.d.ts): allow definining arbitrary properties on SchemaTypeOpts for plugins like mongoose-autopopulate #9669
* fix(index.d.ts): add mongoose.models #9661 #9660 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
* fix(index.d.ts): allow the next() argument to be optional #9665 #9664 [sahasayan](https://github.com/sahasayan)
* fix(index.d.ts): add missing `VirtualType#applyGetters()` and `applySetters()`, `Schema#virtuals`, `Schema#childSchemas`, `Query#_mongooseOptions` #9658
* fix(index.d.ts): add `id` to LeanDocuments in case it is defined in the user's schema #9657
* fix(index.d.ts): add missing types for hook functions #9653
* fix(index.d.ts): improve support for strict null checks with `upsert` and `orFail()` #9654
* fix(index.d.ts): make return values for `insertMany()` more consistent #9662
* fix(index.d.ts): Change options in Connection#collection() to be optional #9663 [orgads](https://github.com/orgads)
* fix(index.d.ts): add the missing generic declaration for Schema #9655 [sahasayan](https://github.com/sahasayan)
* fix(index.d.ts): add missing `SchemaTypeOpts` and `ConnectionOptions` aliases for backwards compat
* docs(populate): remove `sort()` from `limit` example to avoid potential confusion #9584
* docs(compatibility): add MongoDB server 4.4 version compatibility #9641

5.11.4 / 2020-12-04
===================
* fix(index.d.ts): add `Document#__v` so documents have a Version by default #9652 [sahasayan](https://github.com/sahasayan)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "5.11.4",
"version": "5.11.5",
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"keywords": [
"mongodb",
Expand Down

0 comments on commit 0e2058d

Please sign in to comment.