From c4c932a03ab3eeaef760dca4f6d60a738af58dc7 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 8 Jul 2024 16:42:08 -0400 Subject: [PATCH] chore: release 8.5.0 --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1da05718451..d7f2da7e9f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +8.5.0 / 2024-07-08 +================== + * perf: memoize toJSON / toObject default options #14672 + * feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #14699 #14268 + * feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #14691 + * feat: allow setting array default value to null #14717 #6691 + * feat(mongoose): allow drivers to set global plugins #14682 + * feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #14681 #14611 + * fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #14732 #9885 + * fix(query): remove count() and findOneAndRemove() from query chaining #14692 #14689 + * fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #14679 #8302 + * types(models+query): infer return type from schema for 1-level deep nested paths #14632 + * types(connection): make transaction() return type match the executor function #14661 #14656 + * docs: fix docs links in index.md [mirasayon](https://github.com/mirasayon) + 8.4.5 / 2024-07-05 ================== * types: correct this for validate.validator schematype option #14720 #14696 diff --git a/package.json b/package.json index 5e73e557003..8e2d22784d2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "8.4.5", + "version": "8.5.0", "author": "Guillermo Rauch ", "keywords": [ "mongodb",