Skip to content

Releases: valyala/fasthttp

v1.57.0

28 Oct 17:56
803c25e
Compare
Choose a tag to compare

What's Changed

  • Add a note to clarify header.Set behavior on cookies by @sigmundxia in #1864
  • chore(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.10 by @dependabot in #1872
  • chore(deps): bump securego/gosec from 2.21.3 to 2.21.4 by @dependabot in #1874
  • feat (request): expose req timeout by @aarcex3 in #1878
  • chore(deps): bump golang.org/x/crypto from 0.27.0 to 0.28.0 by @dependabot in #1881
  • chore(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 by @dependabot in #1880
  • improve ishex and unhex by hex2intTable by @ksw2000 in #1883
  • chore(deps): bump github.com/andybalholm/brotli from 1.1.0 to 1.1.1 by @dependabot in #1884
  • chore(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11 by @dependabot in #1886
  • chore: Upgrade golangci-lint to 1.61.0 by @alexandear in #1887
  • feat(fasthttpproxy): add dual-stack connection support to enable IPv6 proxies for HTTP and SOCKS5 dialers by @lavish440 in #1885
  • fix RequestCtx is canceled (#1879) by @ksw2000 in #1890

New Contributors

Full Changelog: v1.56.0...v1.57.0

v1.56.0

24 Sep 13:44
e2bb2e0
Compare
Choose a tag to compare

What's Changed

  • fix: add timeout to proxy connection reading and writing by @Sniper91 in #1791
  • Validate header values by @erikdubbelboer in #1796
  • chore(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in #1800
  • chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 by @dependabot in #1802
  • chore(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 by @dependabot in #1801
  • Optimize struct field order to reduce memory usage by @ksw2000 in #1809
  • Fix possible race condition on request ctx done #1662 by @byte0o in #1806
  • Fix header parser (#1808) by @ksw2000 in #1810
  • Replace custom AppendUint with strconv.AppendUint by @gaby in #1813
  • Use Named Fields and Align Structures to Reduce Memory Usage by @gaby in #1814
  • chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 by @dependabot in #1820
  • chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 by @dependabot in #1821
  • chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 by @dependabot in #1823
  • StreamRequestBody shouldn't read more data than actual need. by @newacorn in #1819
  • Reduce the size of ResponseHeader and RequestHeader by @ksw2000 in #1826
  • A response without a body can't have trailers by @erikdubbelboer in #1825
  • TestHostClientMaxConnWaitTimeoutError test case sometimes fails by @newacorn in #1832
  • Fix the MaxConns semaphore issue in HostClient. by @newacorn in #1831
  • Add a dedicated cache container for the zstd compression algorithm by @newacorn in #1828
  • We cannot avoid continuing to call SetReadDeadline and similar methods after the connection is closed. by @newacorn in #1835
  • Remove support for go 1.19 and 1.20, and add support for 1.23 by @erikdubbelboer in #1837
  • Merge the various proxy dialer implementations from the fasthttpproxy into a single struct. by @newacorn in #1829
  • Make RetryIfFunc handle request errors by @ksw2000 in #1818
  • Using atomic instead of mutex and delete scratch slice by @NikoMalik in #1833
  • Fix Different request paths share the same fs cache is some cases. by @newacorn in #1843
  • Make the tests complete earlier. by @newacorn in #1848
  • Fix potential data race reports when the -race flag is enabled. by @newacorn in #1847
  • Fix issues with tests interfering with each other in certain situations. by @newacorn in #1842
  • When StreamRequestBody is set to true, we cannot safely release br by @newacorn in #1844
  • Revert Pull 1233 fix: The client write operation did not immediately return upon encountering an RST packet. by @newacorn in #1849
  • RetryIf might need more information and greater control over the execution flow. by @newacorn in #1850
  • Sorry about forgetting to remove a redundant field and clarify the comments. by @newacorn in #1851
  • chore(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0 by @dependabot in #1858
  • chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 by @dependabot in #1857
  • chore(deps): bump securego/gosec from 2.20.0 to 2.21.1 by @dependabot in #1855
  • chore(deps): bump securego/gosec from 2.21.1 to 2.21.2 by @dependabot in #1861
  • Revert "Using atomic instead of mutex and delete scratch slice" by @newacorn in #1846
  • Fix improper memory reuse in NewFastHTTPHandler by @sigmundxia in #1860
  • Improve the performance of ConnState.String() by @ksw2000 in #1871
  • chore(deps): bump securego/gosec from 2.21.2 to 2.21.3 by @dependabot in #1870
  • Reduce the size of the Cookie by 32 bytes. by @ksw2000 in #1866
  • fix: type assertion to perIPTLSConn instead of erroneous perIPConn by @KSpaceer in #1863
  • Improve performance of ParseUfloat by @ksw2000 in #1865

New Contributors

Full Changelog: v1.55.0...v1.56.0

v1.55.0

17 Jun 12:38
b06f4e2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.54.0...v1.55.0

v1.54.0

22 May 16:15
ee34656
Compare
Choose a tag to compare

What's Changed

  • fs: fix GenerateIndexPages when DirFS or embed.FS is used by @efectn in #1778
  • fs: fix openIndexFile when dirPath is empty string by @efectn in #1779

Full Changelog: v1.53.0...1.54.0

v1.53.0

14 May 09:40
8f5b927
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.52.0...v1.53.0

v1.52.0

12 Feb 13:41
bce5766
Compare
Choose a tag to compare

What's Changed

Minor backwards incompatible changes

These changes are only backwards incompatible if you are sending bad requests.

New features

Other

New Contributors

Full Changelog: v1.51.0...v1.52.0

v1.51.0

14 Nov 11:29
8ecfc98
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.50.0...v1.51.0

v1.50.0

14 Sep 12:28
8cc5539
Compare
Choose a tag to compare
  • 8cc5539 Fix various request timeout issues (Erik Dubbelboer)
  • 34e7da1 Allow connection close for custom streams (#1603) (Armin Becher)
  • 8236f8d fasthttpproxy: fix doc examples (Oleksandr Redko)
  • 4ec5c5a docs: fix typos in comments and tests (Oleksandr Redko)
  • 9aa666e Enable gocritic linter; fix lint issues (#1612) (Oleksandr Redko)

v1.49.0

28 Aug 12:43
0e99e64
Compare
Choose a tag to compare
  • 0e99e64 Update golangci-lint and gosec (#1609) (Erik Dubbelboer)
  • 6aea1e0 fix round2_32, split round2 tests because they depend on sizeof int at compile time (#1607) (Duncan Overbruck)
  • 4b0e6c7 Update ErrNoMultipartForm (Erik Dubbelboer)
  • 727021a Update security policy (Erik Dubbelboer)
  • 54fdc7a Abstracts the RoundTripper interface and provides a default implement (#1602) (Tim)
  • e181af1 fasthttpproxy support ipv6 (#1597) (Pluto)
  • 6eb2249 fix:fasthttp server with tlsConfig (#1595) (Zhang Xiaopei)
  • 1c85d43 Fix round2 (Erik Dubbelboer)
  • 064124e Avoid nolint:errcheck in header tests (#1589) (Oleksandr Redko)
  • 0d0bbfe Auto add 'Vary' header after compression (#1585) (AutumnSun)
  • d229959 Remove unnecessary indent blocks (#1586) (Oleksandr Redko)
  • 6b68042 Use timeout in TCPDialer to resolveTCPAddrs (#1582) (un000)

v1.48.0

20 Jun 08:17
ffdf59d
Compare
Choose a tag to compare
  • ffdf59d Enable gofumpt linter; format code gofumpt -w . (#1576) (Oleksandr Redko)
  • b79233f add DisableSpecialHeaders option (#1573) (Anthony Ter-Saakov)
  • f0865d4 fs: fix race condition on global map (#1565) (leonklingele)
  • 829f5b2 Don't run test that times out often in parallel (Erik Dubbelboer)
  • e6ce5f0 Remove invalid documentation (Erik Dubbelboer)
  • 9bc8e48 Request timeout settings for the same domain name are reused (#1558) (byte0o)
  • d2f97fc fix the problem: HostClient maybe delete when pendingClientRequests > 0 (#1562) (Zhengkai Wang)
  • 7ea3b63 add concurrency for client's HostClient map (#1550) (Zhengkai Wang)
  • eaab8ff Refactor by removing unnecessary else block (#1559) (Oleksandr Redko)
  • 1a46e57 update go.sum (#1555) (tyltr)
  • fa72f3c Fix tests (#1552) (Erik Dubbelboer)