File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
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
+
1
18
7.6.3 / 2023-10-17
2
19
==================
3
20
* fix(populate): handle multiple spaces when specifying paths to populate using space-delimited paths #13984 #13951
You can’t perform that action at this time.
0 commit comments