From 17785a580b910599cfef4a453c6d29aa482e602c Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 26 Sep 2022 12:23:49 -0400 Subject: [PATCH] chore: release 6.6.2 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03ce0a45b66..6b3c183cc73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +6.6.2 / 2022-09-26 +================== + * fix(model): avoid deleting shared schema methods in fix for #12254 #12423 + * fix(document): set $inc default value in case field has not been specified on the document #12435 [lpizzinidev](https://github.com/lpizzinidev) + * fix(query): handle `select: false` on map paths in query results #12467 [lpizzinidev](https://github.com/lpizzinidev) + * fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319 + * fix(types): add sanitizeFilter to types #12465 [zrosenbauer](https://github.com/zrosenbauer) + * fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242 + * docs(validation): add section on global schematype validation, clean up other issues #12430 + * docs: add clarification about overwrite flag in model.js #12447 [Tzvika-m](https://github.com/Tzvika-m) + * docs: change to consistent "Example:" for jsdoc comments #12432 [hasezoey](https://github.com/hasezoey) + 6.6.1 / 2022-09-14 ================== * fix: correctly apply defaults after subdoc init #12328 diff --git a/package.json b/package.json index 5a2fc5d5a64..b139e9cc655 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "6.6.1", + "version": "6.6.2", "author": "Guillermo Rauch ", "keywords": [ "mongodb",