Bumpsmongoose from 3.8.40 to 4.13.21.
Changelog
Sourced frommongoose's changelog.
4.13.21 / 2020-07-12
- fix(query): delete top-level
_bsontype property in queries to prevent silent empty queries#8222
5.9.23 / 2020-07-10
- fix(model): fix
syncIndexes() error when db index has a collation but Mongoose index does not#9224clhuang - fix(array): only cast array to proper depth if it contains an non-array value#9217#9215cyrilgandon
- docs(schematype): document the
transform option#9211 - docs(mongoose): fix typo#9212JNa0
5.9.22 / 2020-07-06
- fix(schema): treat
{ type: mongoose.Schema.Types.Array } as equivalent to{ type: Array }#9194 - fix: revert fix for#9107 to avoid issues when calling
connect() multiple times#9167 - fix(update): respect storeSubdocValidationError option with update validators#9172
- fix: upgrade to safe-buffer 5.2#9198
- docs: add a note about SSL validation to migration guide#9147
- docs(schemas): fix inconsistent header#9196samtsai15
5.9.21 / 2020-07-01
- fix: propagate
typeKey option to implicitly created schemas fromtypePojoToMixed#9185joaoritter - fix(populate): handle embedded discriminator
refPath with multiple documents#9153 - fix(populate): handle deselected foreign field with
perDocumentLimit and multiple documents#9175 - fix(document): disallow
transform functions that return promises#9176#9163AbdelrahmanHafez - fix(document): use strict equality when checking mixed paths for modifications#9165
- docs: add to all edit links#9058
5.9.20 / 2020-06-22
- fix(populate): handle populating primitive array under document array discriminator#9148
- fix(connection): make sure to close previous connection when calling
openUri() on an already open connection#9107 - fix(model): fix conflicting $setOnInsert default values with
update values in bulkWrite#9160#9157AbdelrahmanHafez - docs(validation): add note about validateBeforeSave and invalidate#9144dandv
- docs: specify the array field syntax for invalidate#9137dandv
- docs: fix several typos and broken references#9024AbdelrahmanHafez
- docs: fix minor typo#9143dandv
5.9.19 / 2020-06-15
- fix: upgrade mongodb driver -> 3.5.9#9124AbdelrahmanHafez
- fix: copy
required validator on single nested subdoc correctly when callingSchema#clone()#8819 - fix(discriminator): handle
tiedValue when casting update on nested paths#9108 - fix(model): allow empty arrays for bulkWrite#9132#9131AbdelrahmanHafez
- fix(schema): correctly set partialFilterExpression for nested schema indexes#9091
- fix(castArrayFilters): handle casting on all fields of array filter#9122lafeuil
- fix(update): handle nested path createdAt when overwriting parent path#9105
- docs(subdocs): add some notes on the difference between single nested subdocs and nested paths#9085
- docs(subdocs): improve docs on
typePojoToMixed#9085
... (truncated)
Commits
f88eb25 fix(query): delete top-level_bsontype property in queries to prevent silen...1db031c test(schema): clean up messy tests re:#84598fa8012 test: test cleanup re:#84594a55040 chore: remove problematic mongoose-long dep and use mongodb 3.4 in tests91f95da chore: run consistent mongod version in tests0e65e6e chore: release 4.13.20803090d fix(schema): make aliases handle mongoose-lean-virtuals6a8b381 chore: add .config.js to gitignore and npmignoref51c4aa chore: release 4.13.192aeeaa8 Merge pull request#7950 from cdimitroulas/backport-aggregate-options-bugfix- Additional commits viewable incompare 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 rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from theSecurity Alerts page.
Bumpsmongoose from 3.8.40 to 4.13.21.
Changelog
Sourced frommongoose's changelog.
... (truncated)
Commits
f88eb25fix(query): delete top-level_bsontypeproperty in queries to prevent silen...1db031ctest(schema): clean up messy tests re:#84598fa8012test: test cleanup re:#84594a55040chore: remove problematic mongoose-long dep and use mongodb 3.4 in tests91f95dachore: run consistent mongod version in tests0e65e6echore: release 4.13.20803090dfix(schema): make aliases handle mongoose-lean-virtuals6a8b381chore: add .config.js to gitignore and npmignoref51c4aachore: release 4.13.192aeeaa8Merge pull request#7950 from cdimitroulas/backport-aggregate-options-bugfixDependabot 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)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from theSecurity Alerts page.