Skip to content

Commit f5ee642

Browse files
committed
chore: release 6.5.0
1 parent 204bef9 commit f5ee642

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
6.5.0 / 2022-07-26
2+
==================
3+
* perf(document): avoid creating unnecessary empty objects when creating a state machine #11988
4+
* feat: upgrade mongodb driver -> 4.8.1 #12103 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
5+
* feat(model): allow passing timestamps option to Model.bulkSave(...) #12082 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
6+
* feat(model): add castObject() function that casts a POJO to the model's schema #11945
7+
* feat(document): add $inc() helper that increments numeric paths #12115
8+
* feat(schema): add schema level lean option [IslandRhythms](https://github.com/IslandRhythms)
9+
* feat(schema): add global id option to disable id on schemas #12067 [IslandRhythms](https://github.com/IslandRhythms)
10+
* fix(connection): re-run Model.init() if re-connecting after explicitly closing a connection #12130
11+
* feat(model): add applyDefaults() helper that allows applying defaults to document or POJO #11945
12+
* feat(model): allow calling hydrate() with { setters: true } #11653
13+
* feat(model): add hydrate option to Model.watch() to automatically hydrate fullDocument #12121
14+
* feat(types): add support for automatically typed virtuals in schemas #11908 [mohammad0-0ahmad](https://github.com/mohammad0-0ahmad)
15+
116
6.4.7 / 2022-07-25
217
==================
318
* fix(virtualtype): use $locals for default virtual getter/setter rather than top-level doc #12124

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": "6.4.7",
4+
"version": "6.5.0",
55
"author": "Guillermo Rauch <[email protected]>",
66
"keywords": [
77
"mongodb",

0 commit comments

Comments
 (0)