Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 14, 2025

Bumps mongoose and @typegoose/typegoose. These dependencies needed to be updated together.
Updates mongoose from 8.8.4 to 8.12.1

Release notes

Sourced from mongoose's releases.

8.12.1 / 2025-03-04

8.12.0 / 2025-03-03

  • feat: bump mongodb driver to 6.14
  • feat: expose "SchemaTypeOptions" in browser #15277 hasezoey
  • docs: update field-level-encryption.md #15272 dphrag

8.11.0 / 2025-02-26

  • feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors #15271 #15265
  • feat(document): add schemaFieldsOnly option to toObject() and toJSON() #15259 #15218
  • feat: introduce populate ordered option for populating in series rather than in parallel for transactions #15239 #15231 #15210
  • fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store #15230 #15200

8.10.2 / 2025-02-25

  • fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops #15266 #15265
  • fix(debug): avoid printing trusted symbol in debug output #15267 #15263
  • types: make type inference logic resilient to no Buffer type due to missing @​types/node #15261

8.10.1 / 2025-02-14

  • perf(document): only call undoReset() 1x/document #15257 #15255
  • perf(schema): clear childSchemas when overwriting existing path to avoid performance degradations #15256 #15253
  • perf: some more micro optimizations for find() and findOne() #14906 #15250
  • fix(model): avoid adding timeout on Model.init() buffering to avoid unintentional dangling open handles #15251 #15241
  • fix: avoid connection buffering on init if autoCreate: false #15247 #15241
  • fix: infer discriminator key if set in $set with overwriteDiscriminatorKey #15243 #15218
  • types(middleware): make this in document middleware the hydrated doc type, not raw doc type #15246 #15242
  • types(schema): support options parameter to Schema.prototype.discriminator() #15249 #15244
  • types(schema): allow calling Schema.prototype.number() with no message arg #15237 #15236
  • docs(typescript): recommend using HydratedSingleSubdocument over Types.Subdocument #15240 #15211

8.10.0 / 2025-02-05

  • feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema #15184 #11162
  • feat(connection): make connection helpers respect bufferTimeoutMS #15229 #15201
  • feat(document): support schematype-level transform option #15163 #15084
  • feat(model): add insertOne() function to insert a single doc #15162 #14843
  • feat(connection): support Connection.prototype.aggregate() for db-level aggregations #15153
  • feat(model): make syncIndexes() not call createIndex() on indexes that already exist #15175 #12250
  • feat(model): useConnection(connection) function #14802
  • fix(model): disallow updateMany(update) and fix TypeScript types re: updateMany() #15199 #15190
  • fix(collection): avoid buffering if creating a collection during a connection interruption #15187 #14971
  • fix(model): throw error if calling create() with multiple docs in a transaction unless ordered: true #15100
  • fix(model): skip createCollection() in syncIndexes() if autoCreate: false #15155
  • fix(model): make hydrate() handle hydrating deeply nested populated docs with hydratedPopulatedDocs #15130

... (truncated)

Changelog

Sourced from mongoose's changelog.

8.12.1 / 2025-03-04

8.12.0 / 2025-03-03

  • feat: bump mongodb driver to 6.14
  • feat: expose "SchemaTypeOptions" in browser #15277 hasezoey
  • docs: update field-level-encryption.md #15272 dphrag

8.11.0 / 2025-02-26

  • feat(model): make bulkWrite results include MongoDB bulk write errors as well as validation errors #15271 #15265
  • feat(document): add schemaFieldsOnly option to toObject() and toJSON() #15259 #15218
  • feat: introduce populate ordered option for populating in series rather than in parallel for transactions #15239 #15231 #15210
  • fix(bigint): throw error when casting BigInt that's outside of the bounds of what MongoDB can safely store #15230 #15200

8.10.2 / 2025-02-25

  • fix(model+connection): return MongoDB BulkWriteResult instance even if no valid ops #15266 #15265
  • fix(debug): avoid printing trusted symbol in debug output #15267 #15263
  • types: make type inference logic resilient to no Buffer type due to missing @​types/node #15261

8.10.1 / 2025-02-14

  • perf(document): only call undoReset() 1x/document #15257 #15255
  • perf(schema): clear childSchemas when overwriting existing path to avoid performance degradations #15256 #15253
  • perf: some more micro optimizations for find() and findOne() #14906 #15250
  • fix(model): avoid adding timeout on Model.init() buffering to avoid unintentional dangling open handles #15251 #15241
  • fix: avoid connection buffering on init if autoCreate: false #15247 #15241
  • fix: infer discriminator key if set in $set with overwriteDiscriminatorKey #15243 #15218
  • types(middleware): make this in document middleware the hydrated doc type, not raw doc type #15246 #15242
  • types(schema): support options parameter to Schema.prototype.discriminator() #15249 #15244
  • types(schema): allow calling Schema.prototype.number() with no message arg #15237 #15236
  • docs(typescript): recommend using HydratedSingleSubdocument over Types.Subdocument #15240 #15211

8.10.0 / 2025-02-05

  • feat(schema+schematype): add toJSONSchema() method to convert schemas and schematypes to JSON schema #15184 #11162
  • feat(connection): make connection helpers respect bufferTimeoutMS #15229 #15201
  • feat(document): support schematype-level transform option #15163 #15084
  • feat(model): add insertOne() function to insert a single doc #15162 #14843
  • feat(connection): support Connection.prototype.aggregate() for db-level aggregations #15153
  • feat(model): make syncIndexes() not call createIndex() on indexes that already exist #15175 #12250
  • feat(model): useConnection(connection) function #14802
  • fix(model): disallow updateMany(update) and fix TypeScript types re: updateMany() #15199 #15190
  • fix(collection): avoid buffering if creating a collection during a connection interruption #15187 #14971
  • fix(model): throw error if calling create() with multiple docs in a transaction unless ordered: true #15100
  • fix(model): skip createCollection() in syncIndexes() if autoCreate: false #15155
  • fix(model): make hydrate() handle hydrating deeply nested populated docs with hydratedPopulatedDocs #15130

... (truncated)

Commits
  • 633ff8d chore: release 8.12.1
  • f8c2bc3 Merge pull request #15297 from hasezoey/updateBSON
  • f68b562 chore(deps): match bson version with mongodb's bson version
  • 47ebbd9 chore: release 8.12.0
  • 64b27bc Merge pull request #15272 from dphrag/patch-1
  • 8c7e32d Merge pull request #15277 from hasezoey/browserSchemaTypeOptions
  • cb7257d Merge pull request #15288 from Automattic/dependabot/npm_and_yarn/master/mong...
  • c79d4c7 Merge pull request #15290 from Automattic/dependabot/npm_and_yarn/master/uuid...
  • 4a900d4 chore(deps): bump mongodb from 6.13.1 to 6.14.0
  • 3936927 chore(deps-dev): bump uuid from 11.0.5 to 11.1.0
  • Additional commits viewable in compare view

Updates @typegoose/typegoose from 12.9.1 to 12.13.0

Release notes

Sourced from @​typegoose/typegoose's releases.

v12.13.0

12.13.0 (2025-03-04)

Dependencies

  • mongoose: upgrade to 8.12.0 (f1ee800)

Dev-Dependencies

  • @​types/lodash: upgrade to 4.17.16 (09b5c54)
  • prettier: upgrade to 3.5.3 (6155413)

v12.12.0

12.12.0 (2025-02-27)

Fixes

  • typegoose: move "isCachingEnabled" in "addModelToTypegoose" before assertions (8bfa8c4), closes #981

Dependencies

  • mongoose: upgrade to 8.11.0 (5ac66ac)

Dev-Dependencies

  • mongodb-memory-server: upgrade to 10.1.4 (9290abd)
  • prettier: upgrade to 3.5.2 (542ac77)
  • ts-jest: upgrade to 29.2.6 (7091dde)

v12.11.0

12.11.0 (2025-02-08)

Features

  • infer "type: [TYPE]" as PropType.ARRAY, unless manually specified (68e5a37)

Dependencies

  • mongoose: upgrade to 8.10.0 (1daf0f7)
  • semver: upgrade to 7.7.1 (eef140a)

Dev-Dependencies

... (truncated)

Changelog

Sourced from @​typegoose/typegoose's changelog.

12.13.0 (2025-03-04)

Dependencies

  • mongoose: upgrade to 8.12.0 (f1ee800)

Dev-Dependencies

  • @​types/lodash: upgrade to 4.17.16 (09b5c54)
  • prettier: upgrade to 3.5.3 (6155413)

12.12.0 (2025-02-27)

Fixes

  • typegoose: move "isCachingEnabled" in "addModelToTypegoose" before assertions (8bfa8c4), closes #981

Dependencies

  • mongoose: upgrade to 8.11.0 (5ac66ac)

Dev-Dependencies

  • mongodb-memory-server: upgrade to 10.1.4 (9290abd)
  • prettier: upgrade to 3.5.2 (542ac77)
  • ts-jest: upgrade to 29.2.6 (7091dde)

12.11.0 (2025-02-08)

Features

  • infer "type: [TYPE]" as PropType.ARRAY, unless manually specified (68e5a37)

Dependencies

  • mongoose: upgrade to 8.10.0 (1daf0f7)
  • semver: upgrade to 7.7.1 (eef140a)

Dev-Dependencies

  • @​types/lodash: upgrade to 4.17.15 (112747c)
  • eslint-plugin-prettier: upgrade to 5.2.3 (e2d77fe)

... (truncated)

Commits
  • 8119b49 release: v12.13.0
  • f1ee800 deps(mongoose): upgrade to 8.12.0
  • 09b5c54 devdeps(@​types/lodash): upgrade to 4.17.16
  • 6155413 devdeps(prettier): upgrade to 3.5.3
  • 9d098ef docs(common-plugins): update "@​typegoose/auto-increment" section to newer ver...
  • 6834125 docs(setGlobalOptions): fix invalid anchor to "modelOptions#options"
  • 1f26238 docs(getDiscriminatorModelForClass): remove outdated documentation
  • 6c927b8 docs(prop): fix broken link
  • c642c2b docs: replace admonition ":::caution" with ":::warning"
  • 4355afb chore(website): upgrade docusaurus to v3
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 14, 2025
Bumps [mongoose](https://github.com/Automattic/mongoose) and [@typegoose/typegoose](https://github.com/typegoose/typegoose). These dependencies needed to be updated together.

Updates `mongoose` from 8.8.4 to 8.12.1
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@8.8.4...8.12.1)

Updates `@typegoose/typegoose` from 12.9.1 to 12.13.0
- [Release notes](https://github.com/typegoose/typegoose/releases)
- [Changelog](https://github.com/typegoose/typegoose/blob/master/CHANGELOG.md)
- [Commits](typegoose/typegoose@v12.9.1...v12.13.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
- dependency-name: "@typegoose/typegoose"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-dcd3b152e1 branch from ef17e55 to 59b0b72 Compare March 17, 2025 19:17
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants