Skip to content

Commit 0e2058d

Browse files
committedDec 7, 2020
chore: release 5.11.5
1 parent 6d9fb4d commit 0e2058d

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed
 

‎History.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
5.11.5 / 2020-12-07
2+
===================
3+
* fix(map): support `null` in maps of subdocs #9628
4+
* fix(index.d.ts): support object syntax for `validate` #9667
5+
* fix(index.d.ts): Allow number for Schema expires #9670 [alecgibson](https://github.com/alecgibson)
6+
* fix(index.d.ts): allow definining arbitrary properties on SchemaTypeOpts for plugins like mongoose-autopopulate #9669
7+
* fix(index.d.ts): add mongoose.models #9661 #9660 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
8+
* fix(index.d.ts): allow the next() argument to be optional #9665 #9664 [sahasayan](https://github.com/sahasayan)
9+
* fix(index.d.ts): add missing `VirtualType#applyGetters()` and `applySetters()`, `Schema#virtuals`, `Schema#childSchemas`, `Query#_mongooseOptions` #9658
10+
* fix(index.d.ts): add `id` to LeanDocuments in case it is defined in the user's schema #9657
11+
* fix(index.d.ts): add missing types for hook functions #9653
12+
* fix(index.d.ts): improve support for strict null checks with `upsert` and `orFail()` #9654
13+
* fix(index.d.ts): make return values for `insertMany()` more consistent #9662
14+
* fix(index.d.ts): Change options in Connection#collection() to be optional #9663 [orgads](https://github.com/orgads)
15+
* fix(index.d.ts): add the missing generic declaration for Schema #9655 [sahasayan](https://github.com/sahasayan)
16+
* fix(index.d.ts): add missing `SchemaTypeOpts` and `ConnectionOptions` aliases for backwards compat
17+
* docs(populate): remove `sort()` from `limit` example to avoid potential confusion #9584
18+
* docs(compatibility): add MongoDB server 4.4 version compatibility #9641
19+
120
5.11.4 / 2020-12-04
221
===================
322
* fix(index.d.ts): add `Document#__v` so documents have a Version by default #9652 [sahasayan](https://github.com/sahasayan)

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mongoose",
33
"description": "Mongoose MongoDB ODM",
4-
"version": "5.11.4",
4+
"version": "5.11.5",
55
"author": "Guillermo Rauch <guillermo@learnboost.com>",
66
"keywords": [
77
"mongodb",

0 commit comments

Comments
 (0)