Bump mongoose from 5.2.4 to 5.7.5
Created by: dependabot[bot]
Bumps mongoose from 5.2.4 to 5.7.5.
Changelog
Sourced from mongoose's changelog.
5.7.5 / 2019-10-14
- fix(query): delete top-level
_bsontypeproperty in queries to prevent silent empty queries #8222- fix(update): handle subdocument pre('validate') errors in update validation #7187
- fix(subdocument): make subdocument#isModified use parent document's isModified #8223
- docs(index): add favicon to home page #8226
- docs: add schema options to API docs #8012
- docs(middleware): add note about accessing the document being updated in pre('findOneAndUpdate') #8218
- refactor: remove redundant code in ValidationError #8244 AbdelrahmanHafez
5.7.4 / 2019-10-09
- fix(schema): handle
required: nullandrequired: undefinedasrequired: false#8219- fix(update): support updating array embedded discriminator props if discriminator key in $elemMatch #8063
- fix(populate): allow accessing populate virtual prop underneath array when virtual defined on top level #8198
- fix(model): support passing
optionstoModel.remove()#8211- fix(document): handle
Document#set()merge option when setting underneath single nested schema #8201- fix: use options constructor class for all schematypes #8012
5.7.3 / 2019-09-30
- fix: make CoreMongooseArray#includes() handle
fromIndexparameter #8203- fix(update): cast right hand side of
$pullas a query instead of an update for document arrays #8166- fix(populate): handle virtual populate of an embedded discriminator nested path #8173
- docs(validation): remove deprecated
isAsyncfrom validation docs in favor of emphasizing promises #8184- docs(documents): add overwriting section #8178
- docs(promises): add note about queries being thenable #8110
- perf: avoid update validators going into Mixed types #8192 birdofpreyru
- refactor: remove async as a prod dependency #8073
5.7.2 / 2019-09-23
- fix(mongoose): support
mongoose.set('autoIndex', false)#8158- fix(discriminator): support
tiedValueparameter for embedded discriminators analagous to top-level discriminators #8164- fix(query): handle
toConstructor()with entries-style sort syntax #8159- fix(populate): avoid converting mixed paths into arrays if populating an object path under
Mixed#8157- fix: use $wrapCallback when using promises for mongoose-async-hooks
- fix: handle queries with setter that converts value to Number instance #8150
- docs: add mongoosejs-cli to readme #8142
- docs: fix example typo for Schema.prototype.plugin() #8175 anaethoss
5.7.1 / 2019-09-13
- fix(query): fix TypeError when calling
findOneAndUpdate()withrunValidators#8151 fernandolguevara- fix(document): throw strict mode error if setting an immutable path with strict mode: false #8149
- fix(mongoose): support passing options object to Mongoose constructor #8144
- fix(model): make syncIndexes() handle changes in index key order #8135
- fix(error): export StrictModeError as a static property of MongooseError #8148 ouyuran
- docs(connection+mongoose): add
useUnifiedTopologyoption toconnect()andopenUri()docs #8146
... (truncated)
Commits
-
40a879bchore: release 5.7.5 -
159457dchore: add vpn black friday as sponsor -
e6285eaMerge pull request #8244 from AbdelrahmanHafez/master -
d9163f5fix: correct order for declaration -
cec9ddaMinor refactor to ValidationError -
13ae085docs(index): add favicon to home page -
96ce0ebstyle: fix lint -
973b1e0docs: add schema options to API docs -
cdfb507chore: add useUnifiedTopology for tests re: #8212 -
936ddfbfix(update): handle subdocument pre('validate') errors in update validation - 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) -
@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 language
You can disable automated security fix PRs for this repo from the Security Alerts page.