graphql-hooks
graphql-hooks copied to clipboard
chore(deps): Bump fastify from 3.29.0 to 4.2.0
Bumps fastify from 3.29.0 to 4.2.0.
Release notes
Sourced from fastify's releases.
v4.2.0
What's Changed
- docs: add
@​h4ad/serverless-adapter
to ecosystem by@​H4ad
in fastify/fastify#4056- feat: make sure all validation errors have a statusCode set by
@​mcollina
in fastify/fastify#4061- docs(ecosystem): add fastify-ssr-vite to community plugins by
@​nineohnine
in fastify/fastify#4058- Add internal link check action by
@​luisorbaiceta
in fastify/fastify#4069- hotfix: fix ValidationResult interface (#4045) by
@​alex-laz
in fastify/fastify#4070- fix: use ajv for schema ref resolving by
@​ivan-tymoshenko
in fastify/fastify#4049- docs(ecosystem): adding
@eropple/fastify-openapi3
to community plugins by@​eropple
in fastify/fastify#4067- Remove comments from links check action by
@​mcollina
in fastify/fastify#4080- Add lightweight cache plugin to fastify ecosystem by
@​denbon05
in fastify/fastify#4079- Add plugin lcache by alphabetic order by
@​denbon05
in fastify/fastify#4082- fix: onRoute hook should not be called when it registered after route by
@​climba03003
in fastify/fastify#4052- Adds integration CI step by
@​marcelfranca
in fastify/fastify#4075- Use a union-aware keyof operator by
@​A5rocks
in fastify/fastify#4076- docs: Update TypeScript docs regarding typebox #4073 by
@​dancastillo
in fastify/fastify#4077- chore(guide): fulfil error handler and trailers by
@​Eomm
in fastify/fastify#4087- Make type provider-provided return types be enforced by
@​A5rocks
in fastify/fastify#4089- build(deps): bump find-my-way from 6.4.0 to 7.0.0 by
@​dependabot
in fastify/fastify#4090- docs: explain common usage for injection into request instances by
@​Mazuh
in fastify/fastify#4084New Contributors
@​H4ad
made their first contribution in fastify/fastify#4056@​nineohnine
made their first contribution in fastify/fastify#4058@​alex-laz
made their first contribution in fastify/fastify#4070@​eropple
made their first contribution in fastify/fastify#4067@​denbon05
made their first contribution in fastify/fastify#4079@​marcelfranca
made their first contribution in fastify/fastify#4075@​A5rocks
made their first contribution in fastify/fastify#4076@​dancastillo
made their first contribution in fastify/fastify#4077@​Mazuh
made their first contribution in fastify/fastify#4084Full Changelog: https://github.com/fastify/fastify/compare/v4.1.0...v4.2.0
v4.1.0
What's Changed
- test: fix request terminated should not crash fastify test by
@​ivan-tymoshenko
in fastify/fastify#4024- Fix port settings for deprecation warnings. by
@​phasetr
in fastify/fastify#4042- fix: propagate generics from FastifyRegister to plugin type by
@​stefee
in fastify/fastify#4034- chore(.eslintrc): limit eslint config to project by
@​Fdawgs
in fastify/fastify#4038- feat: make reply.redirect() and reply.callNotFound() return reply by
@​mcollina
in fastify/fastify#4037- fix: fix schema controller types by
@​richiemccoll
in fastify/fastify#4022- Docs(Reference): remove "Type" from imported name by
@​MomenNano
in fastify/fastify#4043- docs(guides): add two v4 breaking changes by
@​tlhunter
in fastify/fastify#4040- docs(guides): breaking change exposeHeadRoutes by
@​Eomm
in fastify/fastify#4047- test: fix flaky test by
@​climba03003
in fastify/fastify#4051- refactor: use object as internal route args by
@​climba03003
in fastify/fastify#4054- build(deps-dev): bump
@​types/node
from 17.0.45 to 18.0.0 by@​dependabot
in fastify/fastify#4055New Contributors
... (truncated)
Commits
977dec0
Updated error serialier9ae9fc0
docs: common usage for injecting data into request instances (#4084)61d686e
build(deps): bump find-my-way from 6.4.0 to 7.0.0 (#4090)825a8a4
Update error serializer5856a46
Make type provider-provided return types be enforced (#4089)6a4b34c
chore(guide): fulfil error handler and trailers (#4087)6405c2d
docs: Update TypeScript docs regarding typebox #4073 (#4077)4d1fb5f
Use a union-aware keyof operator (#4076)7e6dca0
Adds integration CI step (#4075)5bf0f4f
fix: onRoute hook should not be called when it registered after route (#4052)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot 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)
current state of this...
I updated a lot of direct dependencies and fixed function signatures.
but running:
npm run start:mercurius --prefix ./examples/persisted-queries/server
is raising this error:
(node:93672) UnhandledPromiseRejectionWarning: FastifyError: fastify-plugin: fastify-cors - expected '3.x' fastify version, '4.2.0' is installed
none of these are direct dependencies (they're only listed on -locks as required indirect dependencies):
regarding fastify-cors
, it was replaced by @fastify/cors
and it's using v8 everywhere here, already supports fastify v4
but regarding fastify-plugin
, its v3 don't support fastify v4 and is listed as a requirement for:
- @fastify/cors - merged update, but no release version
- @fastify/static - not even PR yet
- @fastify/websocket - merged update, but no release version
- mercurius - failing PR
considering that fastify-plugin v4 is already using fastify v4, then I'm just working to fix these last indirect dependencies above.
@mcollina, can you give me a suggestion of course of action here? What I'm doing is update these nested dependencies and wait for their release but it seems a lot unnecessary work. I'm not sure if skip-override
can help here (not very sure how to use it, to be more specific).
A newer version of fastify exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
@Mazuh any news on this?