# Fastify v6.0.0-alpha.2 - Product: Fastify (https://whatsnew.fyi/product/fastify) - Vendor: Fastify - Date: 2026-08-19 - Version: v6.0.0-alpha.2 - Original notes: https://github.com/fastify/fastify/releases/tag/v6.0.0-alpha.2 - Permalink: https://whatsnew.fyi/product/fastify/releases/v6.0.0-alpha.2 - Labels: Pre-release What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **security** — Fix for GHSA-w2qp-rph6-63g4 - **security** — Fix for GHSA-3m5p-2c4r-xxw2 - **fixed** — Run preClose hook exactly once per declaring instance - **fixed** — Report canonical route url for hidden prefix slash route ##### ⚠️ Security release * Fix for https://github.com/fastify/fastify/security/advisories/GHSA-w2qp-rph6-63g4 * Fix for https://github.com/fastify/fastify/security/advisories/GHSA-3m5p-2c4r-xxw2 ##### What's Changed * test: fix reply.mediaType by @climba03003 in https://github.com/fastify/fastify/pull/6949 * ci: allow backport in pr title by @climba03003 in https://github.com/fastify/fastify/pull/6948 * fix: run preClose hook exactly once per declaring instance by @contactjawad in https://github.com/fastify/fastify/pull/6940 * docs: remove deprecated-API notices ahead of v6 cleanup by @Tony133 in https://github.com/fastify/fastify/pull/6951 * fix: report canonical route url for hidden prefix slash route by @paulkagiri in https://github.com/fastify/fastify/pull/6719 ##### New Contributors * @contactjawad made their first contribution in https://github.com/fastify/fastify/pull/6940 * @paulkagiri made their first contribution in https://github.com/fastify/fastify/pull/6719 **Full Changelog**: https://github.com/fastify/fastify/compare/v6.0.0-alpha.1...v6.0.0-alpha.2