Skip to content

Conversation

ahmetilboga2004
Copy link
Owner

Snyk has created this PR to upgrade mongoose from 8.0.3 to 8.2.0.

As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.

✨ Snyk has automatically assigned this pull request, set who gets assigned.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 6 versions ahead of your current version.
  • The recommended version was released a month ago, on 2024-02-22.
Release notes
Package name: mongoose
  • 8.2.0 - 2024-02-22

    8.2.0 / 2024-02-22

    • feat(model): add recompileSchema() function to models to allow applying schema changes after compiling #14306 #14296
    • feat: add middleware for bulkWrite() and createCollection() #14358 #14263 #7893
    • feat(model): add hydratedPopulatedDocs option to make hydrate recursively hydrate populated docs #14352 #4727
    • feat(connection): add withSession helper #14339 #14330
  • 8.1.3 - 2024-02-16

    8.1.3 / 2024-02-16

    • fix: avoid corrupting $set-ed arrays when transaction error occurs #14346 #14340
    • fix(populate): handle ref() functions that return a model instance #14343 #14249
    • fix: insert version key when using insertMany even if toObject.versionKey set to false #14344
    • fix(cursor): make aggregation cursor support transform option to match query cursor #14348 #14331
    • docs(document): clarify that transform function option applies to subdocs #13757
  • 8.1.2 - 2024-02-11

    8.1.2 / 2024-02-08

    • fix: include virtuals in document array toString() output if toObject.virtuals set #14335 #14315
    • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
    • fix(populate): call setter on virtual populated path with populated doc instead of undefined #14314
    • fix(QueryCursor): remove callback parameter of AggregationCursor and QueryCursor #14299 DevooKim
    • types: add typescript support for arbitrary fields for the options parameter of Model functions which are of type MongooseQueryOptions #14342 #14341 FaizBShah
    • types(model): correct return type for findOneAndUpdate with includeResultMetadata and lean set #14336 #14303
    • types(connection): add type definition for createCollections() #14295 #14279
    • docs(timestamps): clarify that replaceOne() and findOneAndReplace() overwrite timestamps #14337 #14309
  • 8.1.1 - 2024-01-24

    8.1.1 / 2024-01-24

    • fix(model): throw readable error when calling Model() with a string instead of model() #14288 #14281
    • fix(document): handle setting nested path to spread doc with extra properties #14287 #14269
    • types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options #14284 #14282
    • types(query): add missing runValidators back to MongooseQueryOptions #14278 #14275
  • 8.1.0 - 2024-01-16
  • 8.0.4 - 2024-01-09
  • 8.0.3 - 2023-12-07
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • f1ed13f chore: release 8.2.0
  • 3508f5f Merge pull request #14362 from Automattic/8.2
  • b10fc72 Merge pull request #14350 from Automattic/vkarpov15/helpers-refactor
  • 2277ad4 Merge pull request #14358 from Automattic/vkarpov15/bulkwrite-middleware
  • 5d7178c Merge branch 'master' into 8.2
  • 4876d1e Update lib/query.js
  • c164d63 Update lib/query.js
  • aa65645 feat: add middleware for bulkWrite() and createCollection()
  • 7732ce2 chore: release 8.1.3
  • dd152c8 Merge branch 'master' of github.com:Automattic/mongoose
  • ed8bad0 fix: insert version key when using `insertMany` even if `toObject.versionKey` set to false
  • de49562 Merge branch 'master' of github.com:Automattic/mongoose
  • 3ee657d docs(document): clarify that `transform` function option applies to subdocs
  • 50da8e4 Merge pull request #14346 from Automattic/vkarpov15/gh-14340
  • f27e13f Update test/docs/transactions.test.js
  • b9e1f75 Merge pull request #14348 from Automattic/vkarpov15/gh-14331
  • db247da Merge pull request #14352 from Automattic/IslandRhythms/deeply-hydrate-doc
  • 6dafa54 fix: lint
  • 4675671 Update models.test.ts
  • 648239d add typescript types, begin typescript test
  • 7c696a3 fix: lint
  • e6769c9 `hydratedPopulatedDocs` option
  • 57541cb refactor: make query helpers more consistently fit our loose definition of helpers
  • e80cff1 progress

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

👩‍💻 Set who automatically gets assigned

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@ahmetilboga2004 ahmetilboga2004 self-assigned this Mar 24, 2024
Copy link

vercel bot commented Mar 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
short-link ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 24, 2024 5:46pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants