Skip to content

Commit c4c932a

Browse files
committed
chore: release 8.5.0
1 parent bd91b4f commit c4c932a

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+
8.5.0 / 2024-07-08
2+
==================
3+
* perf: memoize toJSON / toObject default options #14672
4+
* feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #14699 #14268
5+
* feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #14691
6+
* feat: allow setting array default value to null #14717 #6691
7+
* feat(mongoose): allow drivers to set global plugins #14682
8+
* feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #14681 #14611
9+
* fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #14732 #9885
10+
* fix(query): remove count() and findOneAndRemove() from query chaining #14692 #14689
11+
* fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #14679 #8302
12+
* types(models+query): infer return type from schema for 1-level deep nested paths #14632
13+
* types(connection): make transaction() return type match the executor function #14661 #14656
14+
* docs: fix docs links in index.md [mirasayon](https://github.com/mirasayon)
15+
116
8.4.5 / 2024-07-05
217
==================
318
* types: correct this for validate.validator schematype option #14720 #14696

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

0 commit comments

Comments
 (0)