lambdajon / starter-kit

Apache License 2.0
13 stars 9 forks source link

build(deps): bump mongoose from 6.3.3 to 6.6.2 #119

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps mongoose from 6.3.3 to 6.6.2.

Release notes

Sourced from mongoose's releases.

6.6.2 / 2022-09-26

  • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
  • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
  • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
  • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
  • fix(types): add sanitizeFilter to types #12465 zrosenbauer
  • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
  • docs(validation): add section on global schematype validation, clean up other issues #12430
  • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
  • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey

6.6.1 / 2022-09-14

  • fix: correctly apply defaults after subdoc init #12328
  • fix(array): avoid using default _id when using pull() #12294
  • fix: allow null values inside $expr objects #12429 MartinDrost
  • fix(query): use correct Query constructor when cloning query #12418
  • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey

6.6.0 / 2022-09-08

  • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
  • feat: re-export default Mongoose instance properties for ESM named imports support #12256
  • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
  • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
  • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
  • feat(types): add types for new $densify operator #12118 IslandRhythms

6.5.5 / 2022-09-07

  • fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
  • fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
  • fix(types): add string "ascending" and "descending" index-directions #10269
  • docs: upgrade dox to 1.0.0 #12403 hasezoey
  • docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
  • docs: update JSDOC ... (spread) definition #12388 hasezoey
  • refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez

6.5.4 / 2022-08-30

  • fix(document): allow calling $assertPopulated() with values to better support manual population #12233
  • fix(connection+mongoose): better handling for calling model() with 1 argument #12359
  • fix(model): allow defining discriminator virtuals and methods using schema options #12326
  • fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
  • fix(types): fix replaceOne return type #12351 lpizzinidev
  • fix(types): use this for return type from $assertPopulated() #12234
  • docs: highlight how to connect using auth in README #12354 AntonyOnScript
  • docs: improve jsdoc comments for private methods #12337 hasezoey
  • docs: fix minor typo in compatibility table header #12355 skyme5

... (truncated)

Changelog

Sourced from mongoose's changelog.

6.6.2 / 2022-09-26

  • fix(model): avoid deleting shared schema methods in fix for #12254 #12423
  • fix(document): set $inc default value in case field has not been specified on the document #12435 lpizzinidev
  • fix(query): handle select: false on map paths in query results #12467 lpizzinidev
  • fix(types): add HydratedDocumentFromSchema to make it easier to pull inferred hydrated doc type #12464 #12319
  • fix(types): add sanitizeFilter to types #12465 zrosenbauer
  • fix(types): infer number enum types from schema if using enum: [0, 1] as const #12463 #12242
  • docs(validation): add section on global schematype validation, clean up other issues #12430
  • docs: add clarification about overwrite flag in model.js #12447 Tzvika-m
  • docs: change to consistent "Example:" for jsdoc comments #12432 hasezoey

6.6.1 / 2022-09-14

  • fix: correctly apply defaults after subdoc init #12328
  • fix(array): avoid using default _id when using pull() #12294
  • fix: allow null values inside $expr objects #12429 MartinDrost
  • fix(query): use correct Query constructor when cloning query #12418
  • docs(website): remove setting "latest38x" which is not used anywhere #12396 hasezoey

6.6.0 / 2022-09-08

  • feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
  • feat: re-export default Mongoose instance properties for ESM named imports support #12256
  • feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
  • feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
  • feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
  • feat(types): add types for new $densify operator #12118 IslandRhythms

6.5.5 / 2022-09-07

  • fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
  • fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
  • fix(types): add string "ascending" and "descending" index-directions #10269
  • docs: upgrade dox to 1.0.0 #12403 hasezoey
  • docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
  • docs: update JSDOC ... (spread) definition #12388 hasezoey
  • refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez

6.5.4 / 2022-08-30

  • fix(document): allow calling $assertPopulated() with values to better support manual population #12233
  • fix(connection+mongoose): better handling for calling model() with 1 argument #12359
  • fix(model): allow defining discriminator virtuals and methods using schema options #12326
  • fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
  • fix(types): fix replaceOne return type #12351 lpizzinidev
  • fix(types): use this for return type from $assertPopulated() #12234
  • docs: highlight how to connect using auth in README #12354 AntonyOnScript
  • docs: improve jsdoc comments for private methods #12337 hasezoey
  • docs: fix minor typo in compatibility table header #12355 skyme5

... (truncated)

Commits
  • 17785a5 chore: release 6.6.2
  • 88ba7a1 Merge pull request #12464 from Automattic/vkarpov15/gh-12319
  • 55112dc Merge pull request #12471 from hasezoey/addNamesToFunctions
  • f58a320 style: add names to previously anonymous hook functions
  • 8b9b164 style(document): update adding query hooks to use functions instead of arrow
  • 5d24d0f style(clearValidating): add name to previously anonymous plugin function
  • a792dc3 Merge pull request #12470 from hasezoey/addNamesToPlugins
  • d08cd47 style: add names to previously anonymous plugin functions
  • f50ec33 Merge pull request #12466 from Automattic/vkarpov15/gh-12430
  • 4fcf0a5 Update test/docs/validation.test.js
  • 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

The following labels could not be found: dependencies.

zoeself commented 2 years ago

@dependabot[bot] thank you for your Pull Request. I'll assign someone to review it soon.

If this PR solves a todo from the code, please don't forget to remove it.

zoeself commented 2 years ago

@akhmadiy I couldn't find any assignee for this task. This is either because there are no contributors with role REV available or because the project does not have enough funds.

Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.

dependabot[bot] commented 1 year ago

Superseded by #126.