prisma / prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
https://www.prisma.io
Apache License 2.0
37.68k stars 1.46k forks source link

chore(deps): update dependency mongoose to v8.4.0 #24237

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 2 weeks ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

Automattic/mongoose (mongoose) ### [`v8.4.0`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#840--2024-05-17) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.3.5...8.4.0) \================== - feat: upgrade mongodb -> 6.6.2 [#​14584](https://togithub.com/Automattic/mongoose/issues/14584) - feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions [#​14583](https://togithub.com/Automattic/mongoose/issues/14583) [#​13889](https://togithub.com/Automattic/mongoose/issues/13889) - feat: handle initially null driver when instantiating Mongoose for Rollup support [#​14577](https://togithub.com/Automattic/mongoose/issues/14577) [#​12335](https://togithub.com/Automattic/mongoose/issues/12335) - feat(mongoose): export omitUndefined() helper [#​14582](https://togithub.com/Automattic/mongoose/issues/14582) [#​14569](https://togithub.com/Automattic/mongoose/issues/14569) - feat: add Model.listSearchIndexes() [#​14519](https://togithub.com/Automattic/mongoose/issues/14519) [#​14450](https://togithub.com/Automattic/mongoose/issues/14450) - feat(connection): add listDatabases() function [#​14506](https://togithub.com/Automattic/mongoose/issues/14506) [#​9048](https://togithub.com/Automattic/mongoose/issues/9048) - feat(schema): add schema-level readConcern option to apply default readConcern for all queries [#​14579](https://togithub.com/Automattic/mongoose/issues/14579) [#​14511](https://togithub.com/Automattic/mongoose/issues/14511) - fix(error): remove model property from CastError to avoid printing all model properties to console [#​14568](https://togithub.com/Automattic/mongoose/issues/14568) [#​14529](https://togithub.com/Automattic/mongoose/issues/14529) - fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid [#​14587](https://togithub.com/Automattic/mongoose/issues/14587) [#​14572](https://togithub.com/Automattic/mongoose/issues/14572) - fix(document): ensure transform function passed to toObject() options applies to subdocs [#​14600](https://togithub.com/Automattic/mongoose/issues/14600) [#​14589](https://togithub.com/Automattic/mongoose/issues/14589) - types: add inferRawDocType helper [#​13900](https://togithub.com/Automattic/mongoose/issues/13900) [#​13772](https://togithub.com/Automattic/mongoose/issues/13772) - types(document): make document \_id type default to unknown instead of any [#​14541](https://togithub.com/Automattic/mongoose/issues/14541) ### [`v8.3.5`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#835--2024-05-15) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.3.4...8.3.5) \================== - fix(query): shallow clone $or, $and if merging onto empty query filter [#​14580](https://togithub.com/Automattic/mongoose/issues/14580) [#​14567](https://togithub.com/Automattic/mongoose/issues/14567) - types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods [#​14581](https://togithub.com/Automattic/mongoose/issues/14581) [#​14574](https://togithub.com/Automattic/mongoose/issues/14574) - docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context [#​14575](https://togithub.com/Automattic/mongoose/issues/14575) [#​14573](https://togithub.com/Automattic/mongoose/issues/14573)

Configuration

📅 Schedule: Branch creation - "before 7am every weekday,every weekend" (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.



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

socket-security[bot] commented 2 weeks ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/jest@29.5.1 Transitive: environment +31 1.23 MB types
npm/expect-type@0.15.0 None 0 35.8 kB mmkale

🚮 Removed packages: npm/@faker-js/faker@8.4.1, npm/@fast-check/jest@1.8.1, npm/@inquirer/prompts@5.0.2, npm/@jest/create-cache-key-function@29.7.0, npm/@jest/globals@29.7.0, npm/@jest/test-sequencer@29.7.0, npm/@libsql/client@0.6.0, npm/@microsoft/api-extractor@7.43.2, npm/@neondatabase/serverless@0.9.1, npm/@neondatabase/serverless@0.9.3, npm/@opentelemetry/api@1.8.0, npm/@opentelemetry/context-async-hooks@1.24.1, npm/@opentelemetry/instrumentation@0.50.0, npm/@opentelemetry/instrumentation@0.51.1, npm/@opentelemetry/resources@1.24.1, npm/@opentelemetry/sdk-trace-base@1.24.1, npm/@opentelemetry/semantic-conventions@1.24.1, npm/@planetscale/database@1.18.0, npm/@prisma/mini-proxy@0.9.5, npm/@prisma/studio-server@0.500.0, npm/@prisma/studio@0.500.0, npm/@sindresorhus/slugify@1.1.2, npm/@size-limit/file@9.0.0, npm/@slack/webhook@7.0.2, npm/@snaplet/copycat@0.17.3, npm/@swc-node/register@1.9.1, npm/@swc/core@1.2.204, npm/@swc/core@1.5.3, npm/@swc/jest@0.2.36, npm/@timsuchanek/copy@1.4.5, npm/@types/benchmark@2.1.5, npm/@types/cross-spawn@6.0.6, npm/@types/debug@4.1.12, npm/@types/fs-extra@9.0.13, npm/@types/graphviz@0.0.39, npm/@types/js-levenshtein@1.1.3, npm/@types/mssql@9.1.5, npm/@types/node@18.19.31, npm/@types/node@20.12.7, npm/@types/pg@8.11.5, npm/@types/progress@2.0.7, npm/@types/prompts@2.4.9, npm/@types/redis@2.8.32, npm/@types/resolve@1.20.6, npm/@types/rimraf@3.0.2, npm/@types/sqlite3@3.1.11, npm/@typescript-eslint/eslint-plugin@7.9.0, npm/@typescript-eslint/parser@7.9.0, npm/@typescript-eslint/utils@7.9.0, npm/archiver@6.0.2, npm/arg@5.0.2, npm/async-listen@3.0.1, npm/async-mutex@0.5.0, npm/batching-toposort@1.2.0, npm/benchmark@2.1.4, npm/buffer@6.0.3, npm/checkpoint-client@1.1.33, npm/chokidar@3.6.0, npm/ci-info@4.0.0, npm/cli-truncate@2.1.0, npm/cross-spawn@7.0.3, npm/decimal.js-light@2.5.1, npm/decimal.js@10.4.3, npm/del@6.1.1, npm/detect-runtime@1.0.4, npm/dotenv-cli@7.4.2, npm/dotenv@16.0.3, npm/env-paths@2.2.1, npm/esbuild-register@3.5.0, npm/esbuild@0.21.2, npm/escape-string-regexp@4.0.0, npm/eslint-config-prettier@9.1.0, npm/eslint-plugin-eslint-comments@3.2.0, npm/eslint-plugin-import@2.29.1, npm/eslint-plugin-jest@28.5.0, npm/eslint-plugin-local-rules@2.0.1, npm/eslint-plugin-prettier@4.2.1, npm/eslint-plugin-simple-import-sort@12.1.0, npm/eslint@8.57.0, npm/execa@5.1.1

View full report↗︎

github-actions[bot] commented 2 weeks ago

size-limit report 📦

Path Size
packages/client/runtime/library.js 179.77 KB (0%)
packages/client/runtime/library.d.ts 81 B (0%)
packages/client/runtime/binary.js 600.89 KB (0%)
packages/client/runtime/binary.d.ts 26 B (0%)
packages/client/runtime/edge.js 159.01 KB (0%)
packages/client/runtime/edge-esm.js 158.91 KB (0%)
packages/client/runtime/wasm.js 114.85 KB (0%)
packages/client/runtime/index-browser.js 33.77 KB (0%)
packages/client/runtime/index-browser.d.ts 89 B (0%)
packages/cli/build/index.js 2.09 MB (-0.01% 🔽)
packages/client/prisma-client-0.0.0.tgz 3.02 MB (+0.1% 🔺)
packages/cli/prisma-0.0.0.tgz 3.73 MB (+0.13% 🔺)
packages/bundle-size/da-workers-libsql/output.tgz 888.1 KB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1016.97 KB (0%)
packages/bundle-size/da-workers-pg/output.tgz 985.77 KB (0%)
packages/bundle-size/da-workers-pg-worker/output.tgz 941.48 KB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 902.52 KB (0%)
packages/bundle-size/da-workers-d1/output.tgz 861.16 KB (0%)