Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mongoose from 8.0.0 to 8.2.0 #169

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2024

Bumps mongoose from 8.0.0 to 8.2.0.

Release notes

Sourced from mongoose's releases.

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

8.0.4 / 2024-01-08

  • fix(update): set CastError path to full path if casting update fails #14161 #14114
  • fix: cast error when there is an elemMatch in the and clause #14171 tosaka-n
  • fix: allow defining index on base model that applies to all discriminators #14176 peplin
  • fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update #14197 #14164
  • fix(populate): handle deselecting _id with array of fields in populate() #14242 #14231
  • types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions #14228 #14204
  • types: fix return types for findByIdAndDelete overrides #14196 #14190

... (truncated)

Changelog

Sourced from mongoose's changelog.

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

8.0.4 / 2024-01-08

  • fix(update): set CastError path to full path if casting update fails #14161 #14114
  • fix: cast error when there is an elemMatch in the and clause #14171 tosaka-n
  • fix: allow defining index on base model that applies to all discriminators #14176 peplin
  • fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update #14197 #14164
  • fix(populate): handle deselecting _id with array of fields in populate() #14242 #14231
  • types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions #14228 #14204
  • types: fix return types for findByIdAndDelete overrides #14196 #14190

... (truncated)

Commits
  • f1ed13f chore: release 8.2.0
  • 3508f5f Merge pull request #14362 from Automattic/8.2
  • b10fc72 Merge pull request #14350 from Automattic/vkarpov15/helpers-refactor
  • 2277ad4 Merge pull request #14358 from Automattic/vkarpov15/bulkwrite-middleware
  • 5d7178c Merge branch 'master' into 8.2
  • 4876d1e Update lib/query.js
  • c164d63 Update lib/query.js
  • aa65645 feat: add middleware for bulkWrite() and createCollection()
  • 7732ce2 chore: release 8.1.3
  • dd152c8 Merge branch 'master' of github.com:Automattic/mongoose
  • 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 <dependency name> 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)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.0.0 to 8.2.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@8.0.0...8.2.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 24, 2024
Copy link

sonarcloud bot commented Feb 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ilovepixelart ilovepixelart merged commit 752171b into main Feb 24, 2024
10 checks passed
@ilovepixelart ilovepixelart deleted the dependabot/npm_and_yarn/mongoose-8.2.0 branch February 24, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant