Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Bump @typegoose/typegoose from 9.12.1 to 10.0.0 (#112)
Bumps [@typegoose/typegoose](https://github.com/typegoose/typegoose) from 9.12.1 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typegoose/typegoose/releases"><code>@typegoose/typegoose</code>'s releases</a>.</em></p> <blockquote> <h2>v10.0.0</h2> <h2><a href="https://github.com/typegoose/typegoose/compare/v9.13.2...v10.0.0">10.0.0</a> (2022-12-12)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li><strong>typegoose::buildSchema:</strong> "buildSchema" now only accepts 2 parameters instead of 3 (the last 2 got merged)</li> <li>Option "runSyncIndexes" has been removed, if still wanting to continue to use it, run "model.syncIndexes()" manually</li> <li>File "index(.ts|.js)" got renamed to "indexes(.ts|.js)" to lessen confusion</li> <li><strong>utils:</strong> Function "getClassForDocument" is removed, use "getClass" directly</li> <li><strong>types::IndexOptions:</strong> Anyone using "<a href="https://github.com/index"><code>@index</code></a>" or "IndexOptions" directly with a generic will have to remove the generic</li> <li>"DecoratedPropertyMetadata::whatis" got renamed to "DecoratedPropertyMetadata::propType" for anyone using it</li> <li><strong>tsconfig.json:</strong> tsconfig "target" is now "es2020" which could be potentially be breaking</li> <li>NodeJS 14.0 is now the lowest required node version</li> <li><strong>types::Ref:</strong> "Ref" now transparently uses "DocumentType", which could lead ot breaking changes. "isDocumentType" and "isRefType" now narrow out the type that is tested, which could be a breaking change.</li> <li><strong>tsconfig.json:</strong> tsconfig "target" is now "es2019" which could be potentially be breaking</li> </ul> <h3>Features</h3> <ul> <li>add option to not inherit indexes from extending class (<a href="https://github.com/typegoose/typegoose/commit/6f49c6f400b8a95fb8b11d963d074eca6bd5ec29">6f49c6f</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/696">typegoose/typegoose#696</a></li> <li>change "overwriteOptions" to be just for naming options (<a href="https://github.com/typegoose/typegoose/commit/7713b0edc36541a914106d15048d2f710e3b0044">7713b0e</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/721">typegoose/typegoose#721</a></li> <li>refactor to remove "data.schemas" (<a href="https://github.com/typegoose/typegoose/commit/3fdeab1c2247f80f0c60103a35f9e65e3d9b308a">3fdeab1</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/760">typegoose/typegoose#760</a></li> <li>remove deprecated references to "WhatIsIt" (<a href="https://github.com/typegoose/typegoose/commit/b0cd080ae3b4465a8187962b2fdb78bbd4f0d798">b0cd080</a>)</li> <li>remove option "runSyncIndexes" (<a href="https://github.com/typegoose/typegoose/commit/753241139feb15e568e10bb7eb9f5b0e5f331963">7532411</a>)</li> <li>rename "index.ts" to "indexes.ts" (<a href="https://github.com/typegoose/typegoose/commit/59b3da7e2bbdd2daeedaff6f58b85350870d1ad6">59b3da7</a>)</li> <li>support defining nested-discriminators on the base class (<a href="https://github.com/typegoose/typegoose/commit/3a26c1038158dcdb952954d74fec339370598df2">3a26c10</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/758">typegoose/typegoose#758</a></li> <li><strong>tsconfig.json:</strong> update "target" to match minimal NodeJS capabilities (<a href="https://github.com/typegoose/typegoose/commit/896aef2c06e279c64b135313f9b7d5f7ccb521b1">896aef2</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/735">typegoose/typegoose#735</a></li> <li><strong>tsconfig.json:</strong> update "target" to match minimal NodeJS capabilities (<a href="https://github.com/typegoose/typegoose/commit/59826c1aabec37ba577f9c110c5d916024ae463c">59826c1</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/735">typegoose/typegoose#735</a></li> <li><strong>typegoose::buildSchema:</strong> reduce amout of parameters needed (<a href="https://github.com/typegoose/typegoose/commit/75a067cda915062a9ab6a75ec007b7f8a6cd9584">75a067c</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/721">typegoose/typegoose#721</a></li> <li><strong>types::Ref:</strong> update to transparently use "DocumentType" (<a href="https://github.com/typegoose/typegoose/commit/4b3520e55b8b13947cce2a28d83b53825e22fd60">4b3520e</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/730">typegoose/typegoose#730</a> <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/772">typegoose/typegoose#772</a></li> <li><strong>utils::getClass:</strong> support getting name from "modelName" if available (<a href="https://github.com/typegoose/typegoose/commit/5447184a6eda1c458c87296ad32b6b1c03b159e0">5447184</a>)</li> <li><strong>utils:</strong> remove function "getClassForDocument" (<a href="https://github.com/typegoose/typegoose/commit/da3a878a9625a70073dedca4fc30e7d4929c4575">da3a878</a>)</li> <li><strong>utils:</strong> remove function "initProperty" (<a href="https://github.com/typegoose/typegoose/commit/0993605c59e317af2f1bf5b6582b16a96b8f152d">0993605</a>)</li> </ul> <h3>Refactor</h3> <ul> <li><strong>hooks:</strong> dont define empty hooks options if not provided (<a href="https://github.com/typegoose/typegoose/commit/89b94169efc80d1be3fea7419d9289b110621918">89b9416</a>)</li> <li><strong>hooks:</strong> use mongoose's array looping over methods over typegoose's (<a href="https://github.com/typegoose/typegoose/commit/ca2a03a64c9d23c5ad30e42eaa1800eac79ac5f6">ca2a03a</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/587">typegoose/typegoose#587</a></li> <li><strong>utils::initProperty:</strong> simplify paths (<a href="https://github.com/typegoose/typegoose/commit/37ca83ede507340bac06fa340d04552f906fb953">37ca83e</a>)</li> <li>update minimal NodeJS version to 14.0.0 (<a href="https://github.com/typegoose/typegoose/commit/fcffbd8f9a2f2444b06637ef4ef839ff8079beae">fcffbd8</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><strong>hooks:</strong> update types for new "errorHandler" option (<a href="https://github.com/typegoose/typegoose/commit/f52ea0d4caf1f73686280ff01123db24b84f54d5">f52ea0d</a>)</li> <li><strong>plugin:</strong> actually print "anonymous" if function name is empty (<a href="https://github.com/typegoose/typegoose/commit/ae124bcb6c8478275aef571ce4137afff75029b2">ae124bc</a>)</li> <li><strong>typegoose:</strong> lessen the amount of "merge*" calls (<a href="https://github.com/typegoose/typegoose/commit/e30f4ae61ca17912688398ffb2a3f0b93724b5f6">e30f4ae</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typegoose/typegoose/blob/master/CHANGELOG.md"><code>@typegoose/typegoose</code>'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/typegoose/typegoose/compare/v9.13.2...v10.0.0">10.0.0</a> (2022-12-12)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li><strong>typegoose::buildSchema:</strong> "buildSchema" now only accepts 2 parameters instead of 3 (the last 2 got merged)</li> <li>Option "runSyncIndexes" has been removed, if still wanting to continue to use it, run "model.syncIndexes()" manually</li> <li>File "index(.ts|.js)" got renamed to "indexes(.ts|.js)" to lessen confusion</li> <li><strong>utils:</strong> Function "getClassForDocument" is removed, use "getClass" directly</li> <li><strong>types::IndexOptions:</strong> Anyone using "<a href="https://github.com/index"><code>@index</code></a>" or "IndexOptions" directly with a generic will have to remove the generic</li> <li>"DecoratedPropertyMetadata::whatis" got renamed to "DecoratedPropertyMetadata::propType" for anyone using it</li> <li><strong>tsconfig.json:</strong> tsconfig "target" is now "es2020" which could be potentially be breaking</li> <li>NodeJS 14.0 is now the lowest required node version</li> <li><strong>types::Ref:</strong> "Ref" now transparently uses "DocumentType", which could lead ot breaking changes. "isDocumentType" and "isRefType" now narrow out the type that is tested, which could be a breaking change.</li> <li><strong>tsconfig.json:</strong> tsconfig "target" is now "es2019" which could be potentially be breaking</li> </ul> <h3>Features</h3> <ul> <li>add option to not inherit indexes from extending class (<a href="https://github.com/typegoose/typegoose/commit/6f49c6f400b8a95fb8b11d963d074eca6bd5ec29">6f49c6f</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/696">typegoose/typegoose#696</a></li> <li>change "overwriteOptions" to be just for naming options (<a href="https://github.com/typegoose/typegoose/commit/7713b0edc36541a914106d15048d2f710e3b0044">7713b0e</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/721">typegoose/typegoose#721</a></li> <li>refactor to remove "data.schemas" (<a href="https://github.com/typegoose/typegoose/commit/3fdeab1c2247f80f0c60103a35f9e65e3d9b308a">3fdeab1</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/760">typegoose/typegoose#760</a></li> <li>remove deprecated references to "WhatIsIt" (<a href="https://github.com/typegoose/typegoose/commit/b0cd080ae3b4465a8187962b2fdb78bbd4f0d798">b0cd080</a>)</li> <li>remove option "runSyncIndexes" (<a href="https://github.com/typegoose/typegoose/commit/753241139feb15e568e10bb7eb9f5b0e5f331963">7532411</a>)</li> <li>rename "index.ts" to "indexes.ts" (<a href="https://github.com/typegoose/typegoose/commit/59b3da7e2bbdd2daeedaff6f58b85350870d1ad6">59b3da7</a>)</li> <li>support defining nested-discriminators on the base class (<a href="https://github.com/typegoose/typegoose/commit/3a26c1038158dcdb952954d74fec339370598df2">3a26c10</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/758">typegoose/typegoose#758</a></li> <li><strong>tsconfig.json:</strong> update "target" to match minimal NodeJS capabilities (<a href="https://github.com/typegoose/typegoose/commit/896aef2c06e279c64b135313f9b7d5f7ccb521b1">896aef2</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/735">typegoose/typegoose#735</a></li> <li><strong>tsconfig.json:</strong> update "target" to match minimal NodeJS capabilities (<a href="https://github.com/typegoose/typegoose/commit/59826c1aabec37ba577f9c110c5d916024ae463c">59826c1</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/735">typegoose/typegoose#735</a></li> <li><strong>typegoose::buildSchema:</strong> reduce amout of parameters needed (<a href="https://github.com/typegoose/typegoose/commit/75a067cda915062a9ab6a75ec007b7f8a6cd9584">75a067c</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/721">typegoose/typegoose#721</a></li> <li><strong>types::Ref:</strong> update to transparently use "DocumentType" (<a href="https://github.com/typegoose/typegoose/commit/4b3520e55b8b13947cce2a28d83b53825e22fd60">4b3520e</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/730">typegoose/typegoose#730</a> <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/772">typegoose/typegoose#772</a></li> <li><strong>utils::getClass:</strong> support getting name from "modelName" if available (<a href="https://github.com/typegoose/typegoose/commit/5447184a6eda1c458c87296ad32b6b1c03b159e0">5447184</a>)</li> <li><strong>utils:</strong> remove function "getClassForDocument" (<a href="https://github.com/typegoose/typegoose/commit/da3a878a9625a70073dedca4fc30e7d4929c4575">da3a878</a>)</li> <li><strong>utils:</strong> remove function "initProperty" (<a href="https://github.com/typegoose/typegoose/commit/0993605c59e317af2f1bf5b6582b16a96b8f152d">0993605</a>)</li> </ul> <h3>Refactor</h3> <ul> <li> <p><strong>hooks:</strong> dont define empty hooks options if not provided (<a href="https://github.com/typegoose/typegoose/commit/89b94169efc80d1be3fea7419d9289b110621918">89b9416</a>)</p> </li> <li> <p><strong>hooks:</strong> use mongoose's array looping over methods over typegoose's (<a href="https://github.com/typegoose/typegoose/commit/ca2a03a64c9d23c5ad30e42eaa1800eac79ac5f6">ca2a03a</a>), closes <a href="https://github-redirect.dependabot.com/typegoose/typegoose/issues/587">typegoose/typegoose#587</a></p> </li> <li> <p><strong>utils::initProperty:</strong> simplify paths (<a href="https://github.com/typegoose/typegoose/commit/37ca83ede507340bac06fa340d04552f906fb953">37ca83e</a>)</p> </li> <li> <p>update minimal NodeJS version to 14.0.0 (<a href="https://github.com/typegoose/typegoose/commit/fcffbd8f9a2f2444b06637ef4ef839ff8079beae">fcffbd8</a>)</p> </li> </ul> <h3>Fixes</h3> <ul> <li><strong>hooks:</strong> update types for new "errorHandler" option (<a href="https://github.com/typegoose/typegoose/commit/f52ea0d4caf1f73686280ff01123db24b84f54d5">f52ea0d</a>)</li> <li><strong>plugin:</strong> actually print "anonymous" if function name is empty (<a href="https://github.com/typegoose/typegoose/commit/ae124bcb6c8478275aef571ce4137afff75029b2">ae124bc</a>)</li> <li><strong>typegoose:</strong> lessen the amount of "merge*" calls (<a href="https://github.com/typegoose/typegoose/commit/e30f4ae61ca17912688398ffb2a3f0b93724b5f6">e30f4ae</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typegoose/typegoose/commit/4e11e32ccf648605346bc07dc8959c8c7ac6c1d6"><code>4e11e32</code></a> release: v10.0.0</li> <li><a href="https://github.com/typegoose/typegoose/commit/635bb3c424250242c45da495d6cf2a605ae13173"><code>635bb3c</code></a> docs(README): remove "as" assertion from example</li> <li><a href="https://github.com/typegoose/typegoose/commit/814405edf69d64c31a1d8a3a363289247fac232f"><code>814405e</code></a> docs: remove deprecated connection options from examples</li> <li><a href="https://github.com/typegoose/typegoose/commit/3734d746149f7a94aab71c0eb118329897ad7368"><code>3734d74</code></a> Merge branch 'beta'</li> <li><a href="https://github.com/typegoose/typegoose/commit/0ddc5e6798e368e2e44e0b660e0db3b1776de529"><code>0ddc5e6</code></a> chore(workflows/tests): add node 19</li> <li><a href="https://github.com/typegoose/typegoose/commit/0cb2a06d34faa4de40c8e90ac6aeb0a90799e5f1"><code>0cb2a06</code></a> release: v10.0.0-beta.3</li> <li><a href="https://github.com/typegoose/typegoose/commit/28e58eb01ed92da0dd96df9a63970ef4475cdca8"><code>28e58eb</code></a> docs(prop.md): fix broken link</li> <li><a href="https://github.com/typegoose/typegoose/commit/169842432ca7af6be4f6c0c844de7a39cc41a271"><code>1698424</code></a> dependencies(typescript): upgrade to 4.9.4</li> <li><a href="https://github.com/typegoose/typegoose/commit/8cb5c4601541be7e38ab3e55fe2502c4f20b4ec9"><code>8cb5c46</code></a> dependencies(eslint): upgrade to 8.29.0</li> <li><a href="https://github.com/typegoose/typegoose/commit/75576a0b7fe9c196a5c559e2bb2eb226e5fa0725"><code>75576a0</code></a> dependencies(@typescript-eslint/*): upgrade to 5.46.0</li> <li>Additional commits viewable in <a href="https://github.com/typegoose/typegoose/compare/v9.12.1...v10.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typegoose/typegoose&package-manager=npm_and_yarn&previous-version=9.12.1&new-version=10.0.0)](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 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) </details>
- Loading branch information