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

[Snyk] Upgrade mongoose from 6.1.6 to 6.3.4 #2

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

Conversation

adminvns
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 6.1.6 to 6.3.4.

ℹ️ 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 21 versions ahead of your current version.
  • The recommended version was released a month ago, on 2022-05-19.
Release notes
Package name: mongoose
  • 6.3.4 - 2022-05-19

    6.3.4 / 2022-05-19

    • fix(schema): disallow using schemas with schema-level projection with map subdocuments #11698
    • fix(document): avoid setting nested paths to null when they're undefined #11723
    • fix: allow using comment with findOneAndUpdate(), count(), distinct() and hint with findOneAndUpdate() #11793
    • fix(document): clean modified subpaths when setting nested path to null after modifying subpaths #11764
    • fix(types): allow calling deleteModel() with RegExp in TypeScript #11812
    • docs(typescript): add section on PopulatedDoc to TypeScript populate docs #11685
  • 6.3.3 - 2022-05-09

    6.3.3 / 2022-05-09

    • perf: avoid leaking memory when using populate() with QueryCursor because of reusing populate options with _docs #11641
    • fix(types): add _id back for LeanDocument #11769 #11761 taxilian
    • fix(model): add skipValidation option for bulkWrite() to allow skipping validation for insertOne and replaceOne #11663
    • fix(document): correctly $__reset() subdocuments that are under nested paths #11672
    • fix(query): handle casting BSONRegExp instances as RegExps in queries #11597
    • fix: correctly cast $not in $expr #11689
    • perf: optimize size of browser bundle, use buffer v.5.7.1 package to match buffer package of mongodb in browser bundle #11765 Uzlopak
    • docs: Query.populate docs do not include using an array of strings for the path param #11768 #11641 AbdelrahmanHafez
    • chore: add GitHub workflow to close stale "can't reproduce", "help", "needs clarification" issues #11753 Uzlopak
    • chore: remove Makefile dependency for compiling docs #11751 Uzlopak
  • 6.3.2 - 2022-05-02

    6.3.2 / 2022-05-02

    • perf: avoid registering event listeners on subdocuments to reduce memory usage #11541
    • fix(setDefaultsOnInsert): set default if sibling of nested path is $set #11668
    • perf(document): remove unnecessary workaround for ignoring subpaths of arrays #11541
    • fix(types): various fixes and improvements for types #11650 taxilian
    • fix(types): make mongoose typings work without esmModuleInterop true #11695 Uzlopak
    • fix(types): support populate(path, fields, model) syntax #11649 #11598 mohammad0-0ahmad
    • fix(types): correct SchemaTypeOptions.get function signature #11561
    • fix: fix browser build for Webpack 5 #11717
    • docs: improve readme #11705 mahendrap1512
  • 6.3.1 - 2022-04-21

    6.3.1 / 2022-04-21

    • perf: improve perf of key order #11639 Uzlopak
    • fix(timestamps): set createdAt when creating new single nested subdocuments #11603
    • fix: improve CastError message when throwing StrictModeError #11506
    • fix: upgrade bson to match mongodb@4.5 #11676
    • fix(populate): avoid populating single nested subdocs underneath arrays if there's no ref #11538
    • fix: handle { capped: number } in schema definition with createCollection() #11539
    • fix: call markModified before setting changes in Array and in DocumentArray methods #11660 josegl
    • fix: only allow using minus path to remove auto-selected discriminatorKey from projection #11546
    • fix(types): set context on virtual getters/setters by default #11543
    • fix(types): correct return type for Connection.prototype.transaction #9919
    • fix(types): allow model as document interface key when using extends Document #11629
    • docs: improve populate typing #11690 onichandame
    • docs: add information regarding typings-tests #11691 Uzlopak
    • docs: fix jsdoc for mongoose.createConnection #11693 Uzlopak
  • 6.3.0 - 2022-04-14

    6.3.0 / 2022-04-14

    • fix: upgrade mongodb driver -> 4.5.0 #11623 AbdelrahmanHafez
    • feat(schema): allow defining discriminators on schema and in schema definition #7971 IslandRhythms
    • feat(base): add option to set allowDiskUse globally #11554 AbdelrahmanHafez
    • feat(schema): add removeIndex() and clearIndex() #11547 IslandRhythms
    • feat(cursor): add continueOnError option to allow executing eachAsync() on all docs even if error occurs #6355
    • feat(query): add versionKey option to lean() for removing version key from lean docs #8934 IslandRhythms
    • feat(types): create new ProjectionType type for select(), find(), etc. #11437
    • chore: use webpack 5 for browser build #11584 AbdelrahmanHafez
  • 6.2.11 - 2022-04-13
    Read more
  • 6.2.10 - 2022-04-04
  • 6.2.9 - 2022-03-28
  • 6.2.8 - 2022-03-23
  • 6.2.7 - 2022-03-16
  • 6.2.6 - 2022-03-11
  • 6.2.5 - 2022-03-09
  • 6.2.4 - 2022-02-28
  • 6.2.3 - 2022-02-21
  • 6.2.2 - 2022-02-16
  • 6.2.1 - 2022-02-07
  • 6.2.0 - 2022-02-02
  • 6.1.10 - 2022-02-01
  • 6.1.9 - 2022-01-31
  • 6.1.8 - 2022-01-24
  • 6.1.7 - 2022-01-17
  • 6.1.6 - 2022-01-10
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 2b922d5 chore: release 6.3.4
  • 852bc82 Merge branch 'master' of github.com:Automattic/mongoose
  • fbd4b9c test: refactor a bunch of tests to use promises or async/await instead of `done()` callback
  • 7dc54e8 Merge pull request #11815 from Scrip7/patch-1
  • f897b1a docs(populate): find populate method should be awaited
  • 96aae9f fix: upgrade mquery -> 4.0.3 re: #11793
  • 72622da Merge pull request #11806 from turrisxyz/CodeQL-GitHub
  • ce779ed Apply suggestions from code review
  • 859402f Merge pull request #11813 from tkowpt/test-connection-deletemodel
  • e0a90c4 test: 💍 Add missing test for type of Connection.deleteModel()
  • cea313e Merge pull request #11812 from tkowpt/fix-connection-deletemodel
  • 5dfe86e Update codeql.yml
  • c72a388 fix: 🐛 Types of Connection.deleteModel()
  • d3edb12 Update codeql.yml
  • a292b2b Merge pull request #11809 from Uzlopak/fix-rs-tests
  • 440aae3 rename collection for unit test
  • c2bd9a9 fix(document): clean modified subpaths when setting nested path to null after modifying subpaths
  • b7b2715 test(document): repro #11764
  • 6b4eddc docs(typescript): add section on `PopulatedDoc` to TypeScript populate docs
  • 9e215b9 fix(schema): disallow using schemas with schema-level projection with map subdocuments
  • e95518b fix(document): avoid setting nested paths to `null` when they're undefined
  • 735e0c6 fix(model): make `cleanIndexes()` use `diffIndexes()` to get indexes to drop, make `diffIndexes()` handle discriminators
  • 19adf26 chore: Enable codeql action
  • 9aa10a5 delete unused variable in redis example

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

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