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

fix(deps): update dependency mongoose to v8.4.1 #122

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 21, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongoose (source) 8.0.0 -> 8.4.1 age adoption passing confidence

Release Notes

Automattic/mongoose (mongoose)

v8.4.1

Compare Source

==================

v8.4.0

Compare Source

==================

  • feat: upgrade mongodb -> 6.6.2 #​14584
  • feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #​14583 #​13889
  • feat: handle initially null driver when instantiating Mongoose for Rollup support #​14577 #​12335
  • feat(mongoose): export omitUndefined() helper #​14582 #​14569
  • feat: add Model.listSearchIndexes() #​14519 #​14450
  • feat(connection): add listDatabases() function #​14506 #​9048
  • feat(schema): add schema-level readConcern option to apply default readConcern for all queries #​14579 #​14511
  • fix(error): remove model property from CastError to avoid printing all model properties to console #​14568 #​14529
  • fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #​14587 #​14572
  • fix(document): ensure transform function passed to toObject() options applies to subdocs #​14600 #​14589
  • types: add inferRawDocType helper #​13900 #​13772
  • types(document): make document _id type default to unknown instead of any #​14541

v8.3.5

Compare Source

==================

  • fix(query): shallow clone $or, $and if merging onto empty query filter #​14580 #​14567
  • types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods #​14581 #​14574
  • docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context #​14575 #​14573

v8.3.4

Compare Source

==================

  • perf(document): avoid cloning options using spread operator for perf reasons #​14565 #​14394
  • fix(query): apply translateAliases before casting to avoid strictMode error when using aliases #​14562 #​14521
  • fix(model): consistent top-level timestamps option for bulkWrite operations
    #​14546 #​14536
  • docs(connections): improve description of connection creation patterns #​14564 #​14528

v8.3.3

Compare Source

==================

  • perf(document): add fast path for applying non-nested virtuals to JSON #​14543
  • fix: make hydrate() recursively hydrate virtual populate docs if hydratedPopulatedDocs is set #​14533 #​14503
  • fix: improve timestamps option handling in bulkWrite #​14546 #​14536 sderrow
  • fix(model): make recompileSchema() overwrite existing document array discriminators #​14527
  • types(schema): correctly infer Array<Schema.Types.*> #​14534 #​14367
  • types(query+populate): apply populate overrides to doc toObject() result #​14525 #​14441
  • types: add null to select override return type for findOne #​14545 sderrow

v8.3.2

Compare Source

==================

v8.3.1

Compare Source

==================

  • fix(document): make update minimization unset property rather than setting to null #​14504 #​14445
  • fix(model): make Model.recompileSchema() also re-apply discriminators #​14500 #​14444
  • fix(schema): deduplicate idGetter so creating multiple models with same schema doesn't result in multiple id getters #​14492
  • fix: update kareem -> 2.6.3 for index.d.ts #​14508 #​14497
  • fix(mongoose): make setDriver() update mongoose.model() connections and collections #​14505
  • types(validation): support function for validator message property, and add support for accessing validator reason #​14499 #​14496
  • docs: remove typo #​14501 epmartini

v8.3.0

Compare Source

==================

v8.2.4

Compare Source

==================

v8.2.3

Compare Source

==================

v8.2.2

Compare Source

==================

v8.2.1

Compare Source

==================

v8.2.0

Compare Source

==================

v8.1.3

Compare Source

==================

  • 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

v8.1.2

Compare Source

==================

  • 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

v8.1.1

Compare Source

==================

  • 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

v8.1.0

Compare Source

==================

v8.0.4

Compare Source

==================

  • 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
  • types(schema): add missing omit() method #​14235 amitbeck
  • types(model): add missing strict property to bulkWrite() top level options #​14239
  • docs(compatibility): add note that Mongoose 5.13 is fully compatible with MongoDB server 5 #​14230 #​14149
  • docs: add shared schemas guide #​14211
  • docs: update TLS/SSL guide for Mongoose v8 - MongoDB v6 driver deprecations #​14170 andylwelch
  • docs: update findOneAndUpdate tutorial to use includeResultMetadata #​14208 #​14207
  • docs: clarify disabling _id on subdocs #​14195 #​14194

v8.0.3

Compare Source

==================

  • fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #​14128 #​14101
  • docs(connections): add example of registering connection event handlers #​14150
  • docs(populate): add example of using refPath and ref functions #​14133 #​13834
  • types: handle using BigInt global class in schema definitions #​14160 #​14147
  • types: make findOneAndDelete() without options return result doc, not ModifyResult #​14153 #​14130
  • types(model): add no-generic override for insertMany() with options #​14152 #​13999
  • types: add missing Type for applyDefaults #​14159 jaypea

v8.0.2

Compare Source

==================

  • fix(populate): set populated docs in correct order when populating virtual underneath doc array with justOne #​14105
  • fix(populate): fix curPath to update appropriately #​14099 #​14098 csy1204
  • types: make property names show up in intellisense for UpdateQuery #​14123 #​14090
  • types(document): correct return type for doc.deleteOne() re: Mongoose 8 breaking change #​14110 #​14081
  • types: correct types for when includeResultMetadata: true is set #​14078
  • types(models): allow specifying timestamps as inline option for bulkWrite() operations #​14112 #​14072
  • docs: fix rendering of 7.x server compatibility #​14086 laupow
  • docs(source/api): fix "index.js" -> "mongoose.js" rename #​14125
  • docs(README): update breaking change version #​14126

v8.0.1

Compare Source

==================


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

coderabbitai bot commented Apr 21, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/mongoose-8.x-lockfile branch from 7229f17 to a66d4aa Compare April 29, 2024 21:43
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.3.2 fix(deps): update dependency mongoose to v8.3.3 Apr 29, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x-lockfile branch from a66d4aa to c34c908 Compare May 6, 2024 19:41
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.3.3 fix(deps): update dependency mongoose to v8.3.4 May 6, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x-lockfile branch from c34c908 to 7ca6ef5 Compare May 15, 2024 17:35
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.3.4 fix(deps): update dependency mongoose to v8.3.5 May 15, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x-lockfile branch from 7ca6ef5 to 576381a Compare May 17, 2024 13:38
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.3.5 fix(deps): update dependency mongoose to v8.4.0 May 17, 2024
@renovate renovate bot force-pushed the renovate/mongoose-8.x-lockfile branch from 576381a to 76aec43 Compare May 31, 2024 17:20
@renovate renovate bot changed the title fix(deps): update dependency mongoose to v8.4.0 fix(deps): update dependency mongoose to v8.4.1 May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants