Hertz Release v0.10.0

The Hertz v0.10.0 release adds two features and some fixes.

  1. Integrate SSE functionality. Refer to SSE for usage.
  2. Added http.Handler adaptor, extending Hertz using the official net/http ecosystem. Refer to Adaptor for usage.

Feature

  1. [#1327] feat(adaptor): new HertzHandler for http.Handler
  2. [#1349] feat(sse): SetLastEventID
  3. [#1343] feat(sse): reader supports cancel stream
  4. [#1341] feat(server): detect request race
  5. [#1339] feat(sse): add LastEventID helpers
  6. [#1335] feat(protocol): new sse pkg
  7. [#1322] feat: std transport sense client connection close

Fix

  1. [#1340] fix: only use netpoll & sonic on amd64/arm64 linux/darwin
  2. [#1333] fix(protocol): unexpected set resp.bodyStream
  3. [#1329] fix(client): stream body for sse instead of timeout
  4. [#1332] fix(server): Shutdown checks ExitWaitTimeout
  5. [#1316] fix: prioritize custom validator

Tests

  1. [#1336] test(protocol): fix hardcoded listen addr

Chore

  1. [#1353] chore: update netpoll dependency
  2. [#1337] chore(hz): update hz tool v0.9.7
  3. [#1328] ci: disable codecov annotations