Sourced from github.com/valyala/fasthttp's releases.
v1.70.0
What's Changed
- Go 1.26 and golangci-lint updates by
@erikdubbelboerin valyala/fasthttp#2146- Add WithLimit methods for uncompression by
@erikdubbelboerin valyala/fasthttp#2147- Honor Root for fs.FS and normalize fs-style roots by
@erikdubbelboerin valyala/fasthttp#2145- Sanitize header values in all setter paths to prevent CRLF injection by
@erikdubbelboerin valyala/fasthttp#2162- Add ServeFileLiteral, ServeFSLiteral and SendFileLiteral by
@erikdubbelboerin valyala/fasthttp#2163- Prevent chunk extension request smuggling by
@erikdubbelboerin valyala/fasthttp#2165- Validate request URI format during header parsing to reject malformed requests by
@erikdubbelboerin valyala/fasthttp#2168- HTTP1/1 requires exactly one Host header by
@erikdubbelboerin valyala/fasthttp#2164- Strict HTTP version validation and simplified first line parsing by
@erikdubbelboerin valyala/fasthttp#2167- Only normalize pre-colon whitespace for HTTP headers by
@erikdubbelboerin valyala/fasthttp#2172- fs: reject '..' path segments in rewritten paths by
@erikdubbelboerin valyala/fasthttp#2173- fasthttpproxy: reject CRLF in HTTP proxy CONNECT target by
@erikdubbelboerin valyala/fasthttp#2174- fasthttpproxy: scope proxy auth cache to GetDialFunc by
@erikdubbelboerin valyala/fasthttp#2144- feat: enhance performance by
@ReneWerner87in valyala/fasthttp#2135- export ErrConnectionClosed by
@pjebsin valyala/fasthttp#2152- fix: detect master process death in prefork children by
@meruidenin valyala/fasthttp#2158- return prev values by
@pjebsin valyala/fasthttp#2123- docs: added httpgo to related projects by
@MUlt1matein valyala/fasthttp#2169- chore(deps): bump actions/upload-artifact from 6 to 7 by
@dependabot[bot] in valyala/fasthttp#2149- chore(deps): bump github.com/andybalholm/brotli from 1.2.0 to 1.2.1 by
@dependabot[bot] in valyala/fasthttp#2170- chore(deps): bump github.com/klauspost/compress from 1.18.2 to 1.18.3 by
@dependabot[bot] in valyala/fasthttp#2129- chore(deps): bump github.com/klauspost/compress from 1.18.3 to 1.18.4 by
@dependabot[bot] in valyala/fasthttp#2140- chore(deps): bump github.com/klauspost/compress from 1.18.4 to 1.18.5 by
@dependabot[bot] in valyala/fasthttp#2166- chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0 by
@dependabot[bot] in valyala/fasthttp#2139- chore(deps): bump golang.org/x/net from 0.48.0 to 0.49.0 by
@dependabot[bot] in valyala/fasthttp#2128- chore(deps): bump golang.org/x/net from 0.49.0 to 0.50.0 by
@dependabot[bot] in valyala/fasthttp#2138- chore(deps): bump golang.org/x/sys from 0.39.0 to 0.40.0 by
@dependabot[bot] in valyala/fasthttp#2125- chore(deps): bump golang.org/x/sys from 0.40.0 to 0.41.0 by
@dependabot[bot] in valyala/fasthttp#2137- chore(deps): bump securego/gosec from 2.22.11 to 2.23.0 by
@dependabot[bot] in valyala/fasthttp#2142- Update securego/gosec from 2.23.0 to 2.25.0 by
@erikdubbelboerin valyala/fasthttp#2161New Contributors
@MUlt1matemade their first contribution in valyala/fasthttp#2169@meruidenmade their first contribution in valyala/fasthttp#2158Full Changelog: https://github.com/valyala/fasthttp/compare/v1.69.0...v1.70.0
534461a
fasthttpproxy: reject CRLF in HTTP proxy CONNECT target (#2174)267e740
fs: reject '..' path segments in rewritten paths (#2173)a95a1ad
Only normalize pre-colon whitespace for HTTP headers (#2172)ab8c2ac
fix: detect master process death in prefork children (#2158)c4569c5
feat: enhance performance (#2135)beab280
chore(deps): bump github.com/andybalholm/brotli from 1.2.0 to 1.2.1 (#2170)82254a7
Normalize framing header names with pre-colon whitespace6111327
Strict HTTP version validation and simplified first line parsing (#2167)eb38f5f
HTTP1/1 requires exactly one Host header (#2164)7d90713
Validate request URI format during header parsing to reject malformed
request...