diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aa55a2a0f4..ea916a03f7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +8.0.4 / 2024-01-08 +================== + * fix(update): set CastError path to full path if casting update fails #14161 #14114 + * fix: cast error when there is an elemMatch in the and clause #14171 [tosaka-n](https://github.com/tosaka-n) + * fix: allow defining index on base model that applies to all discriminators #14176 [peplin](https://github.com/peplin) + * fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update #14197 #14164 + * fix(populate): handle deselecting _id with array of fields in populate() #14242 #14231 + * types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions #14228 #14204 + * types: fix return types for findByIdAndDelete overrides #14196 #14190 + * types(schema): add missing omit() method #14235 [amitbeck](https://github.com/amitbeck) + * types(model): add missing strict property to bulkWrite() top level options #14239 + * docs(compatibility): add note that Mongoose 5.13 is fully compatible with MongoDB server 5 #14230 #14149 + * docs: add shared schemas guide #14211 + * docs: update TLS/SSL guide for Mongoose v8 - MongoDB v6 driver deprecations #14170 [andylwelch](https://github.com/andylwelch) + * docs: update findOneAndUpdate tutorial to use includeResultMetadata #14208 #14207 + * docs: clarify disabling _id on subdocs #14195 #14194 + 7.6.8 / 2024-01-08 ================== * perf(schema): remove unnecessary lookahead in numeric subpath check diff --git a/package.json b/package.json index 324530cd438..2cff00c3e37 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "8.0.3", + "version": "8.0.4", "author": "Guillermo Rauch ", "keywords": [ "mongodb",