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
fix: route constraints #5207
Merged
Merged
fix: route constraints #5207
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
Uzlopak
approved these changes
Dec 14, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
renovate bot
added a commit
to tomacheese/telcheck
that referenced
this pull request
Dec 15, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [fastify](https://www.fastify.dev/) ([source](https://togithub.com/fastify/fastify)) | [`4.25.0` -> `4.25.1`](https://renovatebot.com/diffs/npm/fastify/4.25.0/4.25.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.25.0/4.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.25.0/4.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>fastify/fastify (fastify)</summary> ### [`v4.25.1`](https://togithub.com/fastify/fastify/releases/tag/v4.25.1) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.25.0...v4.25.1) #### What's Changed - fix: route constraints by [@​climba03003](https://togithub.com/climba03003) in [fastify/fastify#5207 - fix: Better plugin name detection for FSTWRN002 by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5209 - chore: at-large project by [@​Eomm](https://togithub.com/Eomm) in [fastify/fastify#5211 **Full Changelog**: fastify/fastify@v4.25.0...v4.25.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/tomacheese/telcheck). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jlenon7
added a commit
to AthennaIO/Common
that referenced
this pull request
Jan 9, 2024
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade fastify from 4.25.0 to 4.25.1.</h3> :information_source: 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. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **23 days ago**, on 2023-12-15. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>fastify</b></summary> <ul> <li> <b>4.25.1</b> - <a href="https://snyk.io/redirect/github/fastify/fastify/releases/tag/v4.25.1">2023-12-15</a></br><h2>What's Changed</h2> <ul> <li>fix: route constraints by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/climba03003/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/climba03003">@ climba03003</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2041016404" data-permission-text="Title is private" data-url="fastify/fastify#5207" data-hovercard-type="pull_request" data-hovercard-url="/fastify/fastify/pull/5207/hovercard" href="https://snyk.io/redirect/github/fastify/fastify/pull/5207">#5207</a></li> <li>fix: Better plugin name detection for FSTWRN002 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mcollina/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/mcollina">@ mcollina</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2041563291" data-permission-text="Title is private" data-url="fastify/fastify#5209" data-hovercard-type="pull_request" data-hovercard-url="/fastify/fastify/pull/5209/hovercard" href="https://snyk.io/redirect/github/fastify/fastify/pull/5209">#5209</a></li> <li>chore: at-large project by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Eomm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Eomm">@ Eomm</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2042200866" data-permission-text="Title is private" data-url="fastify/fastify#5211" data-hovercard-type="pull_request" data-hovercard-url="/fastify/fastify/pull/5211/hovercard" href="https://snyk.io/redirect/github/fastify/fastify/pull/5211">#5211</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/fastify/fastify/compare/v4.25.0...v4.25.1"><tt>v4.25.0...v4.25.1</tt></a></p> </li> <li> <b>4.25.0</b> - <a href="https://snyk.io/redirect/github/fastify/fastify/releases/tag/v4.25.0">2023-12-13</a></br><a href="https://snyk.io/redirect/github/fastify/fastify/releases/tag/v4.25.0"> Read more </a> </li> </ul> from <a href="https://snyk.io/redirect/github/fastify/fastify/releases">fastify GitHub release notes</a> </details> </details> <details> <summary><b>Commit messages</b></summary> </br> <details> <summary>Package name: <b>fastify</b></summary> <ul> <li><a href="https://snyk.io/redirect/github/fastify/fastify/commit/e3a07eaa444d0e769802195816d4e1718c2fc9ea">e3a07ea</a> Bumped v4.25.1</li> <li><a href="https://snyk.io/redirect/github/fastify/fastify/commit/af8bd46a7b1d18c68558f07e020180f5e86922b5">af8bd46</a> chore: at-large project (#5211)</li> <li><a href="https://snyk.io/redirect/github/fastify/fastify/commit/e495eaa26800db04859da8582a0fd57f8d7ee0c6">e495eaa</a> fix: Better plugin name detection for FSTWRN002 (#5209)</li> <li><a href="https://snyk.io/redirect/github/fastify/fastify/commit/256fb2cf88628e7c28aa082713a988089751c2ab">256fb2c</a> fix: route constraints (#5207)</li> </ul> <a href="https://snyk.io/redirect/github/fastify/fastify/compare/635acc8ae50ed9a5a0ca03720a5d1bab70f64b51...e3a07eaa444d0e769802195816d4e1718c2fc9ea">Compare</a> </details> </details> <hr/> **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1NjYwN2JiMy1jNmViLTRiZTUtYWMyZC02ZDkwN2UwYTJjZTgiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjU2NjA3YmIzLWM2ZWItNGJlNS1hYzJkLTZkOTA3ZTBhMmNlOCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/jlenon7/project/f15ac352-d8b8-407e-9f29-b569d1087684?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/jlenon7/project/f15ac352-d8b8-407e-9f29-b569d1087684/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/jlenon7/project/f15ac352-d8b8-407e-9f29-b569d1087684/settings/integration?pkg=fastify&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"56607bb3-c6eb-4be5-ac2d-6d907e0a2ce8","prPublicId":"56607bb3-c6eb-4be5-ac2d-6d907e0a2ce8","dependencies":[{"name":"fastify","from":"4.25.0","to":"4.25.1"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/jlenon7/project/f15ac352-d8b8-407e-9f29-b569d1087684?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"f15ac352-d8b8-407e-9f29-b569d1087684","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-12-15T08:35:39.918Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io>
renovate bot
added a commit
to redwoodjs/redwood
that referenced
this pull request
Jan 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [fastify](https://www.fastify.dev/) ([source](https://togithub.com/fastify/fastify)) | [`4.24.3` -> `4.25.2`](https://renovatebot.com/diffs/npm/fastify/4.24.3/4.25.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.24.3/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.24.3/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>fastify/fastify (fastify)</summary> ### [`v4.25.2`](https://togithub.com/fastify/fastify/releases/tag/v4.25.2) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.25.1...v4.25.2) #### What's Changed - fix: `npm run test:watch` by [@​domdomegg](https://togithub.com/domdomegg) in [fastify/fastify#5221 - fix: always consume stream payloads when responding to 204 with no body by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5231 - docs: update setErrorHandler to explain not found behaviour by [@​domdomegg](https://togithub.com/domdomegg) in [fastify/fastify#5218 #### New Contributors - [@​domdomegg](https://togithub.com/domdomegg) made their first contribution in [fastify/fastify#5221 **Full Changelog**: fastify/fastify@v4.25.1...v4.25.2 ### [`v4.25.1`](https://togithub.com/fastify/fastify/releases/tag/v4.25.1) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.25.0...v4.25.1) #### What's Changed - fix: route constraints by [@​climba03003](https://togithub.com/climba03003) in [fastify/fastify#5207 - fix: Better plugin name detection for FSTWRN002 by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5209 - chore: at-large project by [@​Eomm](https://togithub.com/Eomm) in [fastify/fastify#5211 **Full Changelog**: fastify/fastify@v4.25.0...v4.25.1 ### [`v4.25.0`](https://togithub.com/fastify/fastify/releases/tag/v4.25.0) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.24.3...v4.25.0) #### What's Changed - feat: Improve RouteShorthandOptions\['constraints'] type by [@​Fcmam5](https://togithub.com/Fcmam5) in [fastify/fastify#5097 - fix: add [@​eomm](https://togithub.com/eomm) and [@​jsumners](https://togithub.com/jsumners) as lead maintainers by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5115 - fix: reply.send supports Uint8Array payload by [@​SgtPooki](https://togithub.com/SgtPooki) in [fastify/fastify#5124 - refactor: migrate deprecation warnings to actual deprecation warnings by [@​jsumners](https://togithub.com/jsumners) in [fastify/fastify#5126 - docs: added documentation about warnings by [@​giuliowaitforitdavide](https://togithub.com/giuliowaitforitdavide) in [fastify/fastify#5108 - test(logger): restrict temp file permissions by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5128 - refactor(lib/hooks): replace `typeof` undefined check by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5127 - chore: replace mention of fastify `.io` domain with `.dev` by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5129 - docs(security): add prose explaining OpenSSF CII Best Practices badge results by [@​ljharb](https://togithub.com/ljharb) in [fastify/fastify#5111 - chore: Bump actions/setup-node from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [fastify/fastify#5134 - fix(types): add handler property to routeOptions by [@​MikeJeffers](https://togithub.com/MikeJeffers) in [fastify/fastify#5136 - docs(readme): fix ci badge path by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5138 - docs: Fix small typo in Typescript docs by [@​john-ko](https://togithub.com/john-ko) in [fastify/fastify#5145 - feat(plugins): mixing async and callback style now returns a warning by [@​giuliowaitforitdavide](https://togithub.com/giuliowaitforitdavide) in [fastify/fastify#5139 - docs: mention about multipart support by [@​fawazahmed0](https://togithub.com/fawazahmed0) in [fastify/fastify#5144 - docs: add [@​fastify/vite](https://togithub.com/fastify/vite) to core plugins list by [@​galvez](https://togithub.com/galvez) in [fastify/fastify#5153 - docs: add [@​scalar/fastify-api-reference](https://togithub.com/scalar/fastify-api-reference) to community plugins list by [@​hanspagel](https://togithub.com/hanspagel) in [fastify/fastify#5154 - docs: Remove routeOptions reference in Reply.md by [@​shadahmad7](https://togithub.com/shadahmad7) in [fastify/fastify#5156 - docs(ecosystem): add fastify-uws by [@​tinchoz49](https://togithub.com/tinchoz49) in [fastify/fastify#5160 - docs: removed unmaintained fastify-nodemailer from ecosystem by [@​giovanni-bertoncelli](https://togithub.com/giovanni-bertoncelli) in [fastify/fastify#5161 - docs: clarify handling of streams and buffers by [@​brettwillis](https://togithub.com/brettwillis) in [fastify/fastify#5166 - docs([#​5142](https://togithub.com/fastify/fastify/issues/5142)): aligned errors and warnings documentation by [@​giuliowaitforitdavide](https://togithub.com/giuliowaitforitdavide) in [fastify/fastify#5162 - docs(reference/hooks): add information about prehandler by [@​RjManhas](https://togithub.com/RjManhas) in [fastify/fastify#5163 - fix: type FastifyInstance\['route'] and RouteShorthandMethod by [@​MunifTanjim](https://togithub.com/MunifTanjim) in [fastify/fastify#5155 - docs (reference): Fix small typo in Request by [@​bngarren](https://togithub.com/bngarren) in [fastify/fastify#5186 - chore: gitpodify by [@​ghostdevv](https://togithub.com/ghostdevv) in [fastify/fastify#5168 - docs(ecosystem): Add Apitally by [@​itssimon](https://togithub.com/itssimon) in [fastify/fastify#5175 - fix: Update reply.context deprecation warning by [@​avaly](https://togithub.com/avaly) in [fastify/fastify#5179 - docs(ecosystem): adds @​blastorg/fastify/aws-dynamodb-cache to community plugins list by [@​fredrikj31](https://togithub.com/fredrikj31) in [fastify/fastify#5158 - docs: update preHandler hook example by [@​tarunrajput](https://togithub.com/tarunrajput) in [fastify/fastify#5189 - types: added http header types to reply by [@​skwee357](https://togithub.com/skwee357) in [fastify/fastify#5046 - test: add tests for TOC of errors.md by [@​Uzlopak](https://togithub.com/Uzlopak) in [fastify/fastify#5194 - ci: pin node 18 to 18.18.2 by [@​Uzlopak](https://togithub.com/Uzlopak) in [fastify/fastify#5197 - docs(ecosystem): add http-wizard by [@​flodlc](https://togithub.com/flodlc) in [fastify/fastify#5132 - chore: Bump actions/github-script from 6 to 7 by [@​dependabot](https://togithub.com/dependabot) in [fastify/fastify#5183 - ci: fix broken ci by skipping tests if node v > 18.19.0 by [@​Uzlopak](https://togithub.com/Uzlopak) in [fastify/fastify#5195 - fix: allow async hooks in `RouteShorthandOptions` without breaking `request` and `reply` types by [@​bienzaaron](https://togithub.com/bienzaaron) in [fastify/fastify#5147 - fix([#​5180](https://togithub.com/fastify/fastify/issues/5180)): close secondary bindings after primary is closed by [@​metcoder95](https://togithub.com/metcoder95) in [fastify/fastify#5201 - chore: update process-warning by [@​Eomm](https://togithub.com/Eomm) in [fastify/fastify#5206 - types: nullish error types in callback function's parameter for `after` and `ready` method by [@​nokazn](https://togithub.com/nokazn) in [fastify/fastify#5191 - fix([#​5049](https://togithub.com/fastify/fastify/issues/5049)): Remove duplicated calls to onReady by [@​metcoder95](https://togithub.com/metcoder95) in [fastify/fastify#5051 - chore: remove unused type assertion by [@​UndefinedBehaviour](https://togithub.com/UndefinedBehaviour) in [fastify/fastify#5184 #### New Contributors - [@​Fcmam5](https://togithub.com/Fcmam5) made their first contribution in [fastify/fastify#5097 - [@​SgtPooki](https://togithub.com/SgtPooki) made their first contribution in [fastify/fastify#5124 - [@​MikeJeffers](https://togithub.com/MikeJeffers) made their first contribution in [fastify/fastify#5136 - [@​john-ko](https://togithub.com/john-ko) made their first contribution in [fastify/fastify#5145 - [@​fawazahmed0](https://togithub.com/fawazahmed0) made their first contribution in [fastify/fastify#5144 - [@​hanspagel](https://togithub.com/hanspagel) made their first contribution in [fastify/fastify#5154 - [@​shadahmad7](https://togithub.com/shadahmad7) made their first contribution in [fastify/fastify#5156 - [@​giovanni-bertoncelli](https://togithub.com/giovanni-bertoncelli) made their first contribution in [fastify/fastify#5161 - [@​RjManhas](https://togithub.com/RjManhas) made their first contribution in [fastify/fastify#5163 - [@​MunifTanjim](https://togithub.com/MunifTanjim) made their first contribution in [fastify/fastify#5155 - [@​bngarren](https://togithub.com/bngarren) made their first contribution in [fastify/fastify#5186 - [@​ghostdevv](https://togithub.com/ghostdevv) made their first contribution in [fastify/fastify#5168 - [@​itssimon](https://togithub.com/itssimon) made their first contribution in [fastify/fastify#5175 - [@​avaly](https://togithub.com/avaly) made their first contribution in [fastify/fastify#5179 - [@​fredrikj31](https://togithub.com/fredrikj31) made their first contribution in [fastify/fastify#5158 - [@​tarunrajput](https://togithub.com/tarunrajput) made their first contribution in [fastify/fastify#5189 - [@​skwee357](https://togithub.com/skwee357) made their first contribution in [fastify/fastify#5046 - [@​flodlc](https://togithub.com/flodlc) made their first contribution in [fastify/fastify#5132 - [@​nokazn](https://togithub.com/nokazn) made their first contribution in [fastify/fastify#5191 - [@​UndefinedBehaviour](https://togithub.com/UndefinedBehaviour) made their first contribution in [fastify/fastify#5184 **Full Changelog**: fastify/fastify@v4.24.3...v4.25.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jtoar
pushed a commit
to redwoodjs/redwood
that referenced
this pull request
Jan 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [fastify](https://www.fastify.dev/) ([source](https://togithub.com/fastify/fastify)) | [`4.24.3` -> `4.25.2`](https://renovatebot.com/diffs/npm/fastify/4.24.3/4.25.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.24.3/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.24.3/4.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>fastify/fastify (fastify)</summary> ### [`v4.25.2`](https://togithub.com/fastify/fastify/releases/tag/v4.25.2) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.25.1...v4.25.2) #### What's Changed - fix: `npm run test:watch` by [@​domdomegg](https://togithub.com/domdomegg) in [fastify/fastify#5221 - fix: always consume stream payloads when responding to 204 with no body by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5231 - docs: update setErrorHandler to explain not found behaviour by [@​domdomegg](https://togithub.com/domdomegg) in [fastify/fastify#5218 #### New Contributors - [@​domdomegg](https://togithub.com/domdomegg) made their first contribution in [fastify/fastify#5221 **Full Changelog**: fastify/fastify@v4.25.1...v4.25.2 ### [`v4.25.1`](https://togithub.com/fastify/fastify/releases/tag/v4.25.1) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.25.0...v4.25.1) #### What's Changed - fix: route constraints by [@​climba03003](https://togithub.com/climba03003) in [fastify/fastify#5207 - fix: Better plugin name detection for FSTWRN002 by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5209 - chore: at-large project by [@​Eomm](https://togithub.com/Eomm) in [fastify/fastify#5211 **Full Changelog**: fastify/fastify@v4.25.0...v4.25.1 ### [`v4.25.0`](https://togithub.com/fastify/fastify/releases/tag/v4.25.0) [Compare Source](https://togithub.com/fastify/fastify/compare/v4.24.3...v4.25.0) #### What's Changed - feat: Improve RouteShorthandOptions\['constraints'] type by [@​Fcmam5](https://togithub.com/Fcmam5) in [fastify/fastify#5097 - fix: add [@​eomm](https://togithub.com/eomm) and [@​jsumners](https://togithub.com/jsumners) as lead maintainers by [@​mcollina](https://togithub.com/mcollina) in [fastify/fastify#5115 - fix: reply.send supports Uint8Array payload by [@​SgtPooki](https://togithub.com/SgtPooki) in [fastify/fastify#5124 - refactor: migrate deprecation warnings to actual deprecation warnings by [@​jsumners](https://togithub.com/jsumners) in [fastify/fastify#5126 - docs: added documentation about warnings by [@​giuliowaitforitdavide](https://togithub.com/giuliowaitforitdavide) in [fastify/fastify#5108 - test(logger): restrict temp file permissions by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5128 - refactor(lib/hooks): replace `typeof` undefined check by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5127 - chore: replace mention of fastify `.io` domain with `.dev` by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5129 - docs(security): add prose explaining OpenSSF CII Best Practices badge results by [@​ljharb](https://togithub.com/ljharb) in [fastify/fastify#5111 - chore: Bump actions/setup-node from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [fastify/fastify#5134 - fix(types): add handler property to routeOptions by [@​MikeJeffers](https://togithub.com/MikeJeffers) in [fastify/fastify#5136 - docs(readme): fix ci badge path by [@​Fdawgs](https://togithub.com/Fdawgs) in [fastify/fastify#5138 - docs: Fix small typo in Typescript docs by [@​john-ko](https://togithub.com/john-ko) in [fastify/fastify#5145 - feat(plugins): mixing async and callback style now returns a warning by [@​giuliowaitforitdavide](https://togithub.com/giuliowaitforitdavide) in [fastify/fastify#5139 - docs: mention about multipart support by [@​fawazahmed0](https://togithub.com/fawazahmed0) in [fastify/fastify#5144 - docs: add [@​fastify/vite](https://togithub.com/fastify/vite) to core plugins list by [@​galvez](https://togithub.com/galvez) in [fastify/fastify#5153 - docs: add [@​scalar/fastify-api-reference](https://togithub.com/scalar/fastify-api-reference) to community plugins list by [@​hanspagel](https://togithub.com/hanspagel) in [fastify/fastify#5154 - docs: Remove routeOptions reference in Reply.md by [@​shadahmad7](https://togithub.com/shadahmad7) in [fastify/fastify#5156 - docs(ecosystem): add fastify-uws by [@​tinchoz49](https://togithub.com/tinchoz49) in [fastify/fastify#5160 - docs: removed unmaintained fastify-nodemailer from ecosystem by [@​giovanni-bertoncelli](https://togithub.com/giovanni-bertoncelli) in [fastify/fastify#5161 - docs: clarify handling of streams and buffers by [@​brettwillis](https://togithub.com/brettwillis) in [fastify/fastify#5166 - docs([#​5142](https://togithub.com/fastify/fastify/issues/5142)): aligned errors and warnings documentation by [@​giuliowaitforitdavide](https://togithub.com/giuliowaitforitdavide) in [fastify/fastify#5162 - docs(reference/hooks): add information about prehandler by [@​RjManhas](https://togithub.com/RjManhas) in [fastify/fastify#5163 - fix: type FastifyInstance\['route'] and RouteShorthandMethod by [@​MunifTanjim](https://togithub.com/MunifTanjim) in [fastify/fastify#5155 - docs (reference): Fix small typo in Request by [@​bngarren](https://togithub.com/bngarren) in [fastify/fastify#5186 - chore: gitpodify by [@​ghostdevv](https://togithub.com/ghostdevv) in [fastify/fastify#5168 - docs(ecosystem): Add Apitally by [@​itssimon](https://togithub.com/itssimon) in [fastify/fastify#5175 - fix: Update reply.context deprecation warning by [@​avaly](https://togithub.com/avaly) in [fastify/fastify#5179 - docs(ecosystem): adds @​blastorg/fastify/aws-dynamodb-cache to community plugins list by [@​fredrikj31](https://togithub.com/fredrikj31) in [fastify/fastify#5158 - docs: update preHandler hook example by [@​tarunrajput](https://togithub.com/tarunrajput) in [fastify/fastify#5189 - types: added http header types to reply by [@​skwee357](https://togithub.com/skwee357) in [fastify/fastify#5046 - test: add tests for TOC of errors.md by [@​Uzlopak](https://togithub.com/Uzlopak) in [fastify/fastify#5194 - ci: pin node 18 to 18.18.2 by [@​Uzlopak](https://togithub.com/Uzlopak) in [fastify/fastify#5197 - docs(ecosystem): add http-wizard by [@​flodlc](https://togithub.com/flodlc) in [fastify/fastify#5132 - chore: Bump actions/github-script from 6 to 7 by [@​dependabot](https://togithub.com/dependabot) in [fastify/fastify#5183 - ci: fix broken ci by skipping tests if node v > 18.19.0 by [@​Uzlopak](https://togithub.com/Uzlopak) in [fastify/fastify#5195 - fix: allow async hooks in `RouteShorthandOptions` without breaking `request` and `reply` types by [@​bienzaaron](https://togithub.com/bienzaaron) in [fastify/fastify#5147 - fix([#​5180](https://togithub.com/fastify/fastify/issues/5180)): close secondary bindings after primary is closed by [@​metcoder95](https://togithub.com/metcoder95) in [fastify/fastify#5201 - chore: update process-warning by [@​Eomm](https://togithub.com/Eomm) in [fastify/fastify#5206 - types: nullish error types in callback function's parameter for `after` and `ready` method by [@​nokazn](https://togithub.com/nokazn) in [fastify/fastify#5191 - fix([#​5049](https://togithub.com/fastify/fastify/issues/5049)): Remove duplicated calls to onReady by [@​metcoder95](https://togithub.com/metcoder95) in [fastify/fastify#5051 - chore: remove unused type assertion by [@​UndefinedBehaviour](https://togithub.com/UndefinedBehaviour) in [fastify/fastify#5184 #### New Contributors - [@​Fcmam5](https://togithub.com/Fcmam5) made their first contribution in [fastify/fastify#5097 - [@​SgtPooki](https://togithub.com/SgtPooki) made their first contribution in [fastify/fastify#5124 - [@​MikeJeffers](https://togithub.com/MikeJeffers) made their first contribution in [fastify/fastify#5136 - [@​john-ko](https://togithub.com/john-ko) made their first contribution in [fastify/fastify#5145 - [@​fawazahmed0](https://togithub.com/fawazahmed0) made their first contribution in [fastify/fastify#5144 - [@​hanspagel](https://togithub.com/hanspagel) made their first contribution in [fastify/fastify#5154 - [@​shadahmad7](https://togithub.com/shadahmad7) made their first contribution in [fastify/fastify#5156 - [@​giovanni-bertoncelli](https://togithub.com/giovanni-bertoncelli) made their first contribution in [fastify/fastify#5161 - [@​RjManhas](https://togithub.com/RjManhas) made their first contribution in [fastify/fastify#5163 - [@​MunifTanjim](https://togithub.com/MunifTanjim) made their first contribution in [fastify/fastify#5155 - [@​bngarren](https://togithub.com/bngarren) made their first contribution in [fastify/fastify#5186 - [@​ghostdevv](https://togithub.com/ghostdevv) made their first contribution in [fastify/fastify#5168 - [@​itssimon](https://togithub.com/itssimon) made their first contribution in [fastify/fastify#5175 - [@​avaly](https://togithub.com/avaly) made their first contribution in [fastify/fastify#5179 - [@​fredrikj31](https://togithub.com/fredrikj31) made their first contribution in [fastify/fastify#5158 - [@​tarunrajput](https://togithub.com/tarunrajput) made their first contribution in [fastify/fastify#5189 - [@​skwee357](https://togithub.com/skwee357) made their first contribution in [fastify/fastify#5046 - [@​flodlc](https://togithub.com/flodlc) made their first contribution in [fastify/fastify#5132 - [@​nokazn](https://togithub.com/nokazn) made their first contribution in [fastify/fastify#5191 - [@​UndefinedBehaviour](https://togithub.com/UndefinedBehaviour) made their first contribution in [fastify/fastify#5184 **Full Changelog**: fastify/fastify@v4.24.3...v4.25.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.
In #5097, it provides a wrong typings of
route.constraints
.The
constraints
options is a value that passed to a custom constraints which is initialized when the startup offastify
.You cannot create a constraints through the route option.
Checklist
npm run test
andnpm run benchmark
and the Code of conduct