Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fastify/fastify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.11.2
Choose a base ref
...
head repository: fastify/fastify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.11.3
Choose a head ref
  • 11 commits
  • 17 files changed
  • 12 contributors

Commits on Aug 3, 2026

  1. fix: clear trailer state when removing all trailers (#6845)

    * fix: clear trailer state when removing all trailers
    
    * Update test/reply-trailers.test.js
    
    Signed-off-by: Manuel Spigolon <behemoth89@gmail.com>
    
    ---------
    
    Signed-off-by: Manuel Spigolon <behemoth89@gmail.com>
    Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
    Ram-blip and Eomm authored Aug 3, 2026
    Configuration menu
    Copy the full SHA
    7299a57 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2026

  1. docs: document percent-decoded route params as untrusted input (#6903)

    Clarify that request.params values are percent-decoded (so encoded
    separators like %2f become /) and must not be used as filesystem
    paths, template names, or redirect targets without validation.
    Point authors at @fastify/static for serving files from a root.
    mcollina authored Aug 4, 2026
    Configuration menu
    Copy the full SHA
    f28528f View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2026

  1. docs(errors): document what the default error handler sends (#6894)

    * docs(errors): document what the default error handler sends
    
    The Errors reference described an uncaught error as producing a "generic
    500 Internal Server Error" response. The status text is generic, but the
    body carries `error.message` verbatim, along with `code` when the error
    has one, so messages raised deep in an application reach the client.
    
    Document the response shape, add a security note that unexpected errors
    must be masked explicitly, and show a setErrorHandler that does so while
    passing deliberate 4xx and validation errors through.
    
    Refs #4513
    
    * docs(errors): scope the stack-trace claim to the built-in serializer
    
    Address review feedback on #6894.
    
    "The stack trace is never included" is only true of Fastify's built-in
    error serializer. When a route-level response schema matches the error
    status code, fallbackErrorHandler passes Object.create(error, ...) to
    the schema serializer, so a schema declaring `stack` serializes it:
    
      GET /  (500 response schema with `stack`)
      -> {"statusCode":500,"error":"Internal Server Error",
          "message":"kaboom","stack":"Error: kaboom\n    at ..."}
    
    Scope the sentence accordingly and name `stack` in the existing note
    about response-schema serialization.
    
    Also soften the setErrorHandler example's comment: a status code below
    500 means the error was raised deliberately, not that its message is
    safe to expose.
    basteez authored Aug 5, 2026
    Configuration menu
    Copy the full SHA
    3f6451c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39e87e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2026

  1. Configuration menu
    Copy the full SHA
    9eaef51 View commit details
    Browse the repository at this point in the history
  2. docs(encapsulation): clarify nested plugin scopes (#6893)

    * docs(encapsulation): clarify nested plugin scopes
    
    * docs(encapsulation): improve nested scope wording
    
    * docs(encapsulation): use consistent plugin alias
    
    * Update docs/Reference/Encapsulation.md
    
    Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
    Signed-off-by: Jean Michelet <110341611+jean-michelet@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: Jean Michelet <110341611+jean-michelet@users.noreply.github.com>
    Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
    Co-authored-by: Matteo Pietro Dazzi <matteopietro.dazzi@gmail.com>
    3 people authored Aug 6, 2026
    Configuration menu
    Copy the full SHA
    f5b1400 View commit details
    Browse the repository at this point in the history
  3. chore: Bump fastify/workflows/.github/workflows/lock-threads.yml (#6916)

    Bumps [fastify/workflows/.github/workflows/lock-threads.yml](https://github.com/fastify/workflows) from 6.0.0 to 7.0.0.
    - [Release notes](https://github.com/fastify/workflows/releases)
    - [Commits](fastify/workflows@2073dc8...ef591e2)
    
    ---
    updated-dependencies:
    - dependency-name: fastify/workflows/.github/workflows/lock-threads.yml
      dependency-version: 7.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 6, 2026
    Configuration menu
    Copy the full SHA
    22c419a View commit details
    Browse the repository at this point in the history
  4. chore: Bump fastify/workflows/.github/workflows/nested-quality.yml (#…

    …6917)
    
    Bumps [fastify/workflows/.github/workflows/nested-quality.yml](https://github.com/fastify/workflows) from 6.0.0 to 7.0.0.
    - [Release notes](https://github.com/fastify/workflows/releases)
    - [Commits](fastify/workflows@2073dc8...ef591e2)
    
    ---
    updated-dependencies:
    - dependency-name: fastify/workflows/.github/workflows/nested-quality.yml
      dependency-version: 7.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 6, 2026
    Configuration menu
    Copy the full SHA
    a2f5905 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2026

  1. Configuration menu
    Copy the full SHA
    27938ac View commit details
    Browse the repository at this point in the history
  2. fix: reset lastIndex before testing global/sticky content-type RegExp…

    … parsers (#6846)
    
    A content-type parser registered with a g- or y-flagged RegExp keeps a mutable
    lastIndex between calls, so getParser's .test() could skip part of the next
    content type and match inconsistently. Reset lastIndex before each test.
    zelinewang authored Aug 8, 2026
    Configuration menu
    Copy the full SHA
    16a74e7 View commit details
    Browse the repository at this point in the history
  3. Bumped v5.11.3

    climba03003 committed Aug 8, 2026
    Configuration menu
    Copy the full SHA
    a22cede View commit details
    Browse the repository at this point in the history
Loading
Sponsor
SponsoredKunjungi sekarang
Promo