Hertz Release v0.10.0
Projects:
The Hertz v0.10.0 release adds two features and some fixes.
- Integrate SSE functionality. Refer to SSE for usage.
- Added http.Handler adaptor, extending Hertz using the official net/http ecosystem. Refer to Adaptor for usage.
Feature
- [#1327] feat(adaptor): new HertzHandler for http.Handler
- [#1349] feat(sse): SetLastEventID
- [#1343] feat(sse): reader supports cancel stream
- [#1341] feat(server): detect request race
- [#1339] feat(sse): add LastEventID helpers
- [#1335] feat(protocol): new sse pkg
- [#1322] feat: std transport sense client connection close
Fix
- [#1340] fix: only use netpoll & sonic on amd64/arm64 linux/darwin
- [#1333] fix(protocol): unexpected set resp.bodyStream
- [#1329] fix(client): stream body for sse instead of timeout
- [#1332] fix(server): Shutdown checks ExitWaitTimeout
- [#1316] fix: prioritize custom validator
Tests
- [#1336] test(protocol): fix hardcoded listen addr