Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps mongoose from 5.9.29 to 5.13.1.

Changelog

Sourced from mongoose's changelog.

5.13.1 / 2021-07-02

  • fix(discriminator): allow using array as discriminator key in schema and as tied value #10303
  • fix(index.d.ts): allow using & Document in schema definition for required subdocument arrays #10370
  • fix(index.d.ts): if using DocType that doesn't extends Document, default to returning that DocType from toObject() and toJSON() #10345
  • fix(index.d.ts): use raw DocType instead of LeanDocument when using lean() with queries if raw DocType doesn't extends Document #10345
  • fix(index.d.ts): remove err: any in callbacks, use err: CallbackError instead #10340
  • fix(index.d.ts): allow defining map of schemas in TypeScript #10389
  • fix(index.d.ts): correct return type for Model.createCollection() #10359
  • docs(promises+discriminators): correctly escape () in regexp to pull in examples correctly #10364
  • docs(update): fix outdated URL about unindexed upsert #10406 grimmer0125
  • docs(index.d.ts): proper placement of mongoose.Date JSDoc thiagokisaki

5.13.0 / 2021-06-28

  • feat(query): add sanitizeProjection option to opt in to automatically sanitizing untrusted query projections #10243
  • feat(model): add bulkSave() function that saves multiple docs in 1 bulkWrite() #9727 #9673 AbdelrahmanHafez
  • feat(document): allow passing a list of virtuals or pathsToSkip to apply in toObject() and toJSON() #10120
  • fix(model): make Model.validate use object under validation as context by default #10360 AbdelrahmanHafez
  • feat(document): add support for pathsToSkip in validate and validateSync #10375 AbdelrahmanHafez
  • feat(model): add diffIndexes() function that calculates what indexes syncIndexes() will create/drop without actually executing any changes #10362 IslandRhythms
  • feat(document): avoid using sessions that have ended, so you can use documents that were loaded in the session after calling endSession() #10306

5.12.15 / 2021-06-25

  • fix(index.d.ts): add extra TInstanceMethods generic param to Schema for cases when we can't infer from Model #10358
  • fix(index.d.ts): added typings for near() in model aggregation #10373 tbhaxor
  • fix(index.d.ts): correct function signature for Query#cast() #10388 lkho
  • docs(transactions): add import statement #10365 JimLynchCodes
  • docs(schema): add missing discriminatorKey schema option #10386 #10376 IslandRhythms
  • docs(index.d.ts): fix typo #10363 houssemchebeb

5.12.14 / 2021-06-15

  • fix(schema): check that schema type is an object when setting isUnderneathDocArray #10361 vmo-khanus
  • fix(document): avoid infinite recursion when setting single nested subdoc to array #10351
  • fix(populate): allow populating nested path in schema using Model.populate() #10335
  • fix(drivers): emit operation-start/operation-end events to allow inspecting when operations start and end
  • fix(index.d.ts): improve typings for virtuals #10350 thiagokisaki
  • fix(index.d.ts): correct constructor type for Document #10328
  • fix(index.d.ts): add ValidationError as a possible type for ValidationError#errors #10320 IslandRhythms
  • fix: remove unnecessary async devDependency that's causing npm audit warnings #10281
  • docs(typescript): add schemas guide #10308
  • docs(model): add options parameter description to Model.exists() #10336 Aminoiz

5.12.13 / 2021-06-04

  • perf(document): avoid creating nested paths when running $getAllSubdocs() #10275
  • fix: make returnDocument option work with findOneAndUpdate() #10232 #10231 cnwangjie
  • fix(document): correctly reset subdocument when resetting a map subdocument underneath a single nested subdoc after save #10295

... (truncated)

Commits
  • 5bbc8e0 chore: release 5.13.1
  • 5aeae5a Merge pull request #10393 from YC/20.04
  • 0dfad27 Merge pull request #10406 from grimmer0125/fix-outdated-unindexed-upsert-url
  • 4831b9d Merge pull request #10395 from thiagokisaki/patch-2
  • 4d43d1b fix(index.d.ts): remove err: any in callbacks, use err: CallbackError ins...
  • c8a0b53 fix(index.d.ts): use raw DocType instead of LeanDocument when using `lean()...
  • 5427f21 refactor(index.d.ts): dont enforce extends DocType for queries re: #10345
  • 01c25ee fix(index.d.ts): if using DocType that doesn't extends Document, default to...
  • de5632e fix: support for mongod < 4.4.0
  • d859617 revert test.yml
  • Additional commits viewable in compare view

Dependabot compatibility score

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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.9.29 to 5.13.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](Automattic/mongoose@5.9.29...5.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 2, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #526.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.13.1 branch July 5, 2021 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant