Stoccoin-Official / Stoccoin-Website

Welcome to Stoccoin's GitHub repository! Here, you'll find all the code and resources needed to build and deploy our user-friendly news, trading platform for stocks and cryptocurrencies.
https://stoccoin.vercel.app
GNU Affero General Public License v3.0
65 stars 146 forks source link

build(deps): bump mongoose from 7.4.1 to 8.2.1 #422

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps mongoose from 7.4.1 to 8.2.1.

Release notes

Sourced from mongoose's releases.

8.2.1 / 2024-03-04

  • fix(document): make $clone avoid converting subdocs into POJOs #14395 #14353
  • fix(connection): avoid unhandled error on createConnection() if on('error') handler registered #14390 #14377
  • fix(schema): avoid applying default write concern to operations that are in a transaction #14391 #11382
  • types(querycursor): correct cursor async iterator type with populate() support #14384 #14374
  • types: missing typescript details on options params of updateMany, updateOne, etc. #14382 #14379 #14378 FaizBShah sderrow
  • types: allow Record as valid query select argument #14371 sderrow

8.2.0 / 2024-02-22

  • feat(model): add recompileSchema() function to models to allow applying schema changes after compiling #14306 #14296
  • feat: add middleware for bulkWrite() and createCollection() #14358 #14263 #7893
  • feat(model): add hydratedPopulatedDocs option to make hydrate recursively hydrate populated docs #14352 #4727
  • feat(connection): add withSession helper #14339 #14330

8.1.3 / 2024-02-16

  • fix: avoid corrupting $set-ed arrays when transaction error occurs #14346 #14340
  • fix(populate): handle ref() functions that return a model instance #14343 #14249
  • fix: insert version key when using insertMany even if toObject.versionKey set to false #14344
  • fix(cursor): make aggregation cursor support transform option to match query cursor #14348 #14331
  • docs(document): clarify that transform function option applies to subdocs #13757

8.1.2 / 2024-02-08

  • fix: include virtuals in document array toString() output if toObject.virtuals set #14335 #14315
  • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
  • fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
  • fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299 DevooKim
  • types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342 #14341 FaizBShah
  • types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336 #14303
  • types(connection): add type definition for createCollections() #14295 #14279
  • docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337 #14309

8.1.1 / 2024-01-24

  • fix(model): throw readable error when calling Model() with a string instead of model() #14288 #14281
  • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
  • types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options #14284 #14282
  • types(query): add missing runValidators back to MongooseQueryOptions #14278 #14275

8.1.0 / 2024-01-16

  • feat: upgrade MongoDB driver -> 6.3.0 #14241 #14189 #14108 #14104
  • feat: add Atlas search index helpers to Models and Schemas #14251 #14232
  • feat(connection): add listCollections() helper to connections #14257
  • feat(schematype): merge rather than overwrite default schematype validators #14124 #14070
  • feat(types): support type hints in InferSchemaType #14008 JavaScriptBach

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.2.1 / 2024-03-04

  • fix(document): make $clone avoid converting subdocs into POJOs #14395 #14353
  • fix(connection): avoid unhandled error on createConnection() if on('error') handler registered #14390 #14377
  • fix(schema): avoid applying default write concern to operations that are in a transaction #14391 #11382
  • types(querycursor): correct cursor async iterator type with populate() support #14384 #14374
  • types: missing typescript details on options params of updateMany, updateOne, etc. #14382 #14379 #14378 FaizBShah sderrow
  • types: allow Record as valid query select argument #14371 sderrow

7.6.9 / 2024-02-26

  • fix(document): handle embedded recursive discriminators on nested path defined using Schema.prototype.discriminator #14256 #14245
  • types(model): correct return type for findByIdAndDelete() #14233 #14190
  • docs(connections): add note about using asPromise() with createConnection() for error handling #14364 #14266
  • docs(model+query+findoneandupdate): add more details about overwriteDiscriminatorKey option to docs #14264 #14246

8.2.0 / 2024-02-22

  • feat(model): add recompileSchema() function to models to allow applying schema changes after compiling #14306 #14296
  • feat: add middleware for bulkWrite() and createCollection() #14358 #14263 #7893
  • feat(model): add hydratedPopulatedDocs option to make hydrate recursively hydrate populated docs #14352 #4727
  • feat(connection): add withSession helper #14339 #14330

8.1.3 / 2024-02-16

  • fix: avoid corrupting $set-ed arrays when transaction error occurs #14346 #14340
  • fix(populate): handle ref() functions that return a model instance #14343 #14249
  • fix: insert version key when using insertMany even if toObject.versionKey set to false #14344
  • fix(cursor): make aggregation cursor support transform option to match query cursor #14348 #14331
  • docs(document): clarify that transform function option applies to subdocs #13757

8.1.2 / 2024-02-08

  • fix: include virtuals in document array toString() output if toObject.virtuals set #14335 #14315
  • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
  • fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
  • fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299 DevooKim
  • types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342 #14341 FaizBShah
  • types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336 #14303
  • types(connection): add type definition for createCollections() #14295 #14279
  • docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337 #14309

8.1.1 / 2024-01-24

  • fix(model): throw readable error when calling Model() with a string instead of model() #14288 #14281
  • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
  • types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options #14284 #14282
  • types(query): add missing runValidators back to MongooseQueryOptions #14278 #14275

8.1.0 / 2024-01-16

... (truncated)

Commits
  • fb1e00b chore: release 8.2.1
  • 9288e15 Merge pull request #14401 from Automattic/dependabot/npm_and_yarn/master/moch...
  • e223d7a Merge pull request #14402 from Automattic/dependabot/npm_and_yarn/master/webp...
  • 17ce8e2 chore(deps-dev): bump webpack from 5.90.1 to 5.90.3
  • 72f3e8b Merge pull request #14404 from Automattic/dependabot/npm_and_yarn/master/babe...
  • fb88e57 Merge pull request #14411 from Automattic/dependabot/npm_and_yarn/master/tsd-...
  • 44bc414 Merge pull request #14412 from Automattic/dependabot/github_actions/master/ac...
  • 6854607 test: bump TypeScript instantiations cap to fix tests until we release #14328
  • 6ed3385 Merge pull request #14395 from Automattic/vkarpov15/gh-14353
  • ead215f chore(deps-dev): bump mocha from 10.2.0 to 10.3.0
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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 3 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.