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 5.13.21 to 8.12.1 in /api #292

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mongoose from 5.13.21 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

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

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.13.21 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@5.13.21...8.12.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 5, 2025
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.

0 participants