Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps mongoose from 5.9.29 to 5.11.5.

Changelog

Sourced from mongoose's changelog.

5.11.5 / 2020-12-07

  • fix(map): support null in maps of subdocs #9628
  • fix(index.d.ts): support object syntax for validate #9667
  • fix(index.d.ts): Allow number for Schema expires #9670 alecgibson
  • fix(index.d.ts): allow definining arbitrary properties on SchemaTypeOpts for plugins like mongoose-autopopulate #9669
  • fix(index.d.ts): add mongoose.models #9661 #9660 AbdelrahmanHafez
  • fix(index.d.ts): allow the next() argument to be optional #9665 #9664 sahasayan
  • fix(index.d.ts): add missing VirtualType#applyGetters() and applySetters(), Schema#virtuals, Schema#childSchemas, Query#_mongooseOptions #9658
  • fix(index.d.ts): add id to LeanDocuments in case it is defined in the user's schema #9657
  • fix(index.d.ts): add missing types for hook functions #9653
  • fix(index.d.ts): improve support for strict null checks with upsert and orFail() #9654
  • fix(index.d.ts): make return values for insertMany() more consistent #9662
  • fix(index.d.ts): Change options in Connection#collection() to be optional #9663 orgads
  • fix(index.d.ts): add the missing generic declaration for Schema #9655 sahasayan
  • fix(index.d.ts): add missing SchemaTypeOpts and ConnectionOptions aliases for backwards compat
  • docs(populate): remove sort() from limit example to avoid potential confusion #9584
  • docs(compatibility): add MongoDB server 4.4 version compatibility #9641

5.11.4 / 2020-12-04

  • fix(index.d.ts): add Document#__v so documents have a Version by default #9652 sahasayan
  • fix(index.d.ts): add missing session option to SaveOptions #9642
  • fix(index.d.ts): add Schema#paths, Schema#static(obj), Embedded#schema, DocumentArray#schema, make Schema inherit from EventEmitter #9650
  • fix(index.d.ts): order when cb is optional in method #9647 CatsMiaow
  • fix(index.d.ts): use DocumentDefinition for FilterQuery #9649
  • fix(index.d.ts): correct callback result types for find(), findOne(), findById() #9648
  • fix(index.d.ts): remove Document#parent() method because it conflicts with existing user code #9645
  • fix(index.d.ts): add missing Connection#db property #9643
  • test(typescript): add tsconfig.json file for intellisense #9611 alecgibson

5.11.3 / 2020-12-03

  • fix(index.d.ts): make Mongoose collection inherit MongoDB collection #9637 #9630 AbdelrahmanHafez
  • fix(index.d.ts): add Document#_id so documents have an id by default #9632
  • fix(index.d.ts): allow inline schema definitions for nested properties #9639 Green-Cat
  • fix(index.d.ts): add support for missing error message definitions #9638 SaifAlsabe
  • fix(schema+discriminator): support defining recursive embedded discriminators by passing document array schematype to discriminator #9600
  • fix(index.d.ts): make it possible to use LeanDocument with arrays #9620
  • fix(index.d.ts): add ModelUpdateOptions as alias for QueryOptions for backwards compat #9637

5.11.2 / 2020-12-02

  • fix(index.d.ts): add missing query options and model findById() function #9626 #9620
  • fix(index.d.ts): support defining schema paths as arrays of functions #9617
  • fix(index.d.ts): add automatic _id for Document, support creating Mongoose globals and accessing collection name #9618
  • fix(index.d.ts): add missing global get() and set() #9616
  • fix(index.d.ts): add missing new and returnOriginal options to QueryOptions, add missing model static properties #9627 #9616 #9615
  • fix(index.d.ts): allow useCreateIndex in connection options #9621
Commits
  • 0e2058d chore: release 5.11.5
  • 6d9fb4d fix(index.d.ts): add missing SchemaTypeOpts and ConnectionOptions aliases...
  • a85adb9 test: fix tests re: #9669
  • 8b152e3 fix(map): support null in maps of subdocs
  • 8077d1c test(map): repro #9628
  • 3254b03 fix(index.d.ts): allow definining arbitrary properties on SchemaTypeOpts for ...
  • 1dd5266 fix(index.d.ts): add missing VirtualType#applyGetters() and `applySetters()...
  • 201baf8 Merge branch 'master' of github.com:Automattic/mongoose
  • 8c32587 fix(index.d.ts): support object syntax for validate
  • 36bba1e Merge pull request #9670 from alecgibson/ts-expires
  • 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.11.5.
- [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.11.5)

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 Dec 7, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #439.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.11.5 branch December 9, 2020 19:18
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.

0 participants