Skip to content

Commit 572e018

Browse files
committed
chore: add 8.0.0-rc0 changelog
1 parent b567ec6 commit 572e018

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
8.0.0-rc0 / 2023-10-24
2+
======================
3+
* BREAKING CHANGE: use MongoDB node driver 6, drop support for rawResult option and findOneAndRemove() #13753
4+
* BREAKING CHANGE: apply minimize by default when updating document #13843
5+
* BREAKING CHANGE: remove `id` setter #13784
6+
* BREAKING CHANGE: remove overwrite option for updateOne(), findOneAndUpdate(), etc. #13989 #13578
7+
* BREAKING CHANGE: make model.prototype.deleteOne() return query, not promise #13660 #13369
8+
* BREAKING CHANGE: remove `Model.count()`, `Query.prototype.count()` #13618 #13598
9+
* BREAKING CHANGE: allow null values for string enum #13620 #3044
10+
* BREAKING CHANGE: make base schema paths come before discriminator schema paths when running setters, validators, etc. #13846 #13794
11+
* BREAKING CHANGE: make Model.validate() use Model.castObject() to cast, and return casted copy of object instead of modifying in place #13287 #12668
12+
* BREAKING CHANGE: make internal file names all camelCase #13950 #13909 #13308
13+
* BREAKING CHANGE: make create() wait for all documents to finish inserting or error out before throwing an error if ordered = false #13621 #4628
14+
* BREAKING CHANGE: refactor out `mongoose/lib/mongoose.js` file to allow importing Mongoose without MongoDB driver #13905
15+
* BREAKING CHANGE(types): allow `null` for optional fields #13901
16+
* BREAKING CHANGE(types): infer return types types for Model.distinct and Query.distinct #13836 [kaulshashank](https://github.com/kaulshashank)
17+
118
7.6.3 / 2023-10-17
219
==================
320
* fix(populate): handle multiple spaces when specifying paths to populate using space-delimited paths #13984 #13951

0 commit comments

Comments
 (0)