note: la synthèse et les notes de version sont en anglais
ok: mise à jour sûre
0 breaking change5 points clés
Adds a log controller layer and fixes request.port and reply.send content type detection, plus mostly docs updates.
points clés
- note[1]: Adds a log controller layer for logging.release-notes:9
- note[2]:
request.portis now derived fromrequest.host.release-notes:15 - note[3]:
reply.senduses ContentType to detectjsonandcharset.release-notes:10 - note[4]: Reduces per-request overhead in the request lifecycle.release-notes:14
- note[5]: Clears
socket._metaonreply.hijack()whenonTimeoutis registered.release-notes:5
release-notesgithub.com/fastify/fastify · 26 lignes
- ## What's Changed
- * docs(type-providers): clarify as const usage by @smith558 in https://github.com/fastify/fastify/pull/6772
- * docs: fix broken and redirected links by @Eomm in https://github.com/fastify/fastify/pull/6817
- * docs: remove marko from @fastify/view engines (support dropped) by @EduardF1 in https://github.com/fastify/fastify/pull/6821
- * fix: clear socket._meta on reply.hijack() when onTimeout is registered by @nerkoux in https://github.com/fastify/fastify/pull/6810
- * docs: fix duplicate routeOptions entries in Request.md example by @thePranav-kpk in https://github.com/fastify/fastify/pull/6824
- * chore: Bump @types/node from 25.9.4 to 26.0.1 in the dev-dependencies-typescript group by @dependabot[bot] in https://github.com/fastify/fastify/pull/6829
- * docs(ecosystem): add @stitchapi/fastify to Community plugins by @rejifald in https://github.com/fastify/fastify/pull/6820
- * feat: introduce log controller layer by @Eomm in https://github.com/fastify/fastify/pull/6580
- * fix: use ContentType to detect `json` and `charset` in reply.send by @climba03003 in https://github.com/fastify/fastify/pull/6830
- * docs: fix incorrect defaults and code examples in Server.md by @Adit-Jain-srm in https://github.com/fastify/fastify/pull/6805
- * docs: fix incorrect hook count in Hooks.md by @thePranav-kpk in https://github.com/fastify/fastify/pull/6825
- * chore: Bump fast-json-stringify from 6.4.0 to 7.0.0 in the dependencies group across 1 directory by @dependabot[bot] in https://github.com/fastify/fastify/pull/6800
- * perf: reduce per-request overhead in the request lifecycle by @mcollina in https://github.com/fastify/fastify/pull/6831
- * fix: derive request.port from request.host by @mcollina in https://github.com/fastify/fastify/pull/6680
- * docs: update Logging.md with per-route log level info by @asppsa in https://github.com/fastify/fastify/pull/6627
- * docs(type-providers): update import for article consistency by @smith558 in https://github.com/fastify/fastify/pull/6771
- ## New Contributors
- * @EduardF1 made their first contribution in https://github.com/fastify/fastify/pull/6821
- * @thePranav-kpk made their first contribution in https://github.com/fastify/fastify/pull/6824
- * @rejifald made their first contribution in https://github.com/fastify/fastify/pull/6820
- * @Adit-Jain-srm made their first contribution in https://github.com/fastify/fastify/pull/6805
- * @asppsa made their first contribution in https://github.com/fastify/fastify/pull/6627
- **Full Changelog**: https://github.com/fastify/fastify/compare/v5.9.0...v5.10.0