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: valyala/fasthttp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.64.0
Choose a base ref
...
head repository: valyala/fasthttp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.65.0
Choose a head ref
  • 13 commits
  • 28 files changed
  • 5 contributors

Commits on Jul 19, 2025

  1. Simplify Client.Do function and lock usage (#2038)

    * Optimization:
    1. Simplify the Client.Do function, extract the acquisition of HostClient object into a separate function, and simplify the lock code
    2. Remove redundant code from the AcquireReader and AcquireWriter functions of HostClient
    
    * fix []byte to string 1 allocs/op
    byte0o authored Jul 19, 2025
    Configuration menu
    Copy the full SHA
    7e15e31 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2025

  1. zstdEncoderPool was never used

    releaseZstdWriter() is never called, so zstdEncoderPool is only used for Get(), never Put().
    
    We can just inline the non Get() path of acquireZstdWriter() and remove releaseZstdWriter().
    
    Also fixed some spelling mistakes.
    erikdubbelboer committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    ab3c358 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2025

  1. chore(deps): bump securego/gosec from 2.22.5 to 2.22.7 (#2039)

    Bumps [securego/gosec](https://github.com/securego/gosec) from 2.22.5 to 2.22.7.
    - [Release notes](https://github.com/securego/gosec/releases)
    - [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml)
    - [Commits](securego/gosec@v2.22.5...v2.22.7)
    
    ---
    updated-dependencies:
    - dependency-name: securego/gosec
      dependency-version: 2.22.7
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 22, 2025
    Configuration menu
    Copy the full SHA
    dab0276 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2025

  1. Fix trailer security (#2043)

    Bad trailers weren't checked correctly.
    
    Some bad trailers that could cause security issues weren't being
    disallowed.
    erikdubbelboer authored Jul 27, 2025
    Configuration menu
    Copy the full SHA
    a1c842f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01d533a View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

  1. Configuration menu
    Copy the full SHA
    1d8fe19 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2025

  1. Configuration menu
    Copy the full SHA
    51b4947 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. chore(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 (#2049)

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.42.0 to 0.43.0.
    - [Commits](golang/net@v0.42.0...v0.43.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/net
      dependency-version: 0.43.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    3f641c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2025

  1. Remove BenchmarkCoarseTimeNow

    This is not relevant anymore since CoarseTimeNow is just time.Now.
    erikdubbelboer committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    c20414a View commit details
    Browse the repository at this point in the history
  2. Fix PeekKeys()

    RequestHeader.PeekKeys() and ResponseHeader.PeekKeys() were both
    implemented wrong. The tests were also wrong causing this to never be
    noticed. They both never actually returned all header keys, this has
    been fixed now.
    
    While this is a backwards incompatible change, I'm still going to
    release it. Anyone using these functions would have noticed they
    didn't work as documented and probably would not have continued using
    them.
    
    Fixes #2044
    erikdubbelboer committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    81ebee8 View commit details
    Browse the repository at this point in the history
  3. Optimize fs to have 0 allocations (#2052)

    When using caching fs shouldn't cause any allocations.
    
    Only do []byte to string conversions when really needed. When a file is
    already cached the conversion shouldn't be needed.
    
    Fixes #2045
    erikdubbelboer authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    1828bd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2025

  1. chore(deps): bump actions/checkout from 4 to 5 (#2055)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '5'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 12, 2025
    Configuration menu
    Copy the full SHA
    89010cb View commit details
    Browse the repository at this point in the history
  2. Rewrite header parsing to improve spec compliance (#2030)

    This change updates header parsing to match the behavior of net/http more closely.
    
    **Breaking change**: headers delimited by `\n` (instead of `\r\n`) are no longer supported.
    
    Previously, fasthttp accepted `\n` as a delimiter, which is not spec compliant.
    This made it difficult to correctly parse headers containing both `\n` and `\r\n`.
    erikdubbelboer authored Aug 12, 2025
    Configuration menu
    Copy the full SHA
    f9d84d7 View commit details
    Browse the repository at this point in the history
Loading