QuizApp
QuizApp copied to clipboard
Bump mongoose from 4.10.7 to 5.10.6
Bumps mongoose from 4.10.7 to 5.10.6.
Changelog
Sourced from mongoose's changelog.
5.10.6 / 2020-09-18
- fix(populate): handle
options.perDocumentLimitoption same asperDocumentLimitwhen callingpopulate()#9418- fix(document): invalidate path if default function throws an error #9408
- fix: ensure subdocument defaults run after initial values are set when initing #9408
- docs(faq+queries): add more detail about duplicate queries, including an faq entry #9386
- docs: replace var with let and const in docs and test files #9414 jmadankumar
- docs(model+query): document using array of strings as projection #9413
- docs(middleware): add missing backtick #9425 tphobe9312
5.10.5 / 2020-09-11
- fix: bump mongodb -> 3.6.2 #9411 AbdelrahmanHafez
- fix(query+aggregate+cursor): support async iteration over a cursor instance as opposed to a Query or Aggregate instance #9403
- fix(document): respect child schema
minimizeiftoObject()is called without an explicitminimize#9405- docs(guide): use const instead of var #9394 nainardev
- docs(query): link to lean, findOneAndUpdate, query casting tutorials from query docs #9410
5.10.4 / 2020-09-09
- fix(document): allow setting nested path to instance of model #9392
- fix: handle
findOneAndRemove()withorFail()#9381- fix(schema): support setting
_idoption tofalseafter instantiating schema #9390- docs(document): fix formatting on
getChanges()#93765.10.3 / 2020-09-03
- fix: upgrade mongodb -> 3.6.1 #9380 lamhieu-vk
- fix(populate): allow populating paths underneath subdocument maps #9359
- fix(update): handle casting map paths when map is underneath a single nested subdoc #9298
- fix(discriminator): avoid removing nested path if both base and discriminator schema have the same nested path #9362
- fix(schema): support
Schema#add()with schematype instances with different paths #9370- docs(api): fix typo in
Query#get()example #9372 elainewlin5.10.2 / 2020-08-28
- fix(model): avoid uncaught error if
insertMany()fails due to server selection error #9355- fix(aggregate): automatically convert accumulator function options to strings #9364
- fix(document): handle
pull()on a document array when_idis an alias #9319- fix(queryhelpers): avoid path collision error when projecting in discriminator key with
.$#9361- fix: fix typo in error message thrown by unimplemented createIndex #9367 timhaley94
- docs(plugins): note that plugins should be applied before you call
mongoose.model()#77235.10.1 / 2020-08-26
- fix(mongoose): fix
.then()is not a function error when callingmongoose.connect()multiple times #9358 #9335 #9331- fix: allow calling
create()afterbulkWrite()by clearing internal casting context #9350- fix(model): dont wipe out changes made while
save()is in-flight #9327- fix(populate): skip checking
refPathif the path to populate is undefined #9340- fix(document): allow accessing document values from function
defaulton array #9351
... (truncated)
Commits
c83ad5fchore: release 5.10.6ebdbe41Merge branch 'master' of github.com:Automattic/mongoose014af7dfix(populate): handleoptions.perDocumentLimitoption same as `perDocumentL...7a86066test(model): repro #9418ee19ea5Merge pull request #9425 from tphobe9312/patch-1e301787docs: quick fix82fb708`mongoose.model() --> mongoose.model()d2abbf8chore: update opencollective sponsors2602772docs(faq+queries): add more detail about duplicate queries, including an faq ...1a4ddc8docs(model+query): document using array of strings as projection- 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.