Skip to content

Releases: cloudwego/hertz

v0.2.0

22 Jul 03:19
3ac19d5
Compare
Choose a tag to compare

Feature

[#124] feat: add option to remove hijackConnPool
[#116] feat: update for tempalte
[#130] feat: add a warning log for invalid character in Cookie.Value
[#143] feat: custom signal to gracefull shutdown
[#114] feat: release buffer in standard network method
[#112] feat: parse post args in bodystream
[#105] feat: client abstracts hostclient layer
[#92] feat: hz support windows
[#102] feat: client removes default retry logic

Optimize

[#111] optimize: pre-allocate slice when calling bytesconv.AppendHTTPDate
[#128] optimize: remove useless judgement
[#108] optimize: avoid parsing regular expression repeatly

Chore

[#125] Update pr-check.yml

Fix

[#104] fix: use defer to guarantee that mutex will be unlocked
[#96] fix: ci exec /bin/license-eye: exec format error

Style

[#103] style: fixed the typo “ungzipped” to “gunzipped”
[#90] style: use const var and removed duplicate type conversions

Refactor

[#94] refactor: use appendCookiePart to simpify code

Docs

[#97] docs: use comma to separate && remove extra space


Thanks a lot to those community contributors who submit some pull requests for this version:
@zhoulilily @lgbgbl @likzn @ai-zixun @kezhenxu94 @L2ncE @FlameMida

cmd/hz/v0.2.0

22 Jul 07:12
a77c10c
Compare
Choose a tag to compare

[#116] feat: update for tempalte

v0.1.0

20 Jun 13:05
bacbb8f
Compare
Choose a tag to compare

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

31 May 12:01
Compare
Choose a tag to compare

feat: initialization
Co-authored-by: @welkeyever
Co-authored-by: @Duslia
Co-authored-by: @FGYFFFF
Co-authored-by: @lin1318
Co-authored-by: @GuangmingLuo