Skip to content

fix: hasPlugin does not track parent plugins#4929

Merged
mcollina merged 2 commits intomainfrom
bug-has-plugin
Jul 28, 2023
Merged

fix: hasPlugin does not track parent plugins#4929
mcollina merged 2 commits intomainfrom
bug-has-plugin

Conversation

@Eomm
Copy link
Member

@Eomm Eomm commented Jul 24, 2023

closes #4925

Checklist

@Eomm Eomm added the bugfix Issue or PR that should land as semver patch label Jul 24, 2023

// Track the registered and loaded plugins since the root instance.
// It does not track the current encapsulated plugin.
instance[pluginUtils.kRegisteredPlugins] = Object.create(instance[pluginUtils.kRegisteredPlugins])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldnt kRegisteredPlugins be in symbols.js?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though the same 👍🏼

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you move it to there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, I checked right now: the symbols contains only private stuff. This symbol is a reusable one Symbol.for('registered-plugin') so now, I think it is good here

Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

However I feel this might have unwanted consequences and it might be safer to land it in next. Wdyt?

@Fdawgs
Copy link
Member

Fdawgs commented Jul 24, 2023

Agree with @mcollina, definitely a breaking change.

@mcollina mcollina added the v5.x Issue or pr related to Fastify v5 label Jul 24, 2023
@mcollina mcollina added this to the v5.0.0 milestone Jul 24, 2023
@Eomm
Copy link
Member Author

Eomm commented Jul 24, 2023

However I feel this might have unwanted consequences and it might be safer to land it in next. Wdyt?

The issue should work - so I think it is a bugfix only.

@mcollina mcollina removed the v5.x Issue or pr related to Fastify v5 label Jul 26, 2023
@mcollina mcollina removed this from the v5.0.0 milestone Jul 26, 2023
@mcollina
Copy link
Member

Maybe we could just land it and see if it breaks anybody and revert thereafter?

@Eomm
Copy link
Member Author

Eomm commented Jul 26, 2023

Maybe we could just land it and see if it breaks anybody and revert thereafter?

I think so 👍🏼

@mcollina
Copy link
Member

I'm ok with that approach.
Anybody objects?

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcollina mcollina merged commit d8165ef into main Jul 28, 2023
@mcollina mcollina deleted the bug-has-plugin branch July 28, 2023 10:03
renovate bot referenced this pull request in tomacheese/telcheck Aug 27, 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.io/)
([source](https://togithub.com/fastify/fastify)) | [`4.21.0` ->
`4.22.0`](https://renovatebot.com/diffs/npm/fastify/4.21.0/4.22.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify (fastify)</summary>

###
[`v4.22.0`](https://togithub.com/fastify/fastify/releases/tag/v4.22.0)

[Compare
Source](https://togithub.com/fastify/fastify/compare/v4.21.0...v4.22.0)

#### What's Changed

- make FastifySchemaValidationError.params wider by
[@&#8203;cm-ayf](https://togithub.com/cm-ayf) in
[https://github.com/fastify/fastify/pull/4476](https://togithub.com/fastify/fastify/pull/4476)
- docs(ecosystem): add fastify-hashids by
[@&#8203;andersonjoseph](https://togithub.com/andersonjoseph) in
[https://github.com/fastify/fastify/pull/4934](https://togithub.com/fastify/fastify/pull/4934)
- fix: hasPlugin does not track parent plugins by
[@&#8203;Eomm](https://togithub.com/Eomm) in
[https://github.com/fastify/fastify/pull/4929](https://togithub.com/fastify/fastify/pull/4929)
- docs: early hints plugin is fastify plugin by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4947](https://togithub.com/fastify/fastify/pull/4947)
- chore: add pull request title check by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4951](https://togithub.com/fastify/fastify/pull/4951)
- chore: Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.29.6 to 0.30.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify/pull/4952](https://togithub.com/fastify/fastify/pull/4952)
- ci: improve pr title check by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4953](https://togithub.com/fastify/fastify/pull/4953)
- ci: fix warnings in benchmark workflows by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4954](https://togithub.com/fastify/fastify/pull/4954)
- docs: fix removeAdditional comment by
[@&#8203;G0maa](https://togithub.com/G0maa) in
[https://github.com/fastify/fastify/pull/4948](https://togithub.com/fastify/fastify/pull/4948)
- fix: Try to fix parser benchmark workflow by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/fastify/fastify/pull/4956](https://togithub.com/fastify/fastify/pull/4956)
- fix: infer correct hook handler by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4945](https://togithub.com/fastify/fastify/pull/4945)
- fix: do not double send the response if the request is destroyed but
not aborted by [@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/fastify/fastify/pull/4963](https://togithub.com/fastify/fastify/pull/4963)
- chore: Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.30.4 to 0.31.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify/pull/4973](https://togithub.com/fastify/fastify/pull/4973)
- fix: bodyLimit must be applied on fully decoded body by
[@&#8203;sergburn](https://togithub.com/sergburn) in
[https://github.com/fastify/fastify/pull/4969](https://togithub.com/fastify/fastify/pull/4969)
- chore: updates
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
and
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
by [@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4977](https://togithub.com/fastify/fastify/pull/4977)
- chore: use group dependencies in dependabot by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4979](https://togithub.com/fastify/fastify/pull/4979)
- chore: fix ci bench by [@&#8203;Eomm](https://togithub.com/Eomm) in
[https://github.com/fastify/fastify/pull/4983](https://togithub.com/fastify/fastify/pull/4983)
- fix: require.cache is undefined breaks SEA by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4982](https://togithub.com/fastify/fastify/pull/4982)
- ci: remove sync next wf by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4985](https://togithub.com/fastify/fastify/pull/4985)
- docs: remove mixing ES6 and commomjs in the example by
[@&#8203;thenicolau](https://togithub.com/thenicolau) in
[https://github.com/fastify/fastify/pull/4990](https://togithub.com/fastify/fastify/pull/4990)
- fix: errorHandler callback should utilize TypeProvider by
[@&#8203;muan](https://togithub.com/muan) in
[https://github.com/fastify/fastify/pull/4989](https://togithub.com/fastify/fastify/pull/4989)
- types: add onRoute to ApplicationHookLookup by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4968](https://togithub.com/fastify/fastify/pull/4968)
- chore: make tests pass on ipv4 only machine by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/fastify/fastify/pull/4997](https://togithub.com/fastify/fastify/pull/4997)
- fix: Set `FastifyRequest.id` type as a string by
[@&#8203;samchungy](https://togithub.com/samchungy) in
[https://github.com/fastify/fastify/pull/4992](https://togithub.com/fastify/fastify/pull/4992)

#### New Contributors

- [@&#8203;G0maa](https://togithub.com/G0maa) made their first
contribution in
[https://github.com/fastify/fastify/pull/4948](https://togithub.com/fastify/fastify/pull/4948)
- [@&#8203;thenicolau](https://togithub.com/thenicolau) made their first
contribution in
[https://github.com/fastify/fastify/pull/4990](https://togithub.com/fastify/fastify/pull/4990)
- [@&#8203;muan](https://togithub.com/muan) made their first
contribution in
[https://github.com/fastify/fastify/pull/4989](https://togithub.com/fastify/fastify/pull/4989)
- [@&#8203;samchungy](https://togithub.com/samchungy) made their first
contribution in
[https://github.com/fastify/fastify/pull/4992](https://togithub.com/fastify/fastify/pull/4992)

**Full Changelog**:
fastify/fastify@v4.21.0...v4.22.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Uzlopak added a commit that referenced this pull request Aug 29, 2023
* make FastifySchemaValidationError.params wider (#4476)

* fix: FastifySchemaValidationError.params could be unknown

* refactor: use FastifySchemaValidationError instead of ValidationResult

* fix: export ValidationResult for backword compatibility

* test: add non-assignable test for AjvErrorObject

* docs(ecosystem): add fastify-hashids (#4934)

* fix: hasPlugin does not track parent plugins (#4929)

Co-authored-by: Carlos Fuentes <me@metcoder.dev>

* docs: early hints plugin is fastify plugin (#4947)

* docs: early hints plugin is fastify plugin

* fix

* Update docs/Guides/Ecosystem.md

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

---------

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

* chore: add pull request title check (#4951)

* chore: add pull request title check

* Update .github/workflows/pull-request-title.yml

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

---------

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

* chore: Bump @sinclair/typebox from 0.29.6 to 0.30.2 (#4952)

Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.29.6 to 0.30.2.
- [Commits](sinclairzx81/typebox@0.29.6...0.30.2)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: prove pr title check (#4953)

* improve pr title check

* Apply suggestions from code review

* fix

* fix

* Update .github/workflows/pull-request-title.yml

Co-authored-by: Luis Orbaiceta <luisorbaiceta@gmail.com>

* Apply suggestions from code review

---------

Co-authored-by: Luis Orbaiceta <luisorbaiceta@gmail.com>

* ci: fix warnings in benchmark workflows (#4954)

* improve pr title check

* Apply suggestions from code review

* fix

* fix

* ci: fix warnings in benchmark workflow

* Update .github/workflows/benchmark.yml

* Update .github/workflows/benchmark.yml

* docs: fix removeAdditional comment (#4948)

* docs(Validator Compiler): fix removeAdditional comment

* Update docs/Reference/Validation-and-Serialization.md

Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>

* fix: typo in comment

* Update docs/Reference/Validation-and-Serialization.md

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

---------

Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

* fix: Try to fix parser benchmark workflow (#4956)

* fix: infer correct hook handler (#4945)

* fix: infer correct hook handler

* Update test/types/hooks.test-d.ts

* simplify

* remove duplicate typing tests

* remove duplicate test

* remove unused import

* fix

* fix linting

* fix: remove http version check

* test: remove unsupported http version

* remove obsolete documentation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: cm-ayf <cm.ayf2734@gmail.com>
Co-authored-by: Anderson <andersonjoseph@mailfence.com>
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
Co-authored-by: Carlos Fuentes <me@metcoder.dev>
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luis Orbaiceta <luisorbaiceta@gmail.com>
Co-authored-by: Mohammed Gomaa <midomaxgomaa@gmail.com>
Co-authored-by: Igor Savin <iselwin@gmail.com>
Co-authored-by: Cem <cembkoztekin@gmail.com>
renovate bot referenced this pull request in redwoodjs/graphql Aug 30, 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.io/)
([source](https://togithub.com/fastify/fastify)) | [`4.21.0` ->
`4.22.0`](https://renovatebot.com/diffs/npm/fastify/4.21.0/4.22.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify (fastify)</summary>

###
[`v4.22.0`](https://togithub.com/fastify/fastify/releases/tag/v4.22.0)

[Compare
Source](https://togithub.com/fastify/fastify/compare/v4.21.0...v4.22.0)

##### What's Changed

- make FastifySchemaValidationError.params wider by
[@&#8203;cm-ayf](https://togithub.com/cm-ayf) in
[https://github.com/fastify/fastify/pull/4476](https://togithub.com/fastify/fastify/pull/4476)
- docs(ecosystem): add fastify-hashids by
[@&#8203;andersonjoseph](https://togithub.com/andersonjoseph) in
[https://github.com/fastify/fastify/pull/4934](https://togithub.com/fastify/fastify/pull/4934)
- fix: hasPlugin does not track parent plugins by
[@&#8203;Eomm](https://togithub.com/Eomm) in
[https://github.com/fastify/fastify/pull/4929](https://togithub.com/fastify/fastify/pull/4929)
- docs: early hints plugin is fastify plugin by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4947](https://togithub.com/fastify/fastify/pull/4947)
- chore: add pull request title check by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4951](https://togithub.com/fastify/fastify/pull/4951)
- chore: Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.29.6 to 0.30.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify/pull/4952](https://togithub.com/fastify/fastify/pull/4952)
- ci: improve pr title check by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4953](https://togithub.com/fastify/fastify/pull/4953)
- ci: fix warnings in benchmark workflows by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4954](https://togithub.com/fastify/fastify/pull/4954)
- docs: fix removeAdditional comment by
[@&#8203;G0maa](https://togithub.com/G0maa) in
[https://github.com/fastify/fastify/pull/4948](https://togithub.com/fastify/fastify/pull/4948)
- fix: Try to fix parser benchmark workflow by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/fastify/fastify/pull/4956](https://togithub.com/fastify/fastify/pull/4956)
- fix: infer correct hook handler by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4945](https://togithub.com/fastify/fastify/pull/4945)
- fix: do not double send the response if the request is destroyed but
not aborted by [@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/fastify/fastify/pull/4963](https://togithub.com/fastify/fastify/pull/4963)
- chore: Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.30.4 to 0.31.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify/pull/4973](https://togithub.com/fastify/fastify/pull/4973)
- fix: bodyLimit must be applied on fully decoded body by
[@&#8203;sergburn](https://togithub.com/sergburn) in
[https://github.com/fastify/fastify/pull/4969](https://togithub.com/fastify/fastify/pull/4969)
- chore: updates
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
and
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
by [@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4977](https://togithub.com/fastify/fastify/pull/4977)
- chore: use group dependencies in dependabot by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4979](https://togithub.com/fastify/fastify/pull/4979)
- chore: fix ci bench by [@&#8203;Eomm](https://togithub.com/Eomm) in
[https://github.com/fastify/fastify/pull/4983](https://togithub.com/fastify/fastify/pull/4983)
- fix: require.cache is undefined breaks SEA by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4982](https://togithub.com/fastify/fastify/pull/4982)
- ci: remove sync next wf by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4985](https://togithub.com/fastify/fastify/pull/4985)
- docs: remove mixing ES6 and commomjs in the example by
[@&#8203;thenicolau](https://togithub.com/thenicolau) in
[https://github.com/fastify/fastify/pull/4990](https://togithub.com/fastify/fastify/pull/4990)
- fix: errorHandler callback should utilize TypeProvider by
[@&#8203;muan](https://togithub.com/muan) in
[https://github.com/fastify/fastify/pull/4989](https://togithub.com/fastify/fastify/pull/4989)
- types: add onRoute to ApplicationHookLookup by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4968](https://togithub.com/fastify/fastify/pull/4968)
- chore: make tests pass on ipv4 only machine by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/fastify/fastify/pull/4997](https://togithub.com/fastify/fastify/pull/4997)
- fix: Set `FastifyRequest.id` type as a string by
[@&#8203;samchungy](https://togithub.com/samchungy) in
[https://github.com/fastify/fastify/pull/4992](https://togithub.com/fastify/fastify/pull/4992)

##### New Contributors

- [@&#8203;G0maa](https://togithub.com/G0maa) made their first
contribution in
[https://github.com/fastify/fastify/pull/4948](https://togithub.com/fastify/fastify/pull/4948)
- [@&#8203;thenicolau](https://togithub.com/thenicolau) made their first
contribution in
[https://github.com/fastify/fastify/pull/4990](https://togithub.com/fastify/fastify/pull/4990)
- [@&#8203;muan](https://togithub.com/muan) made their first
contribution in
[https://github.com/fastify/fastify/pull/4989](https://togithub.com/fastify/fastify/pull/4989)
- [@&#8203;samchungy](https://togithub.com/samchungy) made their first
contribution in
[https://github.com/fastify/fastify/pull/4992](https://togithub.com/fastify/fastify/pull/4992)

**Full Changelog**:
fastify/fastify@v4.21.0...v4.22.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 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/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jtoar referenced this pull request in redwoodjs/graphql Sep 2, 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.io/)
([source](https://togithub.com/fastify/fastify)) | [`4.21.0` ->
`4.22.0`](https://renovatebot.com/diffs/npm/fastify/4.21.0/4.22.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fastify/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fastify/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fastify/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fastify/4.21.0/4.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify (fastify)</summary>

###
[`v4.22.0`](https://togithub.com/fastify/fastify/releases/tag/v4.22.0)

[Compare
Source](https://togithub.com/fastify/fastify/compare/v4.21.0...v4.22.0)

##### What's Changed

- make FastifySchemaValidationError.params wider by
[@&#8203;cm-ayf](https://togithub.com/cm-ayf) in
[https://github.com/fastify/fastify/pull/4476](https://togithub.com/fastify/fastify/pull/4476)
- docs(ecosystem): add fastify-hashids by
[@&#8203;andersonjoseph](https://togithub.com/andersonjoseph) in
[https://github.com/fastify/fastify/pull/4934](https://togithub.com/fastify/fastify/pull/4934)
- fix: hasPlugin does not track parent plugins by
[@&#8203;Eomm](https://togithub.com/Eomm) in
[https://github.com/fastify/fastify/pull/4929](https://togithub.com/fastify/fastify/pull/4929)
- docs: early hints plugin is fastify plugin by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4947](https://togithub.com/fastify/fastify/pull/4947)
- chore: add pull request title check by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4951](https://togithub.com/fastify/fastify/pull/4951)
- chore: Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.29.6 to 0.30.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify/pull/4952](https://togithub.com/fastify/fastify/pull/4952)
- ci: improve pr title check by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4953](https://togithub.com/fastify/fastify/pull/4953)
- ci: fix warnings in benchmark workflows by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4954](https://togithub.com/fastify/fastify/pull/4954)
- docs: fix removeAdditional comment by
[@&#8203;G0maa](https://togithub.com/G0maa) in
[https://github.com/fastify/fastify/pull/4948](https://togithub.com/fastify/fastify/pull/4948)
- fix: Try to fix parser benchmark workflow by
[@&#8203;kibertoad](https://togithub.com/kibertoad) in
[https://github.com/fastify/fastify/pull/4956](https://togithub.com/fastify/fastify/pull/4956)
- fix: infer correct hook handler by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4945](https://togithub.com/fastify/fastify/pull/4945)
- fix: do not double send the response if the request is destroyed but
not aborted by [@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/fastify/fastify/pull/4963](https://togithub.com/fastify/fastify/pull/4963)
- chore: Bump
[@&#8203;sinclair/typebox](https://togithub.com/sinclair/typebox) from
0.30.4 to 0.31.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify/pull/4973](https://togithub.com/fastify/fastify/pull/4973)
- fix: bodyLimit must be applied on fully decoded body by
[@&#8203;sergburn](https://togithub.com/sergburn) in
[https://github.com/fastify/fastify/pull/4969](https://togithub.com/fastify/fastify/pull/4969)
- chore: updates
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
and
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
by [@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4977](https://togithub.com/fastify/fastify/pull/4977)
- chore: use group dependencies in dependabot by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4979](https://togithub.com/fastify/fastify/pull/4979)
- chore: fix ci bench by [@&#8203;Eomm](https://togithub.com/Eomm) in
[https://github.com/fastify/fastify/pull/4983](https://togithub.com/fastify/fastify/pull/4983)
- fix: require.cache is undefined breaks SEA by
[@&#8203;climba03003](https://togithub.com/climba03003) in
[https://github.com/fastify/fastify/pull/4982](https://togithub.com/fastify/fastify/pull/4982)
- ci: remove sync next wf by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4985](https://togithub.com/fastify/fastify/pull/4985)
- docs: remove mixing ES6 and commomjs in the example by
[@&#8203;thenicolau](https://togithub.com/thenicolau) in
[https://github.com/fastify/fastify/pull/4990](https://togithub.com/fastify/fastify/pull/4990)
- fix: errorHandler callback should utilize TypeProvider by
[@&#8203;muan](https://togithub.com/muan) in
[https://github.com/fastify/fastify/pull/4989](https://togithub.com/fastify/fastify/pull/4989)
- types: add onRoute to ApplicationHookLookup by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify/pull/4968](https://togithub.com/fastify/fastify/pull/4968)
- chore: make tests pass on ipv4 only machine by
[@&#8203;mcollina](https://togithub.com/mcollina) in
[https://github.com/fastify/fastify/pull/4997](https://togithub.com/fastify/fastify/pull/4997)
- fix: Set `FastifyRequest.id` type as a string by
[@&#8203;samchungy](https://togithub.com/samchungy) in
[https://github.com/fastify/fastify/pull/4992](https://togithub.com/fastify/fastify/pull/4992)

##### New Contributors

- [@&#8203;G0maa](https://togithub.com/G0maa) made their first
contribution in
[https://github.com/fastify/fastify/pull/4948](https://togithub.com/fastify/fastify/pull/4948)
- [@&#8203;thenicolau](https://togithub.com/thenicolau) made their first
contribution in
[https://github.com/fastify/fastify/pull/4990](https://togithub.com/fastify/fastify/pull/4990)
- [@&#8203;muan](https://togithub.com/muan) made their first
contribution in
[https://github.com/fastify/fastify/pull/4989](https://togithub.com/fastify/fastify/pull/4989)
- [@&#8203;samchungy](https://togithub.com/samchungy) made their first
contribution in
[https://github.com/fastify/fastify/pull/4992](https://togithub.com/fastify/fastify/pull/4992)

**Full Changelog**:
fastify/fastify@v4.21.0...v4.22.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 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/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Issue or PR that should land as semver patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hasPlugin does not check outer scopes

5 participants