Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 24, 2021

Bumps mongoose from 5.12.12 to 6.0.0.

Changelog

Sourced from mongoose's changelog.

6.0.0 / 2021-08-24

  • BREAKING CHANGE: remove the deprecated safe option in favor of write concerns
  • fix: upgrade to mongodb driver 4.1.1
  • fix: consistently use $__parent to store subdoc parent as a property, and $parent() as a getter function #10584 #10414
  • fix: allow calling countDocuments() with options

6.0.0-rc2 / 2021-08-23

  • BREAKING CHANGE: make document set() set keys in the order they're defined in the schema, not in the user specified object #4665
  • BREAKING CHANGE: remove most schema reserved words - can now opt in to using save, isNew, etc. as schema paths #9010 AbdelrahmanHafez
  • BREAKING CHANGE: upgrade mquery -> 4.x #10579
  • BREAKING CHANGE: remove some legacy type aliases for TypeScript
  • fix(document): pass depopulated value to array element validators for consistency #10585 #8042

5.13.8 / 2021-08-23

  • fix(populate): handle populating subdoc array virtual with sort #10552
  • fix(model): check for code instead of codeName when checking for existing collections for backwards compat with MongoDB 3.2 #10420
  • fix(index.d.ts): correct value of this for custom query helper methods #10545
  • fix(index.d.ts): allow strings for ObjectIds in nested properties #10573
  • fix(index.d.ts): add match to VirtualTypeOptions.options #8749
  • fix(index.d.ts): allow QueryOptions populate parameter type PopulateOptions #10587 osmanakol
  • docs(api): add Document#$where to API docs #10583

6.0.0-rc1 / 2021-08-12

  • feat: upgrade to MongoDB driver 4.1.0 #10567 #10560
  • feat: add valueOf() to ObjectId prototype #7299
  • BREAKING CHANGE: rename History.md -> CHANGELOG.md #10542

5.13.7 / 2021-08-11

  • perf(index.d.ts): loosen up restrictions on ModelType generic for Schema for a ~50% perf improvement when compiling TypeScript and using intellisense #10536 #10515 #10349
  • fix(index.d.ts): fix broken Schema#index() types #10562 JaredReisinger
  • fix(index.d.ts): allow using SchemaTypeOptions with array of raw document interfaces #10537
  • fix(index.d.ts): define IndexOptions in terms of mongodb.IndexOptions #10563 JaredReisinger
  • fix(index.d.ts): improve intellisense for DocumentArray push() #10546
  • fix(index.d.ts): correct type for expires #10529
  • fix(index.d.ts): add Query#model property to ts bindings #10531
  • refactor(index.d.ts): make callbacks use the new Callback and CallbackWithoutResult types #10550 thiagokisaki

5.13.6 / 2021-08-09

  • fix: upgrade mongodb driver -> 3.6.11 #10543 maon-fp
  • fix(schema): throw more helpful error when defining a document array using a schema from a different copy of the Mongoose module #10453
  • fix: add explicit check on constructor property to avoid throwing an error when checking objects with null prototypes #10512
  • fix(cursor): make sure to clear stack every 1000 docs when calling next() to avoid stack overflow with large batch size #10449
  • fix(index.d.ts): allow calling new Model(...) with generic Model param #10526
  • fix(index.d.ts): update type declarations of Schema.index method #10538 #10530 Raader

... (truncated)

Commits
  • c4b2a7c chore: release 6.0.0
  • 51e7585 Merge pull request #10596 from Automattic/6.0
  • 00220ff chore: upgrade mquery -> 4.0.0
  • cd13bb3 docs: add sanitizeFilter to 6.0 migration guide
  • 0ae7ff8 docs: quick layout fix
  • 8d44eff docs: add strictQuery change to migrating_to_6
  • 502d1b1 fix: allow calling countDocuments() with options
  • 25f5b1a docs: update README
  • 5f4c7e8 BREAKING CHANGE: remove the deprecated safe option in favor of write concerns
  • 35d0995 chore: upgrade to mongodb driver 4.1.1
  • 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)

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

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

dependabot bot commented on behalf of github Aug 25, 2021

Superseded by #506.

@dependabot dependabot bot closed this Aug 25, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/backend/mongoose-6.0.0 branch August 25, 2021 23:07
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