github-actions
released this
09 Nov 05:57
·
8 commits
to refs/heads/master
since this release
Important
As of this release, the minimum required Go version to run gnet
is 1.20!
🚀 Features
- feat: support SO_BINDTODEVICE on Linux (#650)
- feat: support configurable I/O chunk to drain at a time in edge-triggered mode (#646)
🛩 Enhancements
- chore: use errors.Is and errors.Join for customized errors (#640)
- opt: close file descriptor after OnClose() for UDP along with code improvement (#624)
- opt: close file descriptor after OnClose() (#622)
- opt: bring down the
maxBytesTransferET
and defer write in ET mode (#606) - opt: clamp the event-loops in ET mode to avaoid starving (#599)
- opt: reduce duplicate code for I/O reactors (#590)
🐛 Bugfixes
- bug: fix Conn.Next not safe (#648) (#649)
- opt: close file descriptor after OnClose() for UDP along with code improvement (#624)
- opt: close file descriptor after OnClose() (#622)
- bug: fix the wrong default behavior of TCPNoDelay on client side (#619)
- bug: fix Conn.Next and Conn.Peek panic On Unix (#616)
- opt: fix compilation errors on *BSD (#593)
📚 Documentation
- opt: bump up minimum required Go version to 1.20 (#638)
- bug: fix the wrong default behavior of TCPNoDelay on client side (#619)
🗃 Misc
- test: add test for SO_BINDTODEVICE with TCP (#652)
- chore: use errors.Is and errors.Join for customized errors (#640)
- test: increase the test code coverage a little bit (#618)
- chore: upgrade modules and update .gitignore (#613)
Thanks to all these contributors: @panjf2000, @serious-snow and @zhongweikang for making this release possible.
What's Changed
- opt: reduce duplicate code for I/O reactors by @panjf2000 in #590
- opt: fix compilation errors on *BSD by @panjf2000 in #593
- patch: v2.5.1 by @panjf2000 in #594
- opt: clamp the event-loops in ET mode to avaoid starving by @panjf2000 in #599
- patch: v2.5.2 by @panjf2000 in #600
- opt: bring down the
maxBytesTransferET
and defer write in ET mode by @panjf2000 in #606 - patch: v2.5.3 by @panjf2000 in #607
- chore: upgrade modules and update .gitignore by @panjf2000 in #613
- bug: fix Conn.Next and Conn.Peek panic On Unix by @serious-snow in #616
- patch: v2.5.4 by @panjf2000 in #617
- test: increase the test code coverage a little bit by @panjf2000 in #618
- bug: fix the wrong default behavior of TCPNoDelay on client side by @panjf2000 in #619
- patch: v2.5.5 by @panjf2000 in #620
- opt: close file descriptor after OnClose() by @panjf2000 in #622
- patch: v2.5.6 by @panjf2000 in #623
- opt: close file descriptor after OnClose() for UDP along with code improvement by @panjf2000 in #624
- patch: v2.5.7 by @panjf2000 in #625
- opt: bump up minimum required Go version to 1.20 by @panjf2000 in #638
- patch: v2.5.8 by @panjf2000 in #639
- chore: use errors.Is and errors.Join for customized errors by @panjf2000 in #640
- patch: v2.5.9 by @panjf2000 in #641
- feat: support configurable I/O chunk to drain at a time in edge-triggered mode by @panjf2000 in #646
- bug: fix Conn.Next not safe (#648) by @zhongweikang in #649
- feat: support SO_BINDTODEVICE on Linux by @panjf2000 in #650
- test: add test for SO_BINDTODEVICE with TCP by @panjf2000 in #652
- minor: v2.6.0 by @panjf2000 in #651
New Contributors
- @serious-snow made their first contribution in #616
Full Changelog: v2.5.0...v2.6.0