-
Notifications
You must be signed in to change notification settings - Fork 39
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
0.7.1 #339
Merged
Merged
0.7.1 #339
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…with different parameters
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.6.1 to 6.11.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/releases">mongoose's releases</a>.</em></p> <blockquote> <h1>6.10.1 / 2023-03-03</h1> <ul> <li>fix: avoid removing empty query filters in <code>$and</code> and <code>$or</code> <a href="https://github.com/Automattic/mongoose/issues/13086">#13086</a> <a href="https://github.com/Automattic/mongoose/issues/12898">#12898</a></li> <li>fix(schematype): fixed validation for required UUID field <a href="https://github.com/Automattic/mongoose/issues/13018">#13018</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): add missing Paths generic param to <code>Model.populate()</code> <a href="https://github.com/Automattic/mongoose/issues/13070">#13070</a></li> <li>docs(migrating_to_6): added info about removal of reconnectTries and reconnectInterval options <a href="https://github.com/Automattic/mongoose/issues/13083">#13083</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>docs: fix code in headers for migrating_to_5 <a href="https://github.com/Automattic/mongoose/issues/13077">#13077</a> <a href="https://github.com/hasezoey">hasezoey</a></li> <li>docs: backport misc documentation changes into 6.x <a href="https://github.com/Automattic/mongoose/issues/13091">#13091</a> <a href="https://github.com/hasezoey">hasezoey</a></li> </ul> <h1>6.10.0 / 2023-02-22</h1> <ul> <li>feat: upgrade to mongodb driver 4.14.0 <a href="https://github.com/Automattic/mongoose/issues/13036">#13036</a></li> <li>feat: added Schema.prototype.omit() function <a href="https://github.com/Automattic/mongoose/issues/12939">#12939</a> <a href="https://github.com/Automattic/mongoose/issues/12931">#12931</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>feat(index): added createInitialConnection option to Mongoose constructor <a href="https://github.com/Automattic/mongoose/issues/13021">#13021</a> <a href="https://github.com/Automattic/mongoose/issues/12965">#12965</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> </ul> <h1>6.9.3 / 2023-02-22</h1> <ul> <li>fix(connection): delay calculating <code>autoCreate</code> and <code>autoIndex</code> until after initial connection established <a href="https://github.com/Automattic/mongoose/issues/13007">#13007</a> <a href="https://github.com/Automattic/mongoose/issues/12940">#12940</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(discriminator): allows update doc with discriminatorKey <a href="https://github.com/Automattic/mongoose/issues/13056">#13056</a> <a href="https://github.com/Automattic/mongoose/issues/13055">#13055</a> <a href="https://github.com/abarriel">abarriel</a></li> <li>fix(query): avoid sending unnecessary empty projection to MongoDB server <a href="https://github.com/Automattic/mongoose/issues/13059">#13059</a> <a href="https://github.com/Automattic/mongoose/issues/13050">#13050</a></li> <li>fix(model): avoid sending null session option with document operations <a href="https://github.com/Automattic/mongoose/issues/13053">#13053</a> <a href="https://github.com/Automattic/mongoose/issues/13052">#13052</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): use MergeTypes for type overrides in HydratedDocument <a href="https://github.com/Automattic/mongoose/issues/13066">#13066</a> <a href="https://github.com/Automattic/mongoose/issues/13040">#13040</a></li> <li>docs(middleware): list validate as a potential query middleware <a href="https://github.com/Automattic/mongoose/issues/13057">#13057</a> <a href="https://github.com/Automattic/mongoose/issues/12680">#12680</a></li> <li>docs(getters-setters): explain that getters do not run by default on toJSON() <a href="https://github.com/Automattic/mongoose/issues/13058">#13058</a> <a href="https://github.com/Automattic/mongoose/issues/13049">#13049</a></li> <li>docs: refactor docs generation scripts <a href="https://github.com/Automattic/mongoose/issues/13044">#13044</a> <a href="https://github.com/hasezoey">hasezoey</a></li> </ul> <h1>6.9.2 / 2023-02-16</h1> <ul> <li>fix(model): fixed post('save') callback parameter <a href="https://github.com/Automattic/mongoose/issues/13030">#13030</a> <a href="https://github.com/Automattic/mongoose/issues/13026">#13026</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(UUID): added null check to prevent error on binaryToString conversion <a href="https://github.com/Automattic/mongoose/issues/13034">#13034</a> <a href="https://github.com/Automattic/mongoose/issues/13032">#13032</a> <a href="https://github.com/Automattic/mongoose/issues/13029">#13029</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a> <a href="https://github.com/Freezystem">Freezystem</a></li> <li>fix(query): revert breaking changes introduced by <a href="https://github.com/Automattic/mongoose/issues/12797">#12797</a> <a href="https://github.com/Automattic/mongoose/issues/12999">#12999</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(document): make array $shift() use $pop instead of overwriting array <a href="https://github.com/Automattic/mongoose/issues/13004">#13004</a></li> <li>docs: update & remove old links <a href="https://github.com/Automattic/mongoose/issues/13019">#13019</a> <a href="https://github.com/hasezoey">hasezoey</a></li> <li>docs(middleware): describe how to access model from document middleware <a href="https://github.com/Automattic/mongoose/issues/13031">#13031</a> <a href="https://github.com/AxeOfMen">AxeOfMen</a></li> <li>docs: update broken & outdated links <a href="https://github.com/Automattic/mongoose/issues/13001">#13001</a> <a href="https://github.com/hasezoey">hasezoey</a></li> <li>chore: change deno tests to also use MMS <a href="https://github.com/Automattic/mongoose/issues/12918">#12918</a> <a href="https://github.com/hasezoey">hasezoey</a></li> </ul> <h1>6.9.1 / 2023-02-06</h1> <ul> <li>fix(document): isModified should not be triggered when setting a nested boolean to the same value as previously <a href="https://github.com/Automattic/mongoose/issues/12994">#12994</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(document): save newly set defaults underneath single nested subdocuments <a href="https://github.com/Automattic/mongoose/issues/13002">#13002</a> <a href="https://github.com/Automattic/mongoose/issues/12905">#12905</a></li> <li>fix(update): handle custom discriminator model name when casting update <a href="https://github.com/Automattic/mongoose/issues/12947">#12947</a> <a href="https://github.com/wassil">wassil</a></li> <li>fix(connection): handles unique autoincrement ID for connections <a href="https://github.com/Automattic/mongoose/issues/12990">#12990</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>fix(types): fix type of options of Model.aggregate <a href="https://github.com/Automattic/mongoose/issues/12933">#12933</a> <a href="https://github.com/ghost91-">ghost91-</a></li> <li>fix(types): fix "near" aggregation operator input type <a href="https://github.com/Automattic/mongoose/issues/12954">#12954</a> <a href="https://github.com/Jokero">Jokero</a></li> <li>fix(types): add missing Top operator to AccumulatorOperator type declaration <a href="https://github.com/Automattic/mongoose/issues/12952">#12952</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>docs(transactions): added example for Connection.transaction() method <a href="https://github.com/Automattic/mongoose/issues/12943">#12943</a> <a href="https://github.com/Automattic/mongoose/issues/12934">#12934</a> <a href="https://github.com/lpizzinidev">lpizzinidev</a></li> <li>docs(populate): fix out of date comment referencing onModel property <a href="https://github.com/Automattic/mongoose/issues/13000">#13000</a></li> <li>docs(transactions): fix typo in transactions.md <a href="https://github.com/Automattic/mongoose/issues/12995">#12995</a> <a href="https://github.com/Parth86">Parth86</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md">mongoose's changelog</a>.</em></p> <blockquote> <h1>6.11.3 / 2023-07-11</h1> <ul> <li>fix: avoid prototype pollution on init</li> <li>fix(schema): correctly handle uuids with populate() <a href="https://github.com/Automattic/mongoose/issues/13317">#13317</a> <a href="https://github.com/Automattic/mongoose/issues/13595">#13595</a></li> </ul> <h1>7.3.3 / 2023-07-10</h1> <ul> <li>fix: avoid prototype pollution on init</li> <li>fix(document): clean up all array subdocument modified paths on save() <a href="https://github.com/Automattic/mongoose/issues/13589">#13589</a> <a href="https://github.com/Automattic/mongoose/issues/13582">#13582</a></li> <li>types: avoid unnecessary MergeType<> if TOverrides not set, clean up statics and insertMany() type issues <a href="https://github.com/Automattic/mongoose/issues/13577">#13577</a> <a href="https://github.com/Automattic/mongoose/issues/13529">#13529</a></li> </ul> <h1>7.3.2 / 2023-07-06</h1> <ul> <li>fix(model): avoid TypeError if insertMany() fails with error that does not have writeErrors property <a href="https://github.com/Automattic/mongoose/issues/13579">#13579</a> <a href="https://github.com/Automattic/mongoose/issues/13531">#13531</a></li> <li>fix(query): convert findOneAndUpdate to findOneAndReplace when overwrite set for backwards compat with Mongoose 6 <a href="https://github.com/Automattic/mongoose/issues/13572">#13572</a> <a href="https://github.com/Automattic/mongoose/issues/13550">#13550</a></li> <li>fix(query): throw readable error when executing a Query instance without an associated model <a href="https://github.com/Automattic/mongoose/issues/13571">#13571</a> <a href="https://github.com/Automattic/mongoose/issues/13570">#13570</a></li> <li>types: support mongoose.Schema.ObjectId as alias for mongoose.Schema.Types.ObjectId <a href="https://github.com/Automattic/mongoose/issues/13543">#13543</a> <a href="https://github.com/Automattic/mongoose/issues/13534">#13534</a></li> <li>docs(connections): clarify that socketTimeoutMS now defaults to 0 <a href="https://github.com/Automattic/mongoose/issues/13576">#13576</a> <a href="https://github.com/Automattic/mongoose/issues/13537">#13537</a></li> <li>docs(migrating_to_7): add mapReduce() removal to migration guide <a href="https://github.com/Automattic/mongoose/issues/13568">#13568</a> <a href="https://github.com/Automattic/mongoose/issues/13548">#13548</a></li> <li>docs(schemas): fix typo in schemas.md <a href="https://github.com/Automattic/mongoose/issues/13540">#13540</a> <a href="https://github.com/Metehan-Altuntekin">Metehan-Altuntekin</a></li> </ul> <h1>7.3.1 / 2023-06-21</h1> <ul> <li>fix(query): respect query-level strict option on findOneAndReplace() <a href="https://github.com/Automattic/mongoose/issues/13516">#13516</a> <a href="https://github.com/Automattic/mongoose/issues/13507">#13507</a></li> <li>docs(connections): expand docs on serverSelectionTimeoutMS <a href="https://github.com/Automattic/mongoose/issues/13533">#13533</a> <a href="https://github.com/Automattic/mongoose/issues/12967">#12967</a></li> <li>docs: add example of accessing save options in pre save <a href="https://github.com/Automattic/mongoose/issues/13498">#13498</a></li> <li>docs(connections+faq): add info on localhost vs 127.0.0.1</li> <li>docs(SchemaType): validate members are validator & message (not msg) <a href="https://github.com/Automattic/mongoose/issues/13521">#13521</a> <a href="https://github.com/lorand-horvath">lorand-horvath</a></li> </ul> <h1>7.3.0 / 2023-06-14</h1> <ul> <li>feat: upgrade mongodb -> 5.6.0 <a href="https://github.com/Automattic/mongoose/issues/13455">#13455</a> <a href="https://github.com/lorand-horvath">lorand-horvath</a></li> <li>feat(aggregate): add Aggregate.prototype.finally() to be consistent with Promise API for TypeScript <a href="https://github.com/Automattic/mongoose/issues/13509">#13509</a></li> <li>feat(schema): support selecting subset of fields to apply optimistic concurrency to <a href="https://github.com/Automattic/mongoose/issues/13506">#13506</a> <a href="https://github.com/Automattic/mongoose/issues/10591">#10591</a></li> <li>feat(model): add <code>ordered</code> option to <code>Model.create()</code> <a href="https://github.com/Automattic/mongoose/issues/13472">#13472</a> <a href="https://github.com/Automattic/mongoose/issues/4038">#4038</a></li> <li>feat(schema): consistently add .get() function to all SchemaType classes</li> <li>feat(populate): pass virtual to match function to allow merging match options <a href="https://github.com/Automattic/mongoose/issues/13477">#13477</a> <a href="https://github.com/Automattic/mongoose/issues/12443">#12443</a></li> <li>types: allow overwriting Paths in select() to tell TypeScript which fields are projected <a href="https://github.com/Automattic/mongoose/issues/13478">#13478</a> <a href="https://github.com/Automattic/mongoose/issues/13224">#13224</a></li> <li>types(schema): add validateModifiedOnly as schema option <a href="https://github.com/Automattic/mongoose/issues/13503">#13503</a> <a href="https://github.com/Automattic/mongoose/issues/10153">#10153</a></li> <li>docs: add note about validateModifiedOnly as a schema option <a href="https://github.com/Automattic/mongoose/issues/13503">#13503</a> <a href="https://github.com/Automattic/mongoose/issues/10153">#10153</a></li> <li>docs(migrating_to_7): update migrating_to_7.md to include Model.countDocuments <a href="https://github.com/Automattic/mongoose/issues/13508">#13508</a> <a href="https://github.com/Climax777">Climax777</a></li> <li>docs(further_reading): remove style for "img" <a href="https://github.com/hasezoey">hasezoey</a></li> </ul> <h1>7.2.4 / 2023-06-12</h1> <ul> <li>fix(query): handle non-string discriminator key values in query <a href="https://github.com/Automattic/mongoose/issues/13496">#13496</a> <a href="https://github.com/Automattic/mongoose/issues/13492">#13492</a></li> </ul> <h1>7.2.3 / 2023-06-09</h1> <ul> <li>fix(model): ignore falsy last argument to create() for backwards compatibility <a href="https://github.com/Automattic/mongoose/issues/13493">#13493</a> <a href="https://github.com/Automattic/mongoose/issues/13491">#13491</a> <a href="https://github.com/Automattic/mongoose/issues/13487">#13487</a> <a href="https://github.com/MohOraby">MohOraby</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Automattic/mongoose/commit/e9eb8abf64c38426f0cc4dc74e4b099df4f60017"><code>e9eb8ab</code></a> chore: release 6.11.3</li> <li><a href="https://github.com/Automattic/mongoose/commit/688da8f20b6fb7fbbd73ac2ce6b46fd3a4cea7c4"><code>688da8f</code></a> test: fix flakey tests, remove test for <a href="https://github.com/Automattic/mongoose/issues/9597">#9597</a> because it affects global state...</li> <li><a href="https://github.com/Automattic/mongoose/commit/4f264a84c814915a29a4fec86fc67d4e3a8788c4"><code>4f264a8</code></a> test: fix tests re: <a href="https://github.com/Automattic/mongoose/issues/13317">#13317</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/9616af767077a270ce0bf0855c6e4a288c16bf1f"><code>9616af7</code></a> fix(schema): correctly handle uuids with populate()</li> <li><a href="https://github.com/Automattic/mongoose/commit/305ce4ff789261df7e3f6e72363d0703e025f80d"><code>305ce4f</code></a> fix: avoid prototype pollution on init</li> <li><a href="https://github.com/Automattic/mongoose/commit/35e59eb0f07f2a9a7c2de1e84510013ea66d4cd4"><code>35e59eb</code></a> docs: link to migrating to 6 in 6.x docs</li> <li><a href="https://github.com/Automattic/mongoose/commit/a28933e60171ca0fd5af63c5f60bdc690001de52"><code>a28933e</code></a> chore: release 6.11.2</li> <li><a href="https://github.com/Automattic/mongoose/commit/3a6b0ddbaf136f97ec55d2f7177b6a08c16e44f1"><code>3a6b0dd</code></a> chore: use deno v1.34 in test for MMS HTTP issues</li> <li><a href="https://github.com/Automattic/mongoose/commit/f7c6d3efeeb1941efe3bd9a65c87810985622a05"><code>f7c6d3e</code></a> Merge pull request <a href="https://github.com/Automattic/mongoose/issues/13476">#13476</a> from Automattic/vkarpov15/<a href="https://github.com/Automattic/mongoose/issues/13453">gh-13453</a></li> <li><a href="https://github.com/Automattic/mongoose/commit/55521079afb9e40afb959d84f072f85e3f9d2b3a"><code>5552107</code></a> fix(cursor): allow find middleware to modify query cursor options</li> <li>Additional commits viewable in <a href="https://github.com/Automattic/mongoose/compare/6.6.1...6.11.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/implerhq/impler.io/network/alerts). </details>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.