Skip to content

Releases

v6.0.0-alpha.6

v6.0.0-alpha.6 Pre-release
Pre-release

Choose a tag to compare

@mcollina mcollina released this 02 Nov 10:50
8c0f699

⚠️ Security fixes

What's Changed

  • feat: add routerOptions.compile to use find-my-way compiler mode by @mcollina in #7096
  • chore: sync VERSION and check it before publishing by @mcollina in #7107
  • fix(reply): send stream trailers after the stream actually finishes by @kyungseopk1m in #6953
  • test(server): assert the server is listening instead of a literal by @zkasuran in #6962
  • fix: clamp error statusCode between 400 and 599 with 500 fallback by @swaraj792725 in #7089
  • fix: contain synchronous throws from custom content type parsers by @YOGESH256 in #7118
  • docs(ecosystem): add @guardcore/fastify by @rennf93 in #7128
  • perf!: create default validation errors without a stack trace by @gurgunday in #7057
  • docs(serverless): clarify per-route observability on serverless platf… by @yassertawfik4 in #6802
  • feat(hooks): support disposables in onClose hook (#5669) by @Prakhar007Pathak in #7121
  • fix(types): allow socket path strings in addresses by @Ram-blip in #6842
  • fix(types): add logSerializers to RouteShorthandOptions by @RubenPari in #7143
  • test: do not assert a HEAD response body through inject() by @lprnmns in #7148
  • docs(reply): reorganize Reply reference by properties and methods by @Eomm in #7146
  • docs(request): reorganize Request reference by properties and methods by @Eomm in #7147
  • perf(request): hoist port regex to module level by @TalhaHunter101 in #7110
  • fix(decorators): evaluate instance getters once in getDecorator by @shoaibulhaque in #7124
  • docs: clarify that maxParamLength does not prevent ReDoS by @RubenPari in #7140
  • docs: fix syntax errors in code examples by @mayur-dhavan in #7159
  • docs: join core team by @Tony133 in #7175
  • feat!: fail closed when a response content type is not declared in the content map by @mcollina in #7132

New Contributors

Full Changelog: v6.0.0-alpha.5...v6.0.0-alpha.6

v5.12.8

Choose a tag to compare

@mcollina mcollina released this 02 Nov 10:51
0c7413a

⚠️ Security Release

What's Changed

  • [Backport 5.x] fix(types): restore this context in route shorthand hooks by @github-actions[bot] in #7055
  • [Backport 5.x] fix(reply): send stream trailers after the stream actually finishes by @github-actions[bot] in #7111
  • [Backport 5.x] test(server): assert the server is listening instead of a literal by @github-actions[bot] in #7112
  • [Backport 5.x] feat: add routerOptions.compile to use find-my-way compiler mode by @Tony133 in #7116
  • [Backport 5.x] fix: clamp error statusCode between 400 and 599 with 500 fallback by @github-actions[bot] in #7122
  • [Backport 5.x] fix: contain synchronous throws from custom content type parsers by @github-actions[bot] in #7123
  • [Backport 5.x] docs(serverless): clarify per-route observability on serverless platf… by @github-actions[bot] in #7134
  • [Backport 5.x] feat(hooks): support disposables in onClose hook (#5669) by @github-actions[bot] in #7136
  • [Backport 5.x] fix(types): allow socket path strings in addresses by @github-actions[bot] in #7138
  • [Backport 5.x] fix(types): add logSerializers to RouteShorthandOptions by @github-actions[bot] in #7145
  • [Backport 5.x] test: do not assert a HEAD response body through inject() by @github-actions[bot] in #7149
  • [Backport 5.x] docs(request): reorganize Request reference by properties and methods by @Tony133 in #7150
  • [Backport 5.x] docs(reply): reorganize Reply reference by properties and methods by @Tony133 in #7151
  • [Backport 5.x] docs: remove plugins that do not support Fastify v5 by @Tony133 in #7152
  • [Backport 5.x] perf(request): hoist port regex to module level by @github-actions[bot] in #7153
  • [Backport 5.x] fix(decorators): evaluate instance getters once in getDecorator by @github-actions[bot] in #7154
  • [Backport 5.x] docs: clarify that maxParamLength does not prevent ReDoS by @github-actions[bot] in #7158
  • [Backport 5.x] docs: fix syntax errors in code examples by @github-actions[bot] in #7160

Full Changelog: v5.12.7...v5.12.8

v6.0.0-alpha.5

v6.0.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@Eomm Eomm released this 16 Oct 13:31
bd25219

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

Full Changelog: v6.0.0-alpha.4...v6.0.0-alpha.5

v5.12.7

Choose a tag to compare

@mcollina mcollina released this 13 Oct 08:06
9f40003

Full Changelog: v5.12.6...v5.12.7

v5.12.6

Choose a tag to compare

@mcollina mcollina released this 13 Oct 06:52
16469b9

⚠️ Security Release

What's Changed

  • [Backport 5.x] types: restrict route lookup methods by @github-actions[bot] in #7048
  • [Backport 5.x] perf: decode string bodies once instead of per chunk by @github-actions[bot] in #7053
  • [Backport 5.x] perf: avoid resetting the level of request child loggers by @github-actions[bot] in #7058
  • [Backport 5.x] fix: resolve reply.mediaType from raw response headers by @github-actions[bot] in #7067
  • [Backport 5.x] perf: use a FIFO cache for parsed content-types by @github-actions[bot] in #7072
  • [Backport 5.x] fix(validation): lowercase header names in propertyNames enum/const by @mcollina in #7104
  • [Backport 5.x] fix: copy a set-cookie array passed to reply.header instead of storing it by @github-actions[bot] in #7087
  • [Backport 5.x] fix: remove error when HTTP QUERY request has empty body by @github-actions[bot] in #7060
  • [Backport 5.x] docs: document fastify.query() shorthand for RFC 10008 by @github-actions[bot] in #7094

Full Changelog: v5.12.5...v5.12.6

v6.0.0-alpha.4

v6.0.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@mcollina mcollina released this 17 Sep 07:53
630acd0

⚠️ Security release

What's Changed

New Contributors

Full Changelog: v6.0.0-alpha.3...v6.0.0-alpha.4

v5.12.5

Choose a tag to compare

@mcollina mcollina released this 16 Sep 10:19
ba235fd

⚠️ Security release

What's Changed

  • [Backport 5.x] perf: reduce content-type parser overhead by @github-actions[bot] in #7019
  • [Backport 5.x] perf: avoid redundant request-part reads during validation by @github-actions[bot] in #7020

Full Changelog: v5.12.4...v5.12.5

v5.12.4

Choose a tag to compare

@climba03003 climba03003 released this 11 Sep 09:19
1690e35

Fixed the fastify.js version mismatch.

Full Changelog: v5.12.2...v5.12.4

v6.0.0-alpha.3

v6.0.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@mcollina mcollina released this 04 Sep 09:21

⚠️ Security release

What's Changed

  • docs: fix broken links in Style-Guide.md by @Snehal-Pradhan in #6966
  • test(types): assert LogController.requestCompleted accepts an undefined error by @suzunn in #6875
  • fix: callNotFound should run not-found preHandler regardless of registration order by @mcollina in #6965
  • docs(ecosystem): remove deprecated http-wizard and rename fastify-better-sqlite3 by @ilteoood in #6972
  • chore: npm ignore remaining agent files by @lazerg in #6996
  • docs(contenttypeparser): new strict content-type validation by @bcomnes in #6925

New Contributors

Full Changelog: v6.0.0-alpha.2...v6.0.0-alpha.3

v5.12.2

Choose a tag to compare

@mcollina mcollina released this 04 Sep 08:20
942a2be

⚠️ Security release

What's Changed

  • [Backport 5.x] fix: callNotFound should run not-found preHandler regardless of registration order by @github-actions[bot] in #6973
  • [Backport 5.x] chore: npm ignore remaining agent files by @github-actions[bot] in #7003

Full Changelog: v5.12.1...v5.12.2