4.25.0
What's Changed
- feat: Improve RouteShorthandOptions['constraints'] type by @Fcmam5 in https://github.com/fastify/fastify/pull/5097
- fix: add @eomm and @jsumners as lead maintainers by @mcollina in https://github.com/fastify/fastify/pull/5115
- fix: reply.send supports Uint8Array payload by @SgtPooki in https://github.com/fastify/fastify/pull/5124
- refactor: migrate deprecation warnings to actual deprecation warnings by @jsumners in https://github.com/fastify/fastify/pull/5126
- docs: added documentation about warnings by @giuliowaitforitdavide in https://github.com/fastify/fastify/pull/5108
- test(logger): restrict temp file permissions by @Fdawgs in https://github.com/fastify/fastify/pull/5128
- refactor(lib/hooks): replace
typeofundefined check by @Fdawgs in https://github.com/fastify/fastify/pull/5127 - chore: replace mention of fastify
.iodomain with.devby @Fdawgs in https://github.com/fastify/fastify/pull/5129 - docs(security): add prose explaining OpenSSF CII Best Practices badge results by @ljharb in https://github.com/fastify/fastify/pull/5111
- chore: Bump actions/setup-node from 3 to 4 by @dependabot in https://github.com/fastify/fastify/pull/5134
- fix(types): add handler property to routeOptions by @MikeJeffers in https://github.com/fastify/fastify/pull/5136
- docs(readme): fix ci badge path by @Fdawgs in https://github.com/fastify/fastify/pull/5138
- docs: Fix small typo in Typescript docs by @john-ko in https://github.com/fastify/fastify/pull/5145
- feat(plugins): mixing async and callback style now returns a warning by @giuliowaitforitdavide in https://github.com/fastify/fastify/pull/5139
- docs: mention about multipart support by @fawazahmed0 in https://github.com/fastify/fastify/pull/5144
- docs: add @fastify/vite to core plugins list by @galvez in https://github.com/fastify/fastify/pull/5153
- docs: add @scalar/fastify-api-reference to community plugins list by @hanspagel in https://github.com/fastify/fastify/pull/5154
- docs: Remove routeOptions reference in Reply.md by @shadahmad7 in https://github.com/fastify/fastify/pull/5156
- docs(ecosystem): add fastify-uws by @tinchoz49 in https://github.com/fastify/fastify/pull/5160
- docs: removed unmaintained fastify-nodemailer from ecosystem by @giovanni-bertoncelli in https://github.com/fastify/fastify/pull/5161
- docs: clarify handling of streams and buffers by @brettwillis in https://github.com/fastify/fastify/pull/5166
- docs(#5142): aligned errors and warnings documentation by @giuliowaitforitdavide in https://github.com/fastify/fastify/pull/5162
- docs(reference/hooks): add information about prehandler by @RjManhas in https://github.com/fastify/fastify/pull/5163
- fix: type FastifyInstance['route'] and RouteShorthandMethod by @MunifTanjim in https://github.com/fastify/fastify/pull/5155
- docs (reference): Fix small typo in Request by @bngarren in https://github.com/fastify/fastify/pull/5186
- chore: gitpodify by @ghostdevv in https://github.com/fastify/fastify/pull/5168
- docs(ecosystem): Add Apitally by @itssimon in https://github.com/fastify/fastify/pull/5175
- fix: Update reply.context deprecation warning by @avaly in https://github.com/fastify/fastify/pull/5179
- docs(ecosystem): adds @blastorg/fastify/aws-dynamodb-cache to community plugins list by @fredrikj31 in https://github.com/fastify/fastify/pull/5158
- docs: update preHandler hook example by @tarunrajput in https://github.com/fastify/fastify/pull/5189
- types: added http header types to reply by @skwee357 in https://github.com/fastify/fastify/pull/5046
- test: add tests for TOC of errors.md by @Uzlopak in https://github.com/fastify/fastify/pull/5194
- ci: pin node 18 to 18.18.2 by @Uzlopak in https://github.com/fastify/fastify/pull/5197
- docs(ecosystem): add http-wizard by @flodlc in https://github.com/fastify/fastify/pull/5132
- chore: Bump actions/github-script from 6 to 7 by @dependabot in https://github.com/fastify/fastify/pull/5183
- ci: fix broken ci by skipping tests if node v > 18.19.0 by @Uzlopak in https://github.com/fastify/fastify/pull/5195
- fix: allow async hooks in
RouteShorthandOptionswithout breakingrequestandreplytypes by @bienzaaron in https://github.com/fastify/fastify/pull/5147 - fix(#5180): close secondary bindings after primary is closed by @metcoder95 in https://github.com/fastify/fastify/pull/5201
- chore: update process-warning by @Eomm in https://github.com/fastify/fastify/pull/5206
- types: nullish error types in callback function's parameter for
afterandreadymethod by @nokazn in https://github.com/fastify/fastify/pull/5191 - fix(#5049): Remove duplicated calls to onReady by @metcoder95 in https://github.com/fastify/fastify/pull/5051
- chore: remove unused type assertion by @UndefinedBehaviour in https://github.com/fastify/fastify/pull/5184
Full Changelog: https://github.com/fastify/fastify/compare/v4.24.3...v4.25.0