v1.52.0
erikdubbelboer
released this
12 Feb 13:41
·
100 commits
to master
since this release
What's Changed
Minor backwards incompatible changes
These changes are only backwards incompatible if you are sending bad requests.
- Prevent request smuggling by @erikdubbelboer in #1719
- Follow RFCs 7230 and 9112 for HTTP versions by @erikdubbelboer in #1710
New features
- Implement
GetRejectedConnectionsCount
function by @mopeneko in #1704 - add DisableDNSResolution for TCPDialer. by @xuxiao415 in #1702
- feat: add function to parse HTTP header parameters by @nickajacks1 in #1685
- add support for custom dial function with timeouts by @avivcarmis in #1669
Other
- Enable wastedassign, whitespace linters; fix issues by @alexandear in #1665
- chore: Use 'any' instead of 'interface{}' by @alexandear in #1666
- bug: Flush the write buffer before putting it to the pool by @Jille in #1672
- copyZeroAlloc: Try WriteTo and ReadFrom before acquiring a buffer by @Jille in #1673
- writeBodyFixedSize: Only do an early flush if the reader is an *os.File by @Jille in #1674
- chore: Set max line length to 130 characters by @alexandear in #1676
- docs: Add missing dots at the end of comments by @alexandear in #1677
- chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #1678
- chore: move cookie fuzz test to go 1.18 fuzzing by @nickajacks1 in #1686
- Change empty string checks to be more idiomatic by @alexandear in #1684
- test(expvarhandler): fix failure when using -count to run more than once by @nickajacks1 in #1688
- test: migrate remaining fuzzit tests to go 1.18 fuzzing by @nickajacks1 in #1687
- Add CIFuzz by @AdamKorcz in #1443
- refactor: move manually created tchar table to bytesconv_table_gen by @nickajacks1 in #1689
- Bump supported Go version in readme by @erikdubbelboer in #1690
- update build tag by @tylitianrui in #1695
- Updates to GitHub Actions, add go1.22 to Test Matrix by @gaby in #1707
- chore(deps): bump golangci/golangci-lint-action from 3 to 4 by @dependabot in #1711
- Bump dependencies by @erikdubbelboer in #1718
New Contributors
- @avivcarmis made their first contribution in #1669
- @Jille made their first contribution in #1672
- @nickajacks1 made their first contribution in #1685
- @AdamKorcz made their first contribution in #1443
- @mopeneko made their first contribution in #1704
- @gaby made their first contribution in #1707
Full Changelog: v1.51.0...v1.52.0