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

chore(deps): update dependency mongoose to v7 - autoclosed #1420

Closed

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 3, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

Automattic/mongoose (mongoose)

v7.3.4

Compare Source

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

  • chore: release 7.4.4 to overwrite accidental publish of 5.13.20 to latest tag

v7.3.3

Compare Source

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

  • fix: avoid prototype pollution on init
  • fix(document): clean up all array subdocument modified paths on save() #​13589 #​13582
  • types: avoid unnecessary MergeType<> if TOverrides not set, clean up statics and insertMany() type issues #​13577 #​13529

v7.3.2

Compare Source

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

  • fix(model): avoid TypeError if insertMany() fails with error that does not have writeErrors property #​13579 #​13531
  • fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 #​13572 #​13550
  • fix(query): throw readable error when executing a Query instance without an associated model #​13571 #​13570
  • types: support mongoose.Schema.ObjectId as alias for mongoose.Schema.Types.ObjectId #​13543 #​13534
  • docs(connections): clarify that socketTimeoutMS now defaults to 0 #​13576 #​13537
  • docs(migrating_to_7): add mapReduce() removal to migration guide #​13568 #​13548
  • docs(schemas): fix typo in schemas.md #​13540 Metehan-Altuntekin

v7.3.1

Compare Source

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

  • fix(query): respect query-level strict option on findOneAndReplace() #​13516 #​13507
  • docs(connections): expand docs on serverSelectionTimeoutMS #​13533 #​12967
  • docs: add example of accessing save options in pre save #​13498
  • docs(connections+faq): add info on localhost vs 127.0.0.1
  • docs(SchemaType): validate members are validator & message (not msg) #​13521 lorand-horvath

v7.3.0

Compare Source

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

  • feat: upgrade mongodb -> 5.6.0 #​13455 lorand-horvath
  • feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript #​13509
  • feat(schema): support selecting subset of fields to apply optimistic concurrency to #​13506 #​10591
  • feat(model): add ordered option to Model.create() #​13472 #​4038
  • feat(schema): consistently add .get() function to all SchemaType classes
  • feat(populate): pass virtual to match function to allow merging match options #​13477 #​12443
  • types: allow overwriting Paths in select() to tell TypeScript which fields are projected #​13478 #​13224
  • types(schema): add validateModifiedOnly as schema option #​13503 #​10153
  • docs: add note about validateModifiedOnly as a schema option #​13503 #​10153
  • docs(migrating_to_7): update migrating_to_7.md to include Model.countDocuments #​13508 Climax777
  • docs(further_reading): remove style for "img" hasezoey

v7.2.4

Compare Source

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

v7.2.3

Compare Source

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

v7.2.2

Compare Source

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

  • fix(schema): make bulkWrite updateOne() and updateMany() respect timestamps option when set by merging schemas #​13445
  • fix(schema): recursively copy schemas from different modules when calling new Schema() #​13441 #​13275
  • fix(update): allow setting paths with dots under non-strict paths #​13450 #​13434
  • types: improve function parameter types for ToObjectOptions transform option #​13446 #​13421
  • docs: add nextjs page with link to next starter app and couple FAQs #​13444 #​13430
  • docs(connections): add section on multi tenant #​13449 #​11187
  • docs(connection+model): expand docs on accessors for underlying collections #​13448 #​13334

v7.2.1

Compare Source

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

  • fix(array): track correct changes when setting nested array of primitives #​13422 #​13372
  • fix(query): handle plus path in projection with findOneAndUpdate() #​13437 #​13413
  • fix(cursor): handle calling skipMiddlewareFunction() in pre('find') middleware with cursors #​13436 #​13411
  • fix(model): include inspect output in castBulkWrite() error #​13426
  • fix: avoid setting null property when updating using update pipeline with child timestamps but no top-level timestamps #​13427 #​13379
  • docs: remove callback based examples #​13433 #​13401
  • docs(connections): add details about keepAlive deprecation #​13431
  • docs: add list of supported patterns for error message templating #​13425 #​13311

v7.2.0

Compare Source

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

  • feat: upgrade mongodb -> 5.5.0
  • feat(document): add flattenObjectIds option to toObject() and toJSON() #​13383 #​13341
  • feat(query): add translateAliases option to automatically call translate aliases on query fields #​13397 #​8678 #​7511
  • feat(schema): propagate toObject and toJSON options to implicitly created schemas #​13325
  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #​13410 #​13256
  • feat(types+mongoose): export MongooseError #​13403 #​13387 ramos-ph

v7.1.2

Compare Source

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

v7.1.1

Compare Source

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

v7.1.0

Compare Source

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

v7.0.5

Compare Source

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

  • fix(schema): correctly handle uuids with populate() #​13317 #​13267
  • fix(schema): add clusteredIndex to schema options #​13286 jakesjews
  • fix(document): use collection.findOne() for saving docs with no changes to avoid firing findOne middleware #​13298
  • types(schema): avoid circular constraint in TSchemaOptions with --incremental by deferring ResolveSchemaOptions<> #​13291 #​13129
  • docs(subdocs): fix mention of subdocument ".remove" function #​13312 hasezoey
  • docs: add mongoose.Promise removal to migrating to 7 guide #​13295
  • docs: updated formatting of Error Handling section to better highlight the two kinds of possible errors #​13279 Ankit-Mandal
  • docs: fix broken link #​13301 #​13281

v7.0.4

Compare Source

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

v7.0.3

Compare Source

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

v7.0.2

Compare Source

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

v7.0.1

Compare Source

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

v7.0.0

Compare Source

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

  • BREAKING CHANGE: copy schema options when merging schemas using new Schema() or Schema.prototype.add() #​13092
  • feat(types): export mongodb types more robustly #​12948 simon-abbott
  • docs: fix populate docs #​13090 hasezoey
  • docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #​13083 lpizzinidev

v6.11.3

Compare Source

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

  • fix: avoid prototype pollution on init
  • fix(schema): correctly handle uuids with populate() #​13317 #​13595

v6.11.2

Compare Source

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

v6.11.1

Compare Source

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

  • fix(query): apply schema-level paths before calculating projection for findOneAndUpdate() #​13348 #​13340
  • fix: add SUPPRESS_JEST_WARNINGS environment variable to hide jest warnings #​13384 #​13373
  • types(model): allow overwriting expected param type for bulkWrite() #​13292 hasezoey

v6.11.0

Compare Source

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

v6.10.5

Compare Source

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

  • perf(document): avoid unnecessary loops, conditionals, string manipulation on Document.prototype.get() for 10x speedup on top-level properties #​12953
  • fix(model): execute valid write operations if calling bulkWrite() with ordered: false #​13218 #​13176
  • fix(array): pass-through all parameters #​13202 #​13201 hasezoey
  • fix: improve error message when sorting by empty string #​13249 #​10182
  • docs: add version support and check version docs #​13251 #​13193

v6.10.4

Compare Source

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

  • fix(document): apply setters on resulting value when calling Document.prototype.$inc() #​13178 #​13158
  • fix(model): add results property to unordered insertMany() to make it easy to identify exactly which documents were inserted #​13163 #​12791
  • docs(guide+schematypes): add UUID to schematypes guide #​13184

v6.10.3

Compare Source

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

v6.10.2

Compare Source

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

  • fix(document): avoid setting array default if document array projected out by sibling projection #​13135 #​13043 #​13003
  • fix(documentarray): set correct document array path if making map of document arrays #​13133
  • fix: undo accidental change to engines in package.json #​13124 lorand-horvath
  • docs: quick improvement to Model.init() docs #​13054

v6.10.1

Compare Source

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

v6.10.0

Compare Source

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

v6.9.3

Compare Source

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

v6.9.2

Compare Source

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

v6.9.1

Compare Source

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

  • fix(document): isModified should not be triggered when setting a nested boolean to the same value as previously #​12994 lpizzinidev
  • fix(document): save newly set defaults underneath single nested subdocuments #​13002 #​12905
  • fix(update): handle custom discriminator model name when casting update #​12947 wassil
  • fix(connection): handles unique autoincrement ID for connections #​12990 lpizzinidev
  • fix(types): fix type of options of Model.aggregate #​12933 ghost91-
  • fix(types): fix "near" aggregation operator input type #​12954 Jokero
  • fix(types): add missing Top operator to AccumulatorOperator type declaration #​12952 lpizzinidev
  • docs(transactions): added example for Connection.transaction() method #​12943 #​12934 lpizzinidev
  • docs(populate): fix out of date comment referencing onModel property #​13000
  • docs(transactions): fix typo in transactions.md #​12995 Parth86

v6.9.0

Compare Source

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

v6.8.4

Compare Source

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

v6.8.3

Compare Source

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

  • perf: improve performance of assignRawDocsToIdStructure for faster populate on large docs #​12867 Uzlopak
  • fix(model): ensure consistent ordering of validation errors in insertMany() with ordered: false and rawResult: true #​12866
  • fix: avoid passing final callback to pre hook, because calling the callback can mess up hook execution #​12836
  • fix(types): avoid inferring timestamps if methods, virtuals, or statics set #​12871
  • fix(types): correctly infer string enums on const arrays #​12870 JavaScriptBach
  • fix(types): allow virtuals to be invoked in the definition of other virtuals #​12874 sffc
  • fix(types): add type def for Aggregate#model without arguments #​12864 hasezoey
  • docs(discriminators): add section about changing discriminator key #​12861
  • docs(typescript): explain that virtuals inferred from schema only show up on Model, not raw document type #​12860 #​12684

v6.8.2

Compare Source

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

  • fix(schema): propagate strictQuery to implicitly created schemas for embedded discriminators #​12827 #​12796
  • fix(model): respect discriminators with Model.validate() #​12824 #​12621
  • fix(query): fix unexpected validation error when doing findOneAndReplace() with a nullish value #​12826 #​12821
  • fix(discriminator): apply built-in plugins to discriminator schema even if mergeHooks and mergePlugins are both false #​12833 #​12696
  • fix(types): add option "overwriteModels" as a schema option #​12817 #​12816 hasezoey
  • fix(types): add property "defaultOptions" #​12818 hasezoey
  • docs: make search bar respect documentation version, so you can search 5.x docs #​12548
  • docs(typescript): make note about recommending strict mode when using auto typed schemas #​12825 #​12420
  • docs: add section on sorting to query docs #​12588 IslandRhythms
  • test(query.test): add write-concern option #​12829 hasezoey

v6.8.1

Compare Source

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

v6.8.0

Compare Source

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

v6.7.5

Compare Source

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

v6.7.4

Compare Source

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


Configuration

📅 Schedule: Branch creation - "before 3am on Friday" (UTC), 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.

@renovate-bot renovate-bot requested a review from a team March 3, 2023 00:19
@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Mar 3, 2023
@Flarna
Copy link
Member

Flarna commented Mar 3, 2023

Any idea why only CLA check is executed here but no tests?

@Eji4h
Copy link

Eji4h commented May 5, 2023

When will this PR merge? I'm waiting for it.

@amitzig
Copy link

amitzig commented May 8, 2023

following

@renovate-bot renovate-bot force-pushed the renovate/mongoose-7.x branch 2 times, most recently from 5b9c421 to e81d3f1 Compare May 24, 2023 22:49
@renovate-bot renovate-bot force-pushed the renovate/mongoose-7.x branch 3 times, most recently from caa17fd to dcd4b1b Compare June 14, 2023 20:07
@renovate-bot renovate-bot force-pushed the renovate/mongoose-7.x branch 2 times, most recently from 0a6172f to ca4d779 Compare July 11, 2023 21:56
@renovate-bot renovate-bot changed the title chore(deps): update dependency mongoose to v7 chore(deps): update dependency mongoose to v7 - autoclosed Jul 18, 2023
@renovate-bot renovate-bot deleted the renovate/mongoose-7.x branch July 18, 2023 23:02
@Eji4h
Copy link

Eji4h commented Jul 18, 2023

Following

@carlpett carlpett mentioned this pull request Jul 20, 2023
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.

9 participants