dependabot npm(deps): bump mongoose from 6.5.0 to 6.5.1
Bumps mongoose from 6.5.0 to 6.5.1.
Release notes
Sourced from mongoose's releases.
6.5.1 / 2022-08-03
- fix(timestamps): set timestamps on child schema when child schema has timestamps: true but parent schema does not #12119
- fix(schema+timestamps): handle insertMany() with timestamps and discriminators #12150
- fix(model+query): handle populate with lean transform that deletes _id #12143
- fix(types): allow $pull with _id #12142
- fix(types): add schema plugin option inference #12196 hasezoey
- fix(types): pass type to mongodb bulk write operation #12167 emiljanitzek
- fix(types): map correct generics from model to schema #12125 emiljanitzek
- fix(types): avoid baffling circular reference when using PopulatedDoc with a bidirectional reference #12136
- fix(types): allow using path with $count #12149
- docs(compatibility): change to use a table #12200 hasezoey
- docs(api_split.pug): add "code" to sidebar entries #12153 hasezoey
- docs: add "code" to Headers (and index list) #12152 hasezoey
Changelog
Sourced from mongoose's changelog.
6.5.1 / 2022-08-03
- fix(timestamps): set timestamps on child schema when child schema has timestamps: true but parent schema does not #12119
- fix(schema+timestamps): handle insertMany() with timestamps and discriminators #12150
- fix(model+query): handle populate with lean transform that deletes _id #12143
- fix(types): allow $pull with _id #12142
- fix(types): add schema plugin option inference #12196 hasezoey
- fix(types): pass type to mongodb bulk write operation #12167 emiljanitzek
- fix(types): map correct generics from model to schema #12125 emiljanitzek
- fix(types): avoid baffling circular reference when using PopulatedDoc with a bidirectional reference #12136
- fix(types): allow using path with $count #12149
- docs(compatibility): change to use a table #12200 hasezoey
- docs(api_split.pug): add "code" to sidebar entries #12153 hasezoey
- docs: add "code" to Headers (and index list) #12152 hasezoey
Commits
-
f581e1e
chore: release 6.5.1 -
6399f3c
test: fix tests -
53f27aa
Merge pull request #12125 from emiljanitzek/feature/model-schema-type -
179a488
Update index.d.ts -
961e591
Update connection.d.ts -
aabf3b2
Merge pull request #12167 from emiljanitzek/feature/bulk-write-types -
67c2e93
Merge pull request #12196 from hasezoey/pluginOptions -
53dc72b
Merge pull request #12198 from hasezoey/furtherReadingReStyle -
c9d6cc5
Merge branch 'master' of github.com:Automattic/mongoose -
b57efec
fix(types): allow $pull with_id
- Additional commits viewable in compare view