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 mongoose #729

Merged
merged 1 commit into from
Oct 2, 2024
Merged

chore(deps): update mongoose #729

merged 1 commit into from
Oct 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typegoose/typegoose (source) 12.4.0 -> 12.8.0 age adoption passing confidence
mongoose (source) 8.3.5 -> 8.7.0 age adoption passing confidence

Release Notes

typegoose/typegoose (@​typegoose/typegoose)

v12.8.0

Compare Source

Dependencies
  • loglevel: upgrade to 1.9.2 (42d34c6)
  • mongoose: upgrade to 8.7.0 (d25ddf4)
Dev-Dependencies

v12.7.0

Compare Source

Style
  • types: fix typo in BasePropOptions's autopopulate description (#​952) (8613414)
Dependencies
  • mongoose: upgrade to 8.6.0 (d3cc8c0)
  • semver: upgrade to 7.6.3 (52c01b7)
  • tslib: upgrade to 2.7.0 (6cb1d44)
Dev-Dependencies

v12.6.0

Compare Source

Dependencies
  • mongoose: upgrade to 8.5.0 (8f3e4f6)
  • tslib: upgrade to 2.6.3 (f299ccc)
Dev-Dependencies

v12.5.0

Compare Source

Dependencies
  • mongoose: upgrade to 8.4.0 (7a3e65e)
  • semver: upgrade to 7.6.2 (877b7da)
Dev-Dependencies
Automattic/mongoose (mongoose)

v8.7.0

Compare Source

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

  • feat(model): add Model.applyVirtuals() to apply virtuals to a POJO #​14905 #​14818
  • feat: upgrade mongodb -> 6.9.0 #​14914
  • feat(query): cast $rename to string #​14887 #​3027
  • feat(SchemaType): add getEmbeddedSchemaType() method to SchemaTypes #​14880 #​8389
  • fix(model): throw MongooseBulkSaveIncompleteError if bulkSave() didn't completely succeed #​14884 #​14763
  • fix(connection): avoid returning readyState = connected if connection state is stale #​14812 #​14727
  • fix: depopulate if push() or addToSet() with an ObjectId on a populated array #​14883 #​1635
  • types: make __v a number, only set __v on top-level documents #​14892

v8.6.4

Compare Source

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

  • fix(document): avoid massive perf degradation when saving new doc with 10 level deep subdocs #​14910 #​14897
  • fix(model): skip applying static hooks by default if static name conflicts with aggregate middleware #​14904 dragontaek-lee
  • fix(model): filter applying static hooks by default if static name conflicts with mongoose middleware #​14908 dragontaek-lee

v8.6.3

Compare Source

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

v8.6.2

Compare Source

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

v8.6.1

Compare Source

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

  • fix(document): avoid unnecessary clone() in applyGetters() that was preventing getters from running on 3-level deep subdocuments #​14844 #​14840 #​14835
  • fix(model): throw error if bulkSave() did not insert or update any documents #​14837 #​14763
  • fix(cursor): throw error in ChangeStream constructor if changeStreamThunk() throws a sync error #​14846
  • types(query): add $expr to RootQuerySelector #​14845
  • docs: update populate.md to fix missing match: { } #​14847 makhoulshbeeb

v8.6.0

Compare Source

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

  • feat: upgrade mongodb -> 6.8.0, handle throwing error on closed cursor in Mongoose with MongooseError instead of MongoCursorExhaustedError #​14813
  • feat(model+query): support options parameter for distinct() #​14772 #​8006
  • feat(QueryCursor): add getDriverCursor() function that returns the raw driver cursor #​14745
  • types: change query selector to disallow unknown top-level keys by default #​14764 alex-statsig
  • types: make toObject() and toJSON() not generic by default to avoid type widening #​14819 #​12883
  • types: avoid automatically inferring lean result type when assigning to explicitly typed variable #​14734

v8.5.5

Compare Source

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

  • fix(populate): fix a couple of other places where Mongoose gets the document's _id with getters #​14833 #​14827 #​14759
  • fix(discriminator): shallow clone Schema.prototype.obj before merging schemas to avoid modifying original obj #​14821
  • types: fix schema type based on timestamps schema options value #​14829 #​14825 ark23CIS

v8.5.4

Compare Source

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

  • fix: add empty string check for collection name passed #​14806 Shubham2552
  • docs(model): add 'throw' as valid strict value for bulkWrite() and add some more clarification on throwOnValidationError #​14809

v8.5.3

Compare Source

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

v8.5.2

Compare Source

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

v8.5.1

Compare Source

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

  • perf(model): performance improvements for insertMany() #​14724
  • fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value #​14728 #​14722
  • fix(model): handle transactionAsyncLocalStorage option with insertMany() #​14743
  • types: make _id required on Document type #​14735 #​14660
  • types: fix ChangeStream.close to return a Promise like the driver #​14740 orgads

v8.5.0

Compare Source

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

  • perf: memoize toJSON / toObject default options #​14672
  • feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #​14699 #​14268
  • feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #​14691
  • feat: allow setting array default value to null #​14717 #​6691
  • feat(mongoose): allow drivers to set global plugins #​14682
  • feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #​14681 #​14611
  • fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #​14732 #​9885
  • fix(query): remove count() and findOneAndRemove() from query chaining #​14692 #​14689
  • fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #​14679 #​8302
  • types(models+query): infer return type from schema for 1-level deep nested paths #​14632
  • types(connection): make transaction() return type match the executor function #​14661 #​14656
  • docs: fix docs links in index.md mirasayon

v8.4.5

Compare Source

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

v8.4.4

Compare Source

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

  • perf: avoid unnecesary get() call and use faster approach for converting to string #​14673 #​14394
  • fix(projection): handle projections on arrays in Model.hydrate() projection option #​14686 #​14680
  • fix(document): avoid passing validateModifiedOnly to subdocs so subdocs get fully validating if they're directly modified #​14685 #​14677
  • fix: handle casting primitive array with $elemMatch in bulkWrite() #​14687 #​14678
  • fix(query): cast $pull using embedded discriminator schema when discriminator key is set in filter #​14676 #​14675
  • types(connection): fix return type of withSession() #​14690 tt-public
  • types: add $documents pipeline stage and fix $unionWith type #​14666 nick-statsig
  • docs(findoneandupdate): improve example that shows findOneAndUpdate() returning doc before updates were applied #​14671 #​14670

v8.4.3

Compare Source

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

  • fix: remove 0x flamegraph files from release

v8.4.2

Compare Source

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

  • perf: more toObject() perf improvements #​14623 #​14606 #​14394
  • fix(model): check the value of overwriteModels in options when calling discriminator() #​14646 uditha-g
  • fix: avoid throwing TypeError when deleting an null entry on a populated Map #​14654 futurliberta
  • fix(connection): fix up some inconsistencies in operation-end event and add to docs #​14659 #​14648
  • types: avoid inferring Boolean, Buffer, ObjectId as Date in schema definitions under certain circumstances #​14667 #​14630
  • docs: add note about parallelism in transations #​14647 fiws

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

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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

@renovate renovate bot added the dependencies Updates one or more dependencies label May 17, 2024
@renovate renovate bot force-pushed the renovate/mongoose branch from d609f64 to 4897997 Compare May 19, 2024 11:36
@renovate renovate bot changed the title chore(deps): update dependency mongoose to v8.4.0 chore(deps): update mongoose May 19, 2024
@renovate renovate bot force-pushed the renovate/mongoose branch 4 times, most recently from e0b7835 to 8e61eb3 Compare May 22, 2024 16:43
@renovate renovate bot force-pushed the renovate/mongoose branch 8 times, most recently from ada0700 to fd2156e Compare June 4, 2024 06:01
@renovate renovate bot force-pushed the renovate/mongoose branch 3 times, most recently from d0d5f10 to e05980e Compare June 16, 2024 18:40
@renovate renovate bot force-pushed the renovate/mongoose branch 6 times, most recently from a578705 to 954edc5 Compare June 22, 2024 14:03
@renovate renovate bot force-pushed the renovate/mongoose branch 3 times, most recently from cd8d585 to a1f22f7 Compare July 1, 2024 22:25
@renovate renovate bot force-pushed the renovate/mongoose branch 2 times, most recently from cc45156 to 36eab82 Compare July 8, 2024 19:53
@renovate renovate bot force-pushed the renovate/mongoose branch 6 times, most recently from 6fa9e22 to a934b5f Compare August 28, 2024 19:52
@renovate renovate bot force-pushed the renovate/mongoose branch 6 times, most recently from a8ffb78 to d35ba80 Compare September 5, 2024 02:08
@renovate renovate bot force-pushed the renovate/mongoose branch 5 times, most recently from 5986873 to 4f31268 Compare September 16, 2024 20:03
@renovate renovate bot force-pushed the renovate/mongoose branch 2 times, most recently from 3623070 to 90a57aa Compare September 19, 2024 19:00
@renovate renovate bot force-pushed the renovate/mongoose branch 7 times, most recently from 5c6ec1e to be51d0c Compare September 28, 2024 12:58
@renovate renovate bot force-pushed the renovate/mongoose branch from be51d0c to f166c24 Compare October 1, 2024 03:17
@promise promise merged commit 1791197 into main Oct 2, 2024
4 checks passed
@promise promise deleted the renovate/mongoose branch October 2, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates one or more dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant