devconcept / multer-gridfs-storage

🍃 GridFS storage engine for Multer to store uploaded files directly to MongoDb
MIT License
237 stars 67 forks source link

Bump mongoose from 5.13.7 to 6.3.3 #483

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 5.13.7 to 6.3.3.

Release notes

Sourced from mongoose's releases.

6.3.3 / 2022-05-09

  • perf: avoid leaking memory when using populate() with QueryCursor because of reusing populate options with _docs #11641
  • fix(types): add _id back for LeanDocument #11769 #11761 taxilian
  • fix(model): add skipValidation option for bulkWrite() to allow skipping validation for insertOne and replaceOne #11663
  • fix(document): correctly $__reset() subdocuments that are under nested paths #11672
  • fix(query): handle casting BSONRegExp instances as RegExps in queries #11597
  • fix: correctly cast $not in $expr #11689
  • perf: optimize size of browser bundle, use buffer v.5.7.1 package to match buffer package of mongodb in browser bundle #11765 Uzlopak
  • docs: Query.populate docs do not include using an array of strings for the path param #11768 #11641 AbdelrahmanHafez
  • chore: add GitHub workflow to close stale "can't reproduce", "help", "needs clarification" issues #11753 Uzlopak
  • chore: remove Makefile dependency for compiling docs #11751 Uzlopak

6.3.2 / 2022-05-02

  • perf: avoid registering event listeners on subdocuments to reduce memory usage #11541
  • fix(setDefaultsOnInsert): set default if sibling of nested path is $set #11668
  • perf(document): remove unnecessary workaround for ignoring subpaths of arrays #11541
  • fix(types): various fixes and improvements for types #11650 taxilian
  • fix(types): make mongoose typings work without esmModuleInterop true #11695 Uzlopak
  • fix(types): support populate(path, fields, model) syntax #11649 #11598 mohammad0-0ahmad
  • fix(types): correct SchemaTypeOptions.get function signature #11561
  • fix: fix browser build for Webpack 5 #11717
  • docs: improve readme #11705 mahendrap1512

6.3.1 / 2022-04-21

  • perf: improve perf of key order #11639 Uzlopak
  • fix(timestamps): set createdAt when creating new single nested subdocuments #11603
  • fix: improve CastError message when throwing StrictModeError #11506
  • fix: upgrade bson to match mongodb@4.5 #11676
  • fix(populate): avoid populating single nested subdocs underneath arrays if there's no ref #11538
  • fix: handle { capped: number } in schema definition with createCollection() #11539
  • fix: call markModified before setting changes in Array and in DocumentArray methods #11660 josegl
  • fix: only allow using minus path to remove auto-selected discriminatorKey from projection #11546
  • fix(types): set context on virtual getters/setters by default #11543
  • fix(types): correct return type for Connection.prototype.transaction #9919
  • fix(types): allow model as document interface key when using extends Document #11629
  • docs: improve populate typing #11690 onichandame
  • docs: add information regarding typings-tests #11691 Uzlopak
  • docs: fix jsdoc for mongoose.createConnection #11693 Uzlopak

6.3.0 / 2022-04-14

  • fix: upgrade mongodb driver -> 4.5.0 #11623 AbdelrahmanHafez
  • feat(schema): allow defining discriminators on schema and in schema definition #7971 IslandRhythms
  • feat(base): add option to set allowDiskUse globally #11554 AbdelrahmanHafez
  • feat(schema): add removeIndex() and clearIndex() #11547 IslandRhythms
  • feat(cursor): add continueOnError option to allow executing eachAsync() on all docs even if error occurs #6355
  • feat(query): add versionKey option to lean() for removing version key from lean docs #8934 IslandRhythms

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.3.3 / 2022-05-09

  • perf: avoid leaking memory when using populate() with QueryCursor because of reusing populate options with _docs #11641
  • fix(types): add _id back for LeanDocument #11769 #11761 taxilian
  • fix(model): add skipValidation option for bulkWrite() to allow skipping validation for insertOne and replaceOne #11663
  • fix(document): correctly $__reset() subdocuments that are under nested paths #11672
  • fix(query): handle casting BSONRegExp instances as RegExps in queries #11597
  • fix: correctly cast $not in $expr #11689
  • perf: optimize size of browser bundle, use buffer v.5.7.1 package to match buffer package of mongodb in browser bundle #11765 Uzlopak
  • docs: Query.populate docs do not include using an array of strings for the path param #11768 #11641 AbdelrahmanHafez
  • chore: add GitHub workflow to close stale "can't reproduce", "help", "needs clarification" issues #11753 Uzlopak
  • chore: remove Makefile dependency for compiling docs #11751 Uzlopak

6.3.2 / 2022-05-02

  • perf: avoid registering event listeners on subdocuments to reduce memory usage #11541
  • fix(setDefaultsOnInsert): set default if sibling of nested path is $set #11668
  • perf(document): remove unnecessary workaround for ignoring subpaths of arrays #11541
  • fix(types): various fixes and improvements for types #11650 taxilian
  • fix(types): make mongoose typings work without esmModuleInterop true #11695 Uzlopak
  • fix(types): support populate(path, fields, model) syntax #11649 #11598 mohammad0-0ahmad
  • fix(types): correct SchemaTypeOptions.get function signature #11561
  • fix: fix browser build for Webpack 5 #11717
  • docs: improve readme #11705 mahendrap1512

6.3.1 / 2022-04-21

  • perf: improve perf of key order #11639 Uzlopak
  • fix(timestamps): set createdAt when creating new single nested subdocuments #11603
  • fix: improve CastError message when throwing StrictModeError #11506
  • fix: upgrade bson to match mongodb@4.5 #11676
  • fix(populate): avoid populating single nested subdocs underneath arrays if there's no ref #11538
  • fix: handle { capped: number } in schema definition with createCollection() #11539
  • fix: call markModified before setting changes in Array and in DocumentArray methods #11660 josegl
  • fix: only allow using minus path to remove auto-selected discriminatorKey from projection #11546
  • fix(types): set context on virtual getters/setters by default #11543
  • fix(types): correct return type for Connection.prototype.transaction #9919
  • fix(types): allow model as document interface key when using extends Document #11629
  • docs: improve populate typing #11690 onichandame
  • docs: add information regarding typings-tests #11691 Uzlopak
  • docs: fix jsdoc for mongoose.createConnection #11693 Uzlopak

6.3.0 / 2022-04-14

  • fix: upgrade mongodb driver -> 4.5.0 #11623 AbdelrahmanHafez
  • feat(schema): allow defining discriminators on schema and in schema definition #7971 IslandRhythms
  • feat(base): add option to set allowDiskUse globally #11554 AbdelrahmanHafez
  • feat(schema): add removeIndex() and clearIndex() #11547 IslandRhythms
  • feat(cursor): add continueOnError option to allow executing eachAsync() on all docs even if error occurs #6355
  • feat(query): add versionKey option to lean() for removing version key from lean docs #8934 IslandRhythms

... (truncated)

Commits
  • f1d4ab1 chore: release 6.3.3
  • 28da36b fix(model): add skipValidation option for bulkWrite() to allow skipping v...
  • 55ff290 perf: avoid leaking memory when using populate() with QueryCursor because o...
  • 2091818 fix(query): handle casting BSONRegExp instances as RegExps in queries
  • 8838b5e Merge branch 'master' of github.com:Automattic/mongoose
  • 38c6fe1 docs(query): clarify that orFail() with updateX() throws if no document u...
  • 7d4f95b Merge pull request #11774 from Uzlopak/slack-badge
  • 63c595a fix slack badge
  • 474dcdf Merge branch 'master' of github.com:Automattic/mongoose
  • 97815f7 docs(typescript): add section about methods to TypeScript statics page
  • 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[bot] commented 2 years ago

Superseded by #485.