Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

chore: bump mongoose from 5.9.24 to 6.1.2 #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2021

Bumps mongoose from 5.9.24 to 6.1.2.

Release notes

Sourced from mongoose's releases.

6.1.2 / 2021-12-14

  • fix: upgrade mongodb driver to 4.2.2 #11092 lorand-horvath
  • fix(model): respect discriminators when calling Model.watch() #11007
  • fix(populate): allow referencing parent connection models by name when using useDb() #11003
  • fix(query): support options param to Query.prototype.countDocuments() #11037
  • fix(query): correctly use awaitData instead of awaitdata in Query.prototype.tailable() #10875
  • fix(index.d.ts): fix replaceRoot type #11098 alibehroozi
  • fix(index.d.ts): add missing syncIndexes() definition to Mongoose global and Connection class #11065
  • fix(index.d.ts): add boolean type for transform option #11057 AliYusuf95
  • docs(model.estimatedDocumentCount): add await into example to get value from the Query #11044 olecom
  • docs: fix broken build from awaitdata comment #11096 medolino
  • docs: correct Query.prototype.transform() docs #11094 medolino

6.1.1 / 2021-12-09

  • fix(document): allow setting nested path to instance of document #11011
  • fix(update): respect strict option when casting array filters #11062
  • fix(index.d.ts): allow SchemaTypes.Mixed for all schema definition properties to allow using union types #10900
  • fix(index.d.ts): correct types for Schema.prototype.obj and Model.schema #10895
  • docs(migrating_to_6): add note about Types.ObjectId() being a class and requiring new #10960

6.1.0 / 2021-12-07

  • feat(populate): support ref on subdocuments #10856
  • feat(document): add ownerDocument() method to top-level document for consistency with subdocs #10884 IslandRhythms
  • fix: upgrade to mongodb driver 4.2.1 #11032 #10985 lorand-horvath has-n
  • feat(schema): support timeseries option for MongoDB 5 time series collections support #10611
  • feat(mongoose): add global strictPopulate option #10694 IslandRhythms
  • feat(mongoose+connection): add global mongoose.syncIndexes() and Connection.prototype.syncIndexes() #10893 IslandRhythms
  • feat(query): support removing fields from projections #10630 canac
  • feat(aggregate): add unionWith method to aggregate #10961 saeidasadi
  • fix(index.d.ts): types for aggregation pipeline stages #10971 jeremyben

6.0.12 / 2021-10-21

  • fix(cursor): remove the logic for emitting close, rely on autoDestroy option for Node 12 support #10906 iovanom
  • fix(map): support passing flattenMaps: false to Map toJSON(), make toJSON() flatten maps by default in TypeScript #10872
  • fix: upgrade to mongodb driver 4.1.3 #10911 orgads
  • fix(index.d.ts): correct TS function signature for SchemaType.prototype.set() #10799
  • fix(index.d.ts): support implicit $in in FilterQuery #10826
  • fix(index.d.ts): More precise type for Schema.clone() #10899 coyotte508
  • fix(index.d.ts): add caster property to schema arrays and document arrays #10865
  • docs: update updateMany() and deleteMany() docs to reflect new matchedCount, modifiedCount, deletedCount properties #10908 IslandRhythms
  • docs: fix broken links to populate virtuals #10870 IslandRhythms
  • docs: updated docs to have returnOriginal, removed new and returnDocument #10887 IslandRhythms
Changelog

Sourced from mongoose's changelog.

6.1.2 / 2021-12-14

  • fix: upgrade mongodb driver to 4.2.2 #11092 lorand-horvath
  • fix(model): respect discriminators when calling Model.watch() #11007
  • fix(populate): allow referencing parent connection models by name when using useDb() #11003
  • fix(query): support options param to Query.prototype.countDocuments() #11037
  • fix(query): correctly use awaitData instead of awaitdata in Query.prototype.tailable() #10875
  • fix(index.d.ts): fix replaceRoot type #11098 alibehroozi
  • fix(index.d.ts): add missing syncIndexes() definition to Mongoose global and Connection class #11065
  • fix(index.d.ts): add boolean type for transform option #11057 AliYusuf95
  • docs(model.estimatedDocumentCount): add await into example to get value from the Query #11044 olecom
  • docs: fix broken build from awaitdata comment #11096 medolino
  • docs: correct Query.prototype.transform() docs #11094 medolino

6.1.1 / 2021-12-09

  • fix(document): allow setting nested path to instance of document #11011
  • fix(update): respect strict option when casting array filters #11062
  • fix(index.d.ts): allow SchemaTypes.Mixed for all schema definition properties to allow using union types #10900
  • fix(index.d.ts): correct types for Schema.prototype.obj and Model.schema #10895
  • docs(migrating_to_6): add note about Types.ObjectId() being a class and requiring new #10960

6.1.0 / 2021-12-07

  • feat(populate): support ref on subdocuments #10856
  • feat(document): add ownerDocument() method to top-level document for consistency with subdocs #10884 IslandRhythms
  • fix: upgrade to mongodb driver 4.2.1 #11032 #10985 lorand-horvath has-n
  • feat(schema): support timeseries option for MongoDB 5 time series collections support #10611
  • feat(mongoose): add global strictPopulate option #10694 IslandRhythms
  • feat(mongoose+connection): add global mongoose.syncIndexes() and Connection.prototype.syncIndexes() #10893 IslandRhythms
  • feat(query): support removing fields from projections #10630 canac
  • feat(aggregate): add unionWith method to aggregate #10961 saeidasadi
  • fix(index.d.ts): types for aggregation pipeline stages #10971 jeremyben

6.0.15 / 2021-12-06

  • fix(document): avoid overwriting schema methods when creating a new document with new Model() and strict: false #11001
  • fix(document): avoid overwriting top-level document _id with nested _id when strict = false #10934
  • fix(collection): avoid double-calling callback on sync error #10956
  • fix(connection): handle direct connection to uninitialized replica set that then becomes initialized #10948
  • fix(index.d.ts): allow partial updates on subdocuments for defaults #10947
  • fix(index.d.ts): handle buffer type in schema definitions #11026

6.0.14 / 2021-11-29

  • fix(document): catch errors in required functions #10968
  • fix(connection): clone schema when passing a schema from a different copy of Mongoose to Connection#model() #10904
  • fix(populate): set empty array [] on virtual populate with no result #10992
  • fix(query): handle orFail() with replaceOne() #10963
  • fix(populate): use Model by default when using Model.populate() on a POJO #10978

... (truncated)

Commits
  • b6e68f6 chore: release 6.1.2
  • f82a1e0 docs: undo #11091
  • cacc0df Merge pull request #11098 from alibehroozi/fix_replace_root_type
  • 1d509e2 Merge pull request #11096 from medolino/fix-11095
  • 11950fd Merge pull request #11094 from medolino/fix-11093
  • 620f643 Merge pull request #11092 from lorand-horvath/patch-5
  • 3805e8c Merge pull request #11091 from warlock1996/master
  • 80cee38 fix(query): support options param to Query.prototype.countDocuments()
  • 1db7aa9 perf(index.d.ts): streamline SchemaDefinitionProperty to save some memory in ...
  • 28c79d7 perf(index.d.ts): simplify ApplyBasicQueryCasting to reduce memory usage re...
  • 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.9.24 to 6.1.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@5.9.24...6.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 15, 2021

The following labels could not be found: npm, dependencies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants