From 8b7b67dae35df854e23b0ac34920b1c4a92bd176 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 7 Feb 2022 17:04:09 -0500 Subject: [PATCH] chore: release 6.2.1 --- CHANGELOG.md | 21 +++++++++++++++++++++ package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bbee925098..0bce9d536cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +6.2.1 / 2022-02-07 +================== + * perf: improve performance especially of validate and clone #11298 [Uzlopak](https://github.com/Uzlopak) + * perf: remove regexp-clone #11327 [Uzlopak](https://github.com/Uzlopak) + * fix(document): handle initing nested properties in non-strict documents #11309 + * fix(query): cast $elemMatch underneath $all #11314 + * fix(populate): respect schema-level strictPopulate option #11290 + * fix: set default for dotted path projection #11293 [noseworthy](https://github.com/noseworthy) + * fix(model): correctly handle writeConcern.w = 0 when saving #11300 + * fix(model): throw VersionError when saving with no changes and optimisticConcurrency = true #11295 + * fix(query): avoid adding $each to $addToSet on mixed arrays #11284 + * fix(index.d.ts): allow using type: [Schema.Types.ObjectId] for ObjectId arrays #11194 + * fix(index.d.ts): make Types.DocumentArray<> convert type to subdoc, rename TMethods -> TMethodsAndOverrides #11061 + * fix(index.d.ts): support passing generic to createCollection() and `collection()` for integration with MongoDB Node driver's collection class #11131 + * fix(index.d.ts): add strictPopulate to MongooseOptions #11276 + * docs: mark Mongoose 6 as compatible with MongoDB 4 #11320 [JavaScriptBach](https://github.com/JavaScriptBach) + * docs: remove documentation for useNestedStrict #11313 [mark-langer](https://github.com/mark-langer) + * docs: add "new" to ObjectId class in aggregate.js docs #11322 [JavanPoirier](https://github.com/JavanPoirier) + * chore: handle eslint configuration in .eslintrc.json #11326 [Uzlopak](https://github.com/Uzlopak) + * refactor: add parenthesis for constructors in tests #11330 [apeltop](https://github.com/apeltop) + 6.2.0 / 2022-02-02 ================== * feat(connection+mongoose): add support for continueOnError for syncIndexes #11266 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez) diff --git a/package.json b/package.json index a241217769e..a4a98c78b4e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "6.2.0", + "version": "6.2.1", "author": "Guillermo Rauch ", "keywords": [ "mongodb",