Skip to content

feat(deps)!: upgrade to Fastify 4 - #157

Draft
olafleur-godaddy wants to merge 3 commits into
godaddy:mainfrom
olafleur-godaddy:feat/fastify-4
Draft

feat(deps)!: upgrade to Fastify 4#157
olafleur-godaddy wants to merge 3 commits into
godaddy:mainfrom
olafleur-godaddy:feat/fastify-4

Conversation

@olafleur-godaddy

Copy link
Copy Markdown
Member

Summary

  • Rename all fastify-* dependencies to @fastify/* scoped equivalents (auth, autoload, etag, sensible, swagger)
  • Split fastify-swagger into @fastify/swagger (spec) + @fastify/swagger-ui (UI endpoint)
  • Update peerDependencies for fastify (>= 4 < 5) and fastify-plugin (>= 4 < 5)
  • Update fastify dev dep to ^4.0.0; drop unused fastify-cli
  • Update all plugin fastify-version constraints from '3.x' to '>=4'
  • Fix addContentTypeParser wildcard callback to done(null, null) (Fastify 4 expects explicit null body)
  • Replace removed prettyPrint logger option with pino transport in test helper
  • Switch fastify.listen(port, host) to object form fastify.listen({ port, host })

Test plan

  • npm install resolves cleanly against the corporate registry
  • npm test — all 5 test suites pass, 0 failures

🤖 Generated with Claude Code

- Rename fastify-auth/autoload/etag/sensible/swagger to @fastify/* scoped packages
- Split fastify-swagger into @fastify/swagger + @fastify/swagger-ui
- Update fastify peer dep to >= 4 < 5, fastify-plugin peer dep to >= 4 < 5
- Update fastify dev dep to ^4.0.0, remove unused fastify-cli
- Update all plugin fastify-version constraints from '3.x' to '>=4'
- Fix addContentTypeParser callback signature (done(null, null))
- Replace deprecated prettyPrint logger option with pino transport
- Use object form for fastify.listen({ port, host })

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@olafleur-godaddy olafleur-godaddy changed the title feat(deps): upgrade to Fastify 4 feat(deps)!: upgrade to Fastify 4 Jul 16, 2026
olafleur-godaddy and others added 2 commits August 23, 2026 23:55
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…s conflict

Resolved conflict in package.json by keeping AWS SDK v3 peer deps (from main)
with Fastify 4 version range (from feat/fastify-4). Regenerated lockfile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant