Skip to content

Commit

Permalink
chore: add 8.0.0-rc0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Oct 24, 2023
1 parent b567ec6 commit 572e018
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
8.0.0-rc0 / 2023-10-24
======================
* BREAKING CHANGE: use MongoDB node driver 6, drop support for rawResult option and findOneAndRemove() #13753
* BREAKING CHANGE: apply minimize by default when updating document #13843
* BREAKING CHANGE: remove `id` setter #13784
* BREAKING CHANGE: remove overwrite option for updateOne(), findOneAndUpdate(), etc. #13989 #13578
* BREAKING CHANGE: make model.prototype.deleteOne() return query, not promise #13660 #13369
* BREAKING CHANGE: remove `Model.count()`, `Query.prototype.count()` #13618 #13598
* BREAKING CHANGE: allow null values for string enum #13620 #3044
* BREAKING CHANGE: make base schema paths come before discriminator schema paths when running setters, validators, etc. #13846 #13794
* BREAKING CHANGE: make Model.validate() use Model.castObject() to cast, and return casted copy of object instead of modifying in place #13287 #12668
* BREAKING CHANGE: make internal file names all camelCase #13950 #13909 #13308
* BREAKING CHANGE: make create() wait for all documents to finish inserting or error out before throwing an error if ordered = false #13621 #4628
* BREAKING CHANGE: refactor out `mongoose/lib/mongoose.js` file to allow importing Mongoose without MongoDB driver #13905
* BREAKING CHANGE(types): allow `null` for optional fields #13901
* BREAKING CHANGE(types): infer return types types for Model.distinct and Query.distinct #13836 [kaulshashank](https://github.com/kaulshashank)

7.6.3 / 2023-10-17
==================
* fix(populate): handle multiple spaces when specifying paths to populate using space-delimited paths #13984 #13951
Expand Down

0 comments on commit 572e018

Please sign in to comment.