From d64f4817afb1ec8e15a836aa50954fc21d740357 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Fri, 14 Feb 2025 11:53:53 -0500 Subject: [PATCH] chore: release 8.10.1 --- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 073c270e17..73a9b919f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +8.10.1 / 2025-02-14 +=================== + * perf(document): only call undoReset() 1x/document #15257 #15255 + * perf(schema): clear childSchemas when overwriting existing path to avoid performance degradations #15256 #15253 + * perf: some more micro optimizations for find() and findOne() #14906 #15250 + * fix(model): avoid adding timeout on Model.init() buffering to avoid unintentional dangling open handles #15251 #15241 + * fix: avoid connection buffering on init if autoCreate: false #15247 #15241 + * fix: infer discriminator key if set in $set with overwriteDiscriminatorKey #15243 #15218 + * types(middleware): make this in document middleware the hydrated doc type, not raw doc type #15246 #15242 + * types(schema): support options parameter to Schema.prototype.discriminator() #15249 #15244 + * types(schema): allow calling Schema.prototype.number() with no message arg #15237 #15236 + * docs(typescript): recommend using HydratedSingleSubdocument over Types.Subdocument #15240 #15211 + 8.10.0 / 2025-02-05 =================== * feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema #15184 #11162 diff --git a/package.json b/package.json index 325c1a7528..eaebf46fc9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "8.10.0", + "version": "8.10.1", "author": "Guillermo Rauch ", "keywords": [ "mongodb",