What's Changed
- docs: clarify headers validation is additive, not a sanitized view by @mcollina in #7029
- perf: read the merged headers once in the trust proxy getters by @hktitof in #7039
- types: restrict route lookup methods by @Yanhaoxi in #6963
- fix(types): custom logger instance not assignable to FastifyInstance by @Tony133 in #6901
- fix(types): restore this context in route shorthand hooks by @lazerg in #6975
- perf: decode string bodies once instead of per chunk by @gurgunday in #7049
- docs(ecosystem): add @validex/fastify to community plugins by @chiptoma in #6660
- perf: avoid resetting the level of request child loggers by @gurgunday in #7056
- fix: omit absent compileSerializationSchema metadata instead of passing null by @Kjubikstronk in #7001
- fix: remove error when HTTP QUERY request has empty body by @LiviaMedeiros in #6929
- docs: list fastify-mariadb as a community plugin by @melroy89 in #7062
- fix: resolve reply.mediaType from raw response headers by @agustin18 in #7054
- perf: use a FIFO cache for parsed content-types by @gurgunday in #7071
- docs: remove plugins that do not support Fastify v5 by @ilteoood in #7075
- fix: copy a set-cookie array passed to reply.header instead of storing it by @fadiroot in #7068
- test: fix "recieve" typo in comment by @ump45nose in #7066
- docs: document fastify.query() shorthand for RFC 10008 by @Puppo in #7004
- docs(security): clarify scope of unvalidated template selection by @mcollina in #7065
- docs(ecosystem): Add fastify-mosquitto-dynsec to community plugins by @LuizTakeda in #7064
- docs: clarify reply.redirect encoding does not prevent open redirects by @mcollina in #6964
- docs: fix external link to node docs by @BenMotz in #7088
- test(validation): cover remaining propertyNames header branches by @mcollina in #7105
New Contributors
- @hktitof made their first contribution in #7039
- @Yanhaoxi made their first contribution in #6963
- @chiptoma made their first contribution in #6660
- @Kjubikstronk made their first contribution in #7001
- @agustin18 made their first contribution in #7054
- @fadiroot made their first contribution in #7068
- @ump45nose made their first contribution in #7066
- @LuizTakeda made their first contribution in #7064
- @BenMotz made their first contribution in #7088
Full Changelog: v6.0.0-alpha.4...v6.0.0-alpha.5