Skip to content

Conversation

@bwbioinfo
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


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

ℹ️ 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 2 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2024-01-16.
Release notes
Package name: mongoose
  • 8.1.0 - 2024-01-16

    8.1.0 / 2024-01-16

    • feat: upgrade MongoDB driver -> 6.3.0 #14241 #14189 #14108 #14104
    • feat: add Atlas search index helpers to Models and Schemas #14251 #14232
    • feat(connection): add listCollections() helper to connections #14257
    • feat(schematype): merge rather than overwrite default schematype validators #14124 #14070
    • feat(types): support type hints in InferSchemaType #14008 JavaScriptBach
  • 8.0.4 - 2024-01-09

    8.0.4 / 2024-01-08

    • fix(update): set CastError path to full path if casting update fails #14161 #14114
    • fix: cast error when there is an elemMatch in the and clause #14171 tosaka-n
    • fix: allow defining index on base model that applies to all discriminators #14176 peplin
    • fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update #14197 #14164
    • fix(populate): handle deselecting _id with array of fields in populate() #14242 #14231
    • types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions #14228 #14204
    • types: fix return types for findByIdAndDelete overrides #14196 #14190
    • types(schema): add missing omit() method #14235 amitbeck
    • types(model): add missing strict property to bulkWrite() top level options #14239
    • docs(compatibility): add note that Mongoose 5.13 is fully compatible with MongoDB server 5 #14230 #14149
    • docs: add shared schemas guide #14211
    • docs: update TLS/SSL guide for Mongoose v8 - MongoDB v6 driver deprecations #14170 andylwelch
    • docs: update findOneAndUpdate tutorial to use includeResultMetadata #14208 #14207
    • docs: clarify disabling _id on subdocs #14195 #14194
  • 8.0.3 - 2023-12-07

    8.0.3 / 2023-12-07

    • fix(schema): avoid creating unnecessary clone of schematype in nested array so nested document arrays use correct constructor #14128 #14101
    • docs(connections): add example of registering connection event handlers #14150
    • docs(populate): add example of using refPath and ref functions #14133 #13834
    • types: handle using BigInt global class in schema definitions #14160 #14147
    • types: make findOneAndDelete() without options return result doc, not ModifyResult #14153 #14130
    • types(model): add no-generic override for insertMany() with options #14152 #13999
    • types: add missing Type for applyDefaults #14159 jaypea
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • ebf7d07 chore: release 8.1.0
  • 3165a97 Merge pull request #14260 from Automattic/8.1
  • fd80ad3 Merge branch 'master' into 8.1
  • 3393c96 Merge pull request #14251 from Automattic/vkarpov15/gh-14232
  • dad0da9 Merge pull request #14257 from Automattic/vkarpov15/listcollections
  • 33b3bba types: add tsdoc comments re: code review
  • ab28496 Update lib/schema.js
  • d1e3c81 Update lib/model.js
  • 1eaa2d6 Merge pull request #14255 from monkbroc/patch-2
  • 6c21fcc address code review comments
  • 6c6fb8b feat(connection): add listCollections() helper to connections
  • 420c92d Fix markdown typo introduced in #14230
  • 9ed507a Merge pull request #14252 from Automattic/vkarpov15/gh-14238
  • 024c029 docs(model): remove callback example for `ensureIndexes()`
  • 4611ba2 feat: add autoSearchIndex option and Schema.prototype.searchIndex() re: #14232
  • a76a99a feat(model): add updateSearchIndex and dropSearchIndex helpers re: #14232
  • 6bd415b feat(model): add createSearchIndex() function
  • abdac8d fix merge issues from reverting #13993
  • 5337da9 Revert "fix: Strict Projection Object Typing (#13993)"
  • 7dafe5b Merge branch 'master' into 8.1
  • ec4191e chore: release 8.0.4
  • 3bc4482 Merge branch '7.x'
  • 2c2377d Merge pull request #14242 from Automattic/vkarpov15/gh-14231
  • ac9af5b docs: add unnecessary lookahead fix to changelog

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

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@vercel
Copy link

vercel bot commented Feb 7, 2024

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

Name Status Preview Comments Updated (UTC)
nanolims ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 0:41am

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.

3 participants