⬆️ Bump the npm_and_yarn group with 2 updates
Bumps the npm_and_yarn group with 2 updates: mongoose and mongodb.
Updates mongoose from 6.4.6 to 6.11.3
Release notes
Sourced from mongoose's releases.
6.10.1 / 2023-03-03
- fix: avoid removing empty query filters in
$andand$or#13086 #12898- fix(schematype): fixed validation for required UUID field #13018 lpizzinidev
- fix(types): add missing Paths generic param to
Model.populate()#13070- docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options #13083 lpizzinidev
- docs: fix code in headers for migrating_to_5 #13077 hasezoey
- docs: backport misc documentation changes into 6.x #13091 hasezoey
6.10.0 / 2023-02-22
- feat: upgrade to mongodb driver 4.14.0 #13036
- feat: added Schema.prototype.omit() function #12939 #12931 lpizzinidev
- feat(index): added createInitialConnection option to Mongoose constructor #13021 #12965 lpizzinidev
6.9.3 / 2023-02-22
- fix(connection): delay calculating
autoCreateandautoIndexuntil after initial connection established #13007 #12940 lpizzinidev- fix(discriminator): allows update doc with discriminatorKey #13056 #13055 abarriel
- fix(query): avoid sending unnecessary empty projection to MongoDB server #13059 #13050
- fix(model): avoid sending null session option with document operations #13053 #13052 lpizzinidev
- fix(types): use MergeTypes for type overrides in HydratedDocument #13066 #13040
- docs(middleware): list validate as a potential query middleware #13057 #12680
- docs(getters-setters): explain that getters do not run by default on toJSON() #13058 #13049
- docs: refactor docs generation scripts #13044 hasezoey
6.9.2 / 2023-02-16
- fix(model): fixed post('save') callback parameter #13030 #13026 lpizzinidev
- fix(UUID): added null check to prevent error on binaryToString conversion #13034 #13032 #13029 lpizzinidev Freezystem
- fix(query): revert breaking changes introduced by #12797 #12999 lpizzinidev
- fix(document): make array $shift() use $pop instead of overwriting array #13004
- docs: update & remove old links #13019 hasezoey
- docs(middleware): describe how to access model from document middleware #13031 AxeOfMen
- docs: update broken & outdated links #13001 hasezoey
- chore: change deno tests to also use MMS #12918 hasezoey
6.9.1 / 2023-02-06
- fix(document): isModified should not be triggered when setting a nested boolean to the same value as previously #12994 lpizzinidev
- fix(document): save newly set defaults underneath single nested subdocuments #13002 #12905
- fix(update): handle custom discriminator model name when casting update #12947 wassil
- fix(connection): handles unique autoincrement ID for connections #12990 lpizzinidev
- fix(types): fix type of options of Model.aggregate #12933 ghost91-
- fix(types): fix "near" aggregation operator input type #12954 Jokero
- fix(types): add missing Top operator to AccumulatorOperator type declaration #12952 lpizzinidev
- docs(transactions): added example for Connection.transaction() method #12943 #12934 lpizzinidev
- docs(populate): fix out of date comment referencing onModel property #13000
- docs(transactions): fix typo in transactions.md #12995 Parth86
... (truncated)
Changelog
Sourced from mongoose's changelog.
6.11.3 / 2023-07-11
- fix: avoid prototype pollution on init
- fix(schema): correctly handle uuids with populate() #13317 #13595
7.3.3 / 2023-07-10
- fix: avoid prototype pollution on init
- fix(document): clean up all array subdocument modified paths on save() #13589 #13582
- types: avoid unnecessary MergeType<> if TOverrides not set, clean up statics and insertMany() type issues #13577 #13529
7.3.2 / 2023-07-06
- fix(model): avoid TypeError if insertMany() fails with error that does not have writeErrors property #13579 #13531
- fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 #13572 #13550
- fix(query): throw readable error when executing a Query instance without an associated model #13571 #13570
- types: support mongoose.Schema.ObjectId as alias for mongoose.Schema.Types.ObjectId #13543 #13534
- docs(connections): clarify that socketTimeoutMS now defaults to 0 #13576 #13537
- docs(migrating_to_7): add mapReduce() removal to migration guide #13568 #13548
- docs(schemas): fix typo in schemas.md #13540 Metehan-Altuntekin
7.3.1 / 2023-06-21
- fix(query): respect query-level strict option on findOneAndReplace() #13516 #13507
- docs(connections): expand docs on serverSelectionTimeoutMS #13533 #12967
- docs: add example of accessing save options in pre save #13498
- docs(connections+faq): add info on localhost vs 127.0.0.1
- docs(SchemaType): validate members are validator & message (not msg) #13521 lorand-horvath
7.3.0 / 2023-06-14
- feat: upgrade mongodb -> 5.6.0 #13455 lorand-horvath
- feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript #13509
- feat(schema): support selecting subset of fields to apply optimistic concurrency to #13506 #10591
- feat(model): add
orderedoption toModel.create()#13472 #4038- feat(schema): consistently add .get() function to all SchemaType classes
- feat(populate): pass virtual to match function to allow merging match options #13477 #12443
- types: allow overwriting Paths in select() to tell TypeScript which fields are projected #13478 #13224
- types(schema): add validateModifiedOnly as schema option #13503 #10153
- docs: add note about validateModifiedOnly as a schema option #13503 #10153
- docs(migrating_to_7): update migrating_to_7.md to include Model.countDocuments #13508 Climax777
- docs(further_reading): remove style for "img" hasezoey
7.2.4 / 2023-06-12
7.2.3 / 2023-06-09
... (truncated)
Commits
e9eb8abchore: release 6.11.3688da8ftest: fix flakey tests, remove test for #9597 because it affects global state...4f264a8test: fix tests re: #133179616af7fix(schema): correctly handle uuids with populate()305ce4ffix: avoid prototype pollution on init35e59ebdocs: link to migrating to 6 in 6.x docsa28933echore: release 6.11.23a6b0ddchore: use deno v1.34 in test for MMS HTTP issuesf7c6d3eMerge pull request #13476 from Automattic/vkarpov15/gh-134535552107fix(cursor): allow find middleware to modify query cursor options- Additional commits viewable in compare view
Updates mongodb from 4.7.0 to 4.16.0
Release notes
Sourced from mongodb's releases.
v4.16.0
The MongoDB Node.js team is pleased to announce version 4.16.0 of the
mongodbpackage!Features
- NODE-5159: add FaaS env information to client metadata (#3639) (e0b20f1)
- NODE-5199: add alternative runtime detection to client metadata (#3647) (fba16ad)
Bug Fixes
- NODE-5161: metadata duplication in handshake (#3628) (b790142)
- NODE-5200: relax SRV record validation to account for a dot suffix (#3640) (4272c43)
Documentation
We invite you to try the
mongodblibrary immediately, and report any issues to the NODE project.v4.15.0
The MongoDB Node.js team is pleased to announce version 4.15.0 of the mongodb package!
Features
Bug Fixes
Documentation
- Reference: https://docs.mongodb.com/drivers/node/current/
- API: https://mongodb.github.io/node-mongodb-native/4.15/
- Changelog: HISTORY.md
We invite you to try the mongodb library immediately, and report any issues to the NODE project.
v4.14.0
The MongoDB Node.js team is pleased to announce version 4.14.0 of the mongodb package!
Deprecations
... (truncated)
Changelog
Sourced from mongodb's changelog.
4.16.0 (2023-04-18)
Features
- NODE-5159: add FaaS env information to client metadata (#3639) (e0b20f1)
- NODE-5199: add alternative runtime detection to client metadata (#3647) (fba16ad)
Bug Fixes
- NODE-5161: metadata duplication in handshake (#3628) (b790142)
- NODE-5200: relax SRV record validation to account for a dot suffix (#3640) (4272c43)
4.15.0 (2023-04-04)
Features
Bug Fixes
4.14.0 (2023-02-07)
Features
Bug Fixes
- NODE-4999: Write Concern 0 Must Not Affect Read Operations (#3541) (ddfc2b9)
- NODE-5026: revert "ensure that MessageStream is destroyed when connections are destroyed" (#3551) (c4da623)
4.13.0 (2022-12-19)
Features
- NODE-4691: interrupt in-flight operations on heartbeat failure (#3457) (e641bd4)
- NODE-4810: define the new Logger (#3475) (6ef11d7)
Bug Fixes
... (truncated)
Commits
134d32fchore(release): 4.16.0fba16adfeat(NODE-5199): add alternative runtime detection to client metadata (#3647)e0b20f1feat(NODE-5159): add FaaS env information to client metadata (#3639)4272c43fix(NODE-5200): relax SRV record validation to account for a dot suffix (#3640)c11e2cftest(NODE-5181): update fle2 v2 spec tests (#3630)b790142fix(NODE-5161): metadata duplication in handshake (#3628)49fa638chore(release): 4.15.000a8cffchore: update BSON to v4.7.2 (#3614)d6821bftest(NODE-5149): fix broken range index test (#3617)79d774eci(NODE-5090): download node to local directory (#3591)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by w-a-james, a new releaser for mongodb since your current version.
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) -
@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) -
@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) -
@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency -
@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the Security Alerts page.