diff --git a/CHANGELOG.md b/CHANGELOG.md index afdd90620ff..4196c00e955 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +7.4.3 / 2023-08-11 +================== + * fix: avoid applying map property getters when saving #13704 #13657 + * fix(query): allow deselecting discriminator key #13722 #13679 + * types(models+query): return lean type when passing QueryOptions with lean: true to relevant model functions like find() and findOne() #13721 #13705 + * types(schema): correct return type for Schema.prototype.indexes() #13718 #13702 + * types: allow accessing options from pre middleware #13708 #13633 + * types: add UpdateQueryKnownOnly type for stricter UpdateQuery type checking #13699 #13630 + * types(schema): support required: { isRequired: true } syntax in schema definition #13680 + * docs(middleware): clarify that doc.deleteOne() doesn't run query middleware currently #13707 #13669 + 7.4.2 / 2023-08-03 ================== * fix(model): avoid hanging on empty bulkWrite() with ordered: false #13684 #13664 diff --git a/package.json b/package.json index 5f2c1620792..9004bbc29db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "7.4.2", + "version": "7.4.3", "author": "Guillermo Rauch ", "keywords": [ "mongodb",