express-rest-boilerplate
express-rest-boilerplate copied to clipboard
chore(deps): bump mongoose from 5.13.5 to 7.0.0
Bumps mongoose from 5.13.5 to 7.0.0.
Release notes
Sourced from mongoose's releases.
7.0.0 / 2023-02-27
- BREAKING CHANGE: copy schema options when merging schemas using new Schema() or Schema.prototype.add() #13092
- feat(types): export mongodb types more robustly #12948 simon-abbott
- docs: fix populate docs #13090 hasezoey
- docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #13083 lpizzinidev
7.0.0-rc0 / 2023-02-23
- BREAKING CHANGE: remove support for callbacks #11431
- BREAKING CHANGE: upgrade to MongoDB node driver 5.x, bson 5.x #12955
- BREAKING CHANGE: make
strictQuery: falseby default #11861 #11807 #11514- BREAKING CHANGE: remove support for setting schema path definitions to primitives, except
_id: false#12832 #7558 lpizzinidev- BREAKING CHANGE: discriminator schemas now inherit base schema options by default #12928 #12135
- BREAKING CHANGE: orFail() now throws on updateOne() and updateMany() if matchedCount === 0, not modifiedCount === 0 #11620
- BREAKING CHANGE: remove support for custom promise libraries #12878 #12872 lpizzinidev
- BREAKING CHANGE: select('name -path') behaves as select('name') if path has schema-level select: true #11694
- BREAKING CHANGE(types): remove support for document interfaces that extends Document #11615
- BREAKING CHANGE: pluralize 'human' as 'humans', not 'humen' #13037
- BREAKING CHANGE: renamed schema option supressReservedKeysWarning -> suppressReservedKeysWarning #11495
- BREAKING CHANGE: remove unused DisconnectedError #13028 lpizzinidev
- BREAKING CHANGE: remove unsupported query options maxScan and snapshot #13023 #13022 hasezoey
6.10.1 / 2023-03-03
- fix: avoid removing empty query filters in
$andand$or#13086 #12898- fix(schematype): fixed validation for required UUID field #13018 lpizzinidev
- fix(types): add missing Paths generic param to
Model.populate()#13070- docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #13083 lpizzinidev
- docs: fix code in headers for migrating_to_5 #13077 hasezoey
- docs: backport misc documentation changes into 6.x #13091 hasezoey
6.10.0 / 2023-02-22
- feat: upgrade to mongodb driver 4.14.0 #13036
- feat: added Schema.prototype.omit() function #12939 #12931 lpizzinidev
- feat(index): added createInitialConnection option to Mongoose constructor #13021 #12965 lpizzinidev
6.9.3 / 2023-02-22
- fix(connection): delay calculating
autoCreateandautoIndexuntil after initial connection established #13007 #12940 lpizzinidev- fix(discriminator): allows update doc with discriminatorKey #13056 #13055 abarriel
- fix(query): avoid sending unnecessary empty projection to MongoDB server #13059 #13050
- fix(model): avoid sending null session option with document operations #13053 #13052 lpizzinidev
- fix(types): use MergeTypes for type overrides in HydratedDocument #13066 #13040
- docs(middleware): list validate as a potential query middleware #13057 #12680
- docs(getters-setters): explain that getters do not run by default on toJSON() #13058 #13049
- docs: refactor docs generation scripts #13044 hasezoey
6.9.2 / 2023-02-16
... (truncated)
Changelog
Sourced from mongoose's changelog.
7.0.0 / 2023-02-27
- BREAKING CHANGE: copy schema options when merging schemas using new Schema() or Schema.prototype.add() #13092
- feat(types): export mongodb types more robustly #12948 simon-abbott
- docs: fix populate docs #13090 hasezoey
- docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #13083 lpizzinidev
7.0.0-rc0 / 2023-02-23
- BREAKING CHANGE: remove support for callbacks #11431
- BREAKING CHANGE: upgrade to MongoDB node driver 5.x, bson 5.x #12955
- BREAKING CHANGE: make
strictQuery: falseby default #11861 #11807 #11514- BREAKING CHANGE: remove support for setting schema path definitions to primitives, except
_id: false#12832 #7558 lpizzinidev- BREAKING CHANGE: discriminator schemas now inherit base schema options by default #12928 #12135
- BREAKING CHANGE: orFail() now throws on updateOne() and updateMany() if matchedCount === 0, not modifiedCount === 0 #11620
- BREAKING CHANGE: remove support for custom promise libraries #12878 #12872 lpizzinidev
- BREAKING CHANGE: select('name -path') behaves as select('name') if path has schema-level select: true #11694
- BREAKING CHANGE(types): remove support for document interfaces that extends Document #11615
- BREAKING CHANGE: pluralize 'human' as 'humans', not 'humen' #13037
- BREAKING CHANGE: renamed schema option supressReservedKeysWarning -> suppressReservedKeysWarning #11495
- BREAKING CHANGE: remove unused DisconnectedError #13028 lpizzinidev
- BREAKING CHANGE: remove unsupported query options maxScan and snapshot #13023 #13022 hasezoey
6.10.0 / 2023-02-22
- feat: upgrade to mongodb driver 4.14.0 #13036
- feat: added Schema.prototype.omit() function #12939 #12931 lpizzinidev
- feat(index): added createInitialConnection option to Mongoose constructor #13021 #12965 lpizzinidev
6.9.3 / 2023-02-22
- fix(connection): delay calculating
autoCreateandautoIndexuntil after initial connection established #13007 #12940 lpizzinidev- fix(discriminator): allows update doc with discriminatorKey #13056 #13055 abarriel
- fix(query): avoid sending unnecessary empty projection to MongoDB server #13059 #13050
- fix(model): avoid sending null session option with document operations #13053 #13052 lpizzinidev
- fix(types): use MergeTypes for type overrides in HydratedDocument #13066 #13040
- docs(middleware): list validate as a potential query middleware #13057 #12680
- docs(getters-setters): explain that getters do not run by default on toJSON() #13058 #13049
- docs: refactor docs generation scripts #13044 hasezoey
5.13.16 / 2023-02-20
- fix: make access to process.versions lazy #12584 maciasello
- fix(types): add missing type definitions for
bulkSave()#12019- docs: backport documentation URL updates #12692 hasezoey
6.9.2 / 2023-02-16
- fix(model): fixed post('save') callback parameter #13030 #13026 lpizzinidev
- fix(UUID): added null check to prevent error on binaryToString conversion #13034 #13032 #13029 lpizzinidev Freezystem
... (truncated)
Commits
9b1ff1fchore: release 7.0.073cea77Merge pull request #13092 from Automattic/vkarpov15/merge-schema-options28fd1b6Merge pull request #12948 from simon-abbott/patch82fd5e4BREAKING CHANGE: copy schema options when merging schemas using `new Schema()...23b95c9chore: docs build for 7.0 release2b948fdMerge pull request #13090 from hasezoey/updatePopulateDocs66f1ea6docs(populate): add missing TOC entry64a8391docs(populate): fix using markdown inline codeblocks3d4378bMerge pull request #13083 from lpizzinidev/gh-130711dfbe4dfix: changed header formatting- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)