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.2.0 #438

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 5.13.7 to 6.2.0.

Release notes

Sourced from mongoose's releases.

6.2.0 / 2022-02-02

  • feat(connection+mongoose): add support for continueOnError for syncIndexes #11266 AbdelrahmanHafez
  • feat(query): cast literals in $expr where possible #10663
  • feat(schema+mongoose): add pluginTags to allow applying global plugins to only schemas with matching tags #9780
  • feat(discriminator): support overwriteModels:true to reuse discriminator names #11244 #10931 IslandRhythms
  • feat(index.d.ts): add DocType generic param to Model functions that return queries to better support projections #11156
  • feat(error): export MongooseServerSelectionError #11202
  • feat(schematype): add validators, path, isRequired to public API and TypeScript types #11139
  • fix(model): make exists(...) return lean document with _id or null instead of boolean #11142 AbdelrahmanHafez
  • fix(model): support storing versionKey in nested paths #10980
  • fix(index.d.ts): add options to bulkSave() type def #11201 Uzlopak
  • fix(index.d.ts): better support for query projections #11210 EugeneKorshenko

6.1.10 / 2022-02-01

  • fix(mongoose): correctly handle destructured isValidObjectId #11304
  • fix(mongoose): defer to MongoDB driver isValid() for isValidObjectId() #11227

6.1.8 / 2022-01-24

  • fix(connection): stop leaking sessions in .transaction() #11259 #11256 Uzlopak
  • perf: remove sliced in favor of Array.prototype.slice() #11238 Uzlopak
  • perf: improve setDottedPath #11264 Uzlopak
  • fix(document): handle edge case where NestJS sets String.type = String, mixing up schema definitions #11199
  • fix: remove obsolete code after upgrading to bson4 #11265 Uzlopak
  • fix: remove util.isArray in favor of Array.isArray #11234 Uzlopak
  • fix(index.d.ts): avoid UnpackedIntersection making findOne().populate() result non-nullable #11041
  • docs(migration): add note to change default functions to schema #11245 AbdelrahmanHafez
  • docs: updated docs and issue templates for new FAQs #11171 IslandRhythms
  • chore: fix casting benchmark #11262 Uzlopak
  • chore: add mongodb-memory-server to test easier locally #11255 Uzlopak
  • chore: fix testing tsconfig #11243 Uzlopak
  • refactor: move utils.random to test folder #11239 Uzlopak

6.1.7 / 2022-01-17

  • fix(model): correct handling for $push on a nested array #11108
  • fix(update): correctly apply timestamps to update pipelines #11151
  • fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172
  • fix(index.d.ts): allow passing options to model() in place of removed skipInit #11137
  • fix(aggregate): allow passing verbosity to Aggregate.prototype.explain() #11144
  • fix(index.d.ts): avoid TypeScript inferring _id as any type with HydratedDocument #11085
  • docs: fix Node.js Driver compat link #11214 wesbos
  • docs: remove extraneous backquote #11204 joebowbeer

6.1.6 / 2022-01-10

  • perf(document): delay creating document event emitter until used to improve memory usage, several small improvements to improve initing docs with large arrays #10400
  • fix(model): avoid bulkSave() error when versionKey: false #11186 #11071 IslandRhythms

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.2.0 / 2022-02-02

  • feat(connection+mongoose): add support for continueOnError for syncIndexes #11266 AbdelrahmanHafez
  • feat(query): cast literals in $expr where possible #10663
  • feat(schema+mongoose): add pluginTags to allow applying global plugins to only schemas with matching tags #9780
  • feat(discriminator): support overwriteModels:true to reuse discriminator names #11244 #10931 IslandRhythms
  • feat(index.d.ts): add DocType generic param to Model functions that return queries to better support projections #11156
  • feat(error): export MongooseServerSelectionError #11202
  • feat(schematype): add validators, path, isRequired to public API and TypeScript types #11139
  • fix(model): make exists(...) return lean document with _id or null instead of boolean #11142 AbdelrahmanHafez
  • fix(model): support storing versionKey in nested paths #10980
  • fix(index.d.ts): add options to bulkSave() type def #11201 Uzlopak
  • fix(index.d.ts): better support for query projections #11210 EugeneKorshenko

6.1.10 / 2022-02-01

  • fix(mongoose): correctly handle destructured isValidObjectId #11304
  • fix(mongoose): defer to MongoDB driver isValid() for isValidObjectId() #11227

6.1.9 / 2022-01-31

  • fix(query): respect nested schema strict as default when casting query filters #11291
  • fix(mongoose): make isValidObjectId() consistent with isValid(), make ObjectId() casting more flexible #11209
  • fix(setDefaultsOnInsert): ignore defaults underneath maps #11235
  • fix(query): avoid setting nested schema properties that are stripped out by strictQuery to undefined in query filter #11291
  • fix: check for all flags in a regex deepequal #11242 Uzlopak
  • fix: replace substr with substring #11278 Uzlopak
  • docs: port for documentation testing in CONTRIBUTING.md #11273 Uzlopak

6.1.8 / 2022-01-24

  • fix(connection): stop leaking sessions in .transaction() #11259 #11256 Uzlopak
  • perf: remove sliced in favor of Array.prototype.slice() #11238 Uzlopak
  • perf: improve setDottedPath #11264 Uzlopak
  • fix(document): handle edge case where NestJS sets String.type = String, mixing up schema definitions #11199
  • fix: remove obsolete code after upgrading to bson4 #11265 Uzlopak
  • fix: remove util.isArray in favor of Array.isArray #11234 Uzlopak
  • fix(index.d.ts): avoid UnpackedIntersection making findOne().populate() result non-nullable #11041
  • docs(migration): add note to change default functions to schema #11245 AbdelrahmanHafez
  • docs: updated docs and issue templates for new FAQs #11171 IslandRhythms
  • chore: fix casting benchmark #11262 Uzlopak
  • chore: add mongodb-memory-server to test easier locally #11255 Uzlopak
  • chore: fix testing tsconfig #11243 Uzlopak
  • refactor: move utils.random to test folder #11239 Uzlopak

6.1.7 / 2022-01-17

  • fix(model): correct handling for $push on a nested array #11108
  • fix(update): correctly apply timestamps to update pipelines #11151
  • fix(document): correctly handle modifying array subdocument after setting array subdocument to itself #11172

... (truncated)

Commits
  • bea37de chore: release 6.2.0
  • 998e778 Merge pull request #11316 from Automattic/6.2
  • 7f3a43e Merge pull request #11315 from Automattic/revert-11222-syncIndexes-global-option
  • 950ba35 Revert "Sync indexes global option"
  • 7fe18af Merge branch 'master' into 6.2
  • 27bb443 chore: release 6.1.10
  • 7695960 fix(mongoose): defer to MongoDB driver isValid() for isValidObjectId()
  • 370381a fix(mongoose): correctly handle destructured isValidObjectId
  • ae4faa1 fix: correctly revert #11236
  • f67e1ca chore: revert #11236
  • 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 #440.