feat(deps)!: upgrade to Fastify 4 - #157
Draft
olafleur-godaddy wants to merge 3 commits into
Draft
Conversation
- 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>
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>
This file contains hidden or 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
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.
Summary
fastify-*dependencies to@fastify/*scoped equivalents (auth,autoload,etag,sensible,swagger)fastify-swaggerinto@fastify/swagger(spec) +@fastify/swagger-ui(UI endpoint)peerDependenciesforfastify(>= 4 < 5) andfastify-plugin(>= 4 < 5)fastifydev dep to^4.0.0; drop unusedfastify-clifastify-versionconstraints from'3.x'to'>=4'addContentTypeParserwildcard callback todone(null, null)(Fastify 4 expects explicit null body)prettyPrintlogger option with pinotransportin test helperfastify.listen(port, host)to object formfastify.listen({ port, host })Test plan
npm installresolves cleanly against the corporate registrynpm test— all 5 test suites pass, 0 failures🤖 Generated with Claude Code