Releases: cloudwego/hertz
v0.1.0
Feature
[#31] feat: close connection after responding to the short-connection request
[#44] feat: add the VisitAllCustomHeader method to the request header, so that the incoming function f only works on custom headers( all headers except cookie, host, content-length, content-type, user-agent and connection )
[#59] feat: support windows develop env
[#70] feat: add code generator hz
[#64] feat: add adaptor for Hertz Request & Response to net/http Request & ResponseWriter
[#45] feat: add ctx.Body() method in RequestContext
Optimize
[#57] optimize: use http.TimeFormat as layout for http date, which can avoid more copying.
[#58] optimize: add remote address to the error log when server processes the error.
[#41] optimize: use CtxErrorf instead of ‘Errorf’ when server panic
Refactor
[#37] refactor: unify the entry of setting request options to prevent options uninitialized from causing panic
[#52] refactor: omit redundant nil check around loop
[#33] refactor: simplify code in AddMissingPort
[#27] refactor: use errors.NewPublic rather than fmt.Errorf
[#34] refactor: remove fshandler and related tests
Style
[#29] style(*): fix typos
Docs
[#60] docs: add icon in README.md and README_cn.md
[#54] Update README.md
Thanks a lot to those community contributors who submit some pull requests for this version:
@li-jin-gou @lgbgbl @baiyutang @zhoulilily @byene0923 @bodhisatan
v0.0.1
feat: initialization
Co-authored-by: @welkeyever
Co-authored-by: @Duslia
Co-authored-by: @FGYFFFF
Co-authored-by: @lin1318
Co-authored-by: @GuangmingLuo