mongoose 8.0.0 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser.umd.js +1 -1
- package/lib/aggregate.js +1 -1
- package/lib/connection.js +4 -0
- package/lib/cursor/changeStream.js +3 -0
- package/lib/document.js +16 -3
- package/lib/helpers/populate/assignRawDocsToIdStructure.js +6 -2
- package/lib/helpers/populate/assignVals.js +3 -2
- package/lib/helpers/populate/getModelsMapForPopulate.js +2 -1
- package/lib/model.js +6 -3
- package/lib/query.js +0 -1
- package/lib/schema/array.js +2 -2
- package/lib/schema/documentArray.js +2 -2
- package/lib/schema/subdocument.js +6 -4
- package/lib/schema.js +5 -5
- package/lib/schemaType.js +2 -0
- package/lib/stateMachine.js +5 -1
- package/lib/types/array/methods/index.js +12 -9
- package/lib/utils.js +23 -0
- package/package.json +9 -7
- package/types/document.d.ts +7 -1
- package/types/index.d.ts +3 -2
- package/types/inferschematype.d.ts +42 -5
- package/types/middlewares.d.ts +3 -1
- package/types/models.d.ts +27 -39
- package/types/query.d.ts +45 -54
- package/types/schemaoptions.d.ts +2 -2
- package/types/types.d.ts +3 -0
- package/types/utility.d.ts +22 -0
- package/types/validation.d.ts +1 -0
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Mongoose is a [MongoDB](https://www.mongodb.org/) object modeling tool designed
|
|
|
13
13
|
|
|
14
14
|
The official documentation website is [mongoosejs.com](http://mongoosejs.com/).
|
|
15
15
|
|
|
16
|
-
Mongoose
|
|
16
|
+
Mongoose 8.0.0 was released on October 31, 2023. You can find more details on [backwards breaking changes in 8.0.0 on our docs site](https://mongoosejs.com/docs/migrating_to_8.html).
|
|
17
17
|
|
|
18
18
|
## Support
|
|
19
19
|
|