v1.68.0
- Fix named return bugs by @erikdubbelboer in https://github.com/valyala/fasthttp/commit/1b8c5593da699309522dee00ad1d6c913482a0f3
- chore(deps): bump golang.org/x/sys from 0.36.0 to 0.37.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2087
- chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2086
- chore(deps): bump golang.org/x/net from 0.45.0 to 0.46.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2085
- chore(deps): bump securego/gosec from 2.22.9 to 2.22.10 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2088
- chore(deps): bump github.com/klauspost/compress from 1.18.0 to 1.18.1 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2089
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.67.0...v1.68.0
v1.67.0
Special thanks to the following security researchers who reported the issues fixed in this release:
- @zer0yu (Enze Wang)
- @P3ngu1nW (Jingcheng Yang)
- @9vvert (Zehui Miao)
- Add DNS cache management methods for TCPDialer by @aabishkaryal in https://github.com/valyala/fasthttp/pull/2072
- Fix username:password@ validation in urls by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2080
- Validate IPv6 addresses in urls by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2079
- Validate schemes by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2078
- Reject invalid hosts with multiple port delimiters by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2077
- Reject backslash absolute URIs and cache parse errors by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2075
- Reject bad ipv6 hostnames by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2076
- Reimplement flushing support for fasthttpadaptor by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2081
- chore(deps): bump securego/gosec from 2.22.8 to 2.22.9 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2073
- @aabishkaryal made their first contribution in https://github.com/valyala/fasthttp/pull/2072
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.66.0...v1.67.0
v1.66.0
- chore(deps): bump securego/gosec from 2.22.7 to 2.22.8 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2056
- docs: add fasthttp-auth to related projects section by @FAUST-BENCHOU in https://github.com/valyala/fasthttp/pull/2057
- server: refactor to use atomic type by @cuiweixie in https://github.com/valyala/fasthttp/pull/2058
- chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2060
- Fix extra whitespace parsing in HTTP request lines to prevent cache poisoning by @Copilot in https://github.com/valyala/fasthttp/pull/2061
- Drop Go 1.23 support by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2065
- Add flushing support to fasthttpadaptor by @grivera64 in https://github.com/valyala/fasthttp/pull/2054
- @FAUST-BENCHOU made their first contribution in https://github.com/valyala/fasthttp/pull/2057
- @cuiweixie made their first contribution in https://github.com/valyala/fasthttp/pull/2058
- @Copilot made their first contribution in https://github.com/valyala/fasthttp/pull/2061 😄
- @grivera64 made their first contribution in https://github.com/valyala/fasthttp/pull/2054
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.65.0...v1.66.0
v1.65.0
In this version of fasthttp, headers delimited by just \n (instead of \r\n) are no longer supported!
- Rewrite header parsing to improve spec compliance by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2030
- Simplify Client.Do function and lock usage by @byte0o in https://github.com/valyala/fasthttp/pull/2038
- chore(deps): bump securego/gosec from 2.22.5 to 2.22.7 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2039
- Fix trailer security by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2043
- Fix RequestHeader.ContentLength() if disableSpecialHeader is true by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2042
- Add reuseport support for Solaris by @jwntree in https://github.com/valyala/fasthttp/pull/2046
- test: replace atomic operations with atomic types by @alexandear in https://github.com/valyala/fasthttp/pull/2048
- chore(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2049
- Optimize fs to have 0 allocations by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2052
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2055
- @jwntree made their first contribution in https://github.com/valyala/fasthttp/pull/2046
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.64.0...v1.65.0
v1.64.0
In the next version of fasthttp headers delimited by just \n (instead of \r\n) are no longer supported!
- Add warning for deprecated newline separator by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2031
- refact: eliminate duplication in Request/Response via struct embedding by @ksw2000 in https://github.com/valyala/fasthttp/pull/2027
- chore(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2034
- chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2036
- chore(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 by @dependabot[bot] in https://github.com/valyala/fasthttp/pull/2035
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.63.0...v1.64.0
v1.63.0
- chore(deps): bump securego/gosec from 2.22.3 to 2.22.4 by @dependabot in https://github.com/valyala/fasthttp/pull/2007
- fix: removed resolved issue link from readme file, issue no longer ex… by @viralkansarav in https://github.com/valyala/fasthttp/pull/2008
- feat: Add iter.Seq2 iterator by @ksw2000 in https://github.com/valyala/fasthttp/pull/2011
- Removed old information from main documentation as these functions does not exist by @viralkansarav in https://github.com/valyala/fasthttp/pull/2012
- Proposal : To add Unsafe Zero-Allocation Conversions Sections in main documentation by @viralkansarav in https://github.com/valyala/fasthttp/pull/2013
- chore(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 by @dependabot in https://github.com/valyala/fasthttp/pull/2018
- Drop support before go1.20 by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2022
- chore(deps): bump securego/gosec from 2.22.4 to 2.22.5 by @dependabot in https://github.com/valyala/fasthttp/pull/2025
- Implement io.StringWriter on some more types by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/2023
- chore(deps): bump github.com/andybalholm/brotli from 1.1.1 to 1.2.0 by @dependabot in https://github.com/valyala/fasthttp/pull/2029
- @viralkansarav made their first contribution in https://github.com/valyala/fasthttp/pull/2008
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.62.0...v1.63.0
v1.62.0
- Add support for streaming identity-encoded or unknown length response bodies by @osxtest in https://github.com/valyala/fasthttp/pull/2000
- feat: move user values to Request structure by @mdenushev in https://github.com/valyala/fasthttp/pull/1999
- chore(deps): bump golangci/golangci-lint-action from 7 to 8 by @dependabot in https://github.com/valyala/fasthttp/pull/2001
- chore(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0 by @dependabot in https://github.com/valyala/fasthttp/pull/2002
- chore(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 by @dependabot in https://github.com/valyala/fasthttp/pull/2003
- modify
acceptConnforRIOby @wamshawn in https://github.com/valyala/fasthttp/pull/2005
- @osxtest made their first contribution in https://github.com/valyala/fasthttp/pull/2000
- @wamshawn made their first contribution in https://github.com/valyala/fasthttp/pull/2005
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.61.0...v1.62.0
v1.61.0
- chore(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1989
- chore(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1988
- chore(deps): bump securego/gosec from 2.22.2 to 2.22.3 by @dependabot in https://github.com/valyala/fasthttp/pull/1990
- chore(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1991
- Fix round robin addresses in dual stack dialing by @raviqqe in https://github.com/valyala/fasthttp/pull/1995
- Fix panic when perIPConn.Close is called multiple times by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1993
- early hint functionality by @pjebs in https://github.com/valyala/fasthttp/pull/1996
- @raviqqe made their first contribution in https://github.com/valyala/fasthttp/pull/1995
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.60.0...v1.61.0
v1.60.0
- perf: split delAllArgs into delAllArgs and delAllArgsStable by @ksw2000 in https://github.com/valyala/fasthttp/pull/1945
- fix: accept invalid headers with a space by @ksw2000 in https://github.com/valyala/fasthttp/pull/1953
- Drop support for Go 1.21, add support for 1.24 by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1959
- chore(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1958
- add related project for opentelemetry-go-auto-instrumentation by @123liuziming in https://github.com/valyala/fasthttp/pull/1962
- Fix normalizeHeaderValue by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1963
- chore(deps): bump golang.org/x/net from 0.35.0 to 0.36.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1968
- chore(deps): bump securego/gosec from 2.22.1 to 2.22.2 by @dependabot in https://github.com/valyala/fasthttp/pull/1972
- chore(deps): bump golang.org/x/net from 0.36.0 to 0.37.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1971
- Update golangci-lint to v2 by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1980
- chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1983
- Remove idleConns mutex for every request by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1986
- @123liuziming made their first contribution in https://github.com/valyala/fasthttp/pull/1962
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.59.0...v1.60.0
v1.59.0
- fix: Method-preserving doRequestFollowRedirects by @prepaser in https://github.com/valyala/fasthttp/pull/1920
- fix: "identity" has been deprecated #1909 by @ksw2000 in https://github.com/valyala/fasthttp/pull/1919
- Fix parsing of bad urls with # by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1915
- docs: improve README formatting and section headers by @alexandear in https://github.com/valyala/fasthttp/pull/1925
- perf: use buf in Args instead of bytebufferpool by @ksw2000 in https://github.com/valyala/fasthttp/pull/1931
- client: Client {} supports custom Transport by @zhangyongding in https://github.com/valyala/fasthttp/pull/1935
- Migrate valyala/tcplisten to this repo #1926 by @ksw2000 in https://github.com/valyala/fasthttp/pull/1929
- client: Modify some interfaces to be exportable by @zhangyongding in https://github.com/valyala/fasthttp/pull/1936
- Try to fix tests with dial timeouts by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1940
- client: add interfaces for reading clientConn by @zhangyongding in https://github.com/valyala/fasthttp/pull/1941
- Refactor trailer Field for Improved Memory Efficiency and Performance by @ksw2000 in https://github.com/valyala/fasthttp/pull/1928
- fix: compression priority by @inetol in https://github.com/valyala/fasthttp/pull/1950
- add dummy support for js,wasm by @pjebs in https://github.com/valyala/fasthttp/pull/1955
- chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.31.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1918
- chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1910
- chore(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1927
- chore(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1932
- chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1934
- chore(deps): bump securego/gosec from 2.21.4 to 2.22.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1937
- chore(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1933
- chore(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1947
- chore(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1951
- chore(deps): bump golang.org/x/net from 0.34.0 to 0.35.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1952
- chore(deps): bump securego/gosec from 2.22.0 to 2.22.1 by @dependabot in https://github.com/valyala/fasthttp/pull/1956
- @prepaser made their first contribution in https://github.com/valyala/fasthttp/pull/1920
- @inetol made their first contribution in https://github.com/valyala/fasthttp/pull/1950
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.58.0...v1.59.0