dependabot npm(deps): bump mongoose from 6.4.7 to 6.5.0
Bumps mongoose from 6.4.7 to 6.5.0.
Release notes
Sourced from mongoose's releases.
6.5.0 / 2022-07-26
- perf(document): avoid creating unnecessary empty objects when creating a state machine #11988
- feat: upgrade mongodb driver -> 4.8.1 #12103 AbdelrahmanHafez
- feat(model): allow passing timestamps option to Model.bulkSave(...) #12082 AbdelrahmanHafez
- feat(model): add castObject() function that casts a POJO to the model's schema #11945
- feat(document): add $inc() helper that increments numeric paths #12115
- feat(schema): add schema level lean option IslandRhythms
- feat(schema): add global id option to disable id on schemas #12067 IslandRhythms
- fix(connection): re-run Model.init() if re-connecting after explicitly closing a connection #12130
- feat(model): add applyDefaults() helper that allows applying defaults to document or POJO #11945
- feat(model): allow calling hydrate() with { setters: true } #11653
- feat(model): add hydrate option to Model.watch() to automatically hydrate fullDocument #12121
- feat(types): add support for automatically typed virtuals in schemas #11908 mohammad0-0ahmad
Changelog
Sourced from mongoose's changelog.
6.5.0 / 2022-07-26
- perf(document): avoid creating unnecessary empty objects when creating a state machine #11988
- feat: upgrade mongodb driver -> 4.8.1 #12103 AbdelrahmanHafez
- feat(model): allow passing timestamps option to Model.bulkSave(...) #12082 AbdelrahmanHafez
- feat(model): add castObject() function that casts a POJO to the model's schema #11945
- feat(document): add $inc() helper that increments numeric paths #12115
- feat(schema): add schema level lean option IslandRhythms
- feat(schema): add global id option to disable id on schemas #12067 IslandRhythms
- fix(connection): re-run Model.init() if re-connecting after explicitly closing a connection #12130
- feat(model): add applyDefaults() helper that allows applying defaults to document or POJO #11945
- feat(model): allow calling hydrate() with { setters: true } #11653
- feat(model): add hydrate option to Model.watch() to automatically hydrate fullDocument #12121
- feat(types): add support for automatically typed virtuals in schemas #11908 mohammad0-0ahmad
Commits
-
f5ee642
chore: release 6.5.0 -
204bef9
chore: run tests on pushes to branches other than pmaster -
547e5fc
fix: bump mongodb -> 4.8.1, bump bson to match -
a774148
Merge branch 'master' into 6.5 -
a935534
Merge pull request #12120 from Automattic/vkarpov15/castobject -
47c3231
Merge pull request #12130 from Automattic/vkarpov15/gh-12047 -
f62cf52
Merge pull request #12121 from Automattic/vkarpov15/gh-11936 - See full diff in compare view