Releases: cloudwego/hertz
cmd/hz/v0.6.2
v0.6.1
Feat
[#685] feat(client): support last middleware for client
[#689] feat: ignore broken pipe and connection reset error on go net
Chore
[#687] optimize: DialTimeout provided by netpoll will return TLS err directly
Test
[#669] test: add test for pkg common test
[#672] test: add more test for pkg network
[#671] test: TestGcBodyStream will sleep 100ms to wait gc finish
Refactor
[#681] refactor(client): remove goroutine synchronization in DoDeadline
Thanks a lot to those community contributors who submit some pull requests for this version:
@a631807682
cmd/hz/v0.6.1
Fix
[#643] fix(hz): wrong package name under windows
v0.6.0
Feat
[#610] feat(http1): support flush chunk in handler
[#474] feat: support HTTP trailer
Fix
[#625] fix: connection pool leak
[#633] fix: panic when add 'trailer' to header
[#622] fix: switch 'Trailer' to pointer to avoid cycle dependencies
[#585] fix: skip rest chunked body correctly
[#401] fix: ClientIP handling is unsafe
Chore
[#627] build: update sonic & golang version in ci
[#600] chore: use 'ioutil' to avoid compilation failures
Docs
[#595] docs(README): add cache, etag, casbin extensions description
Thanks a lot to those community contributors who submit some pull requests for this version:
@byene0923 @BaiZe1998 @L2ncE
cmd/hz/v0.6.0
Feat
[#635] feat(hz): search go mod to the upper level
[#619] feat(hz): use third model as "import" for handlers
[#599] feat(hz): add compile script for "new" command
Fix
[#638] fix(hz): bad template separator for windows environment
[#616] fix(hz): panic when user delete go.mod under non-gopath
[#586] fix(hz): wrong struct name in handler file for pb
Optimize:
[#605] optimize(hz): optimize the use experience for hz client
[#611] optimize(hz): package name for generated file
[#530] optimize(hz): refuse all new operation if there already exists a project
v0.5.2
cmd/hz/v0.5.2
Feat
[#574] feat(hz): add mod flag for update command
v0.5.1
cmd/hz/v0.5.1
v0.5.0
Feat
[#467] feat: add support for stream-based interface in network and protocol layers
[#456] feat: add ResponseHeader.contentEncoding
[#380] feat: improve observability of hostclient
[#454] feat: add connection hook: OnAccept
and OnConnect
Fix
[#515] fix: client cannot parse stream body correctly when transfer-encoding is 'identity'
[#501] fix: TestOnPrePare race
Optimize
[#447] optimize: add WithDialFunc for client
[#473] optimize: support SetCustomFormValueFunc to define custom ctx.FormValue
[#412] optimize(http1): try parse response even if get writing errors
[#433] optimize: add requestOptions for global client APIs
Test
[#457] test: add tests for pkg/app/server/registry
[#404] test: add more tests for pkg/app/context
Ci
[#508] ci: update go version and refactor code
[#490] ci: automatically skip when there is a label except invalid issue
[#478] ci: add Question
issue template and improve ci about invalid question.
[#437] ci: add a labeler to limit the specification of the issue template
Docs
[#464] docs(README): add HTTP2 extension and optimize extensions sort order
Thanks a lot to those community contributors who submit some pull requests for this version:
@wang-tsh @L2ncE @springrain @mamil @chenghonour @gityh2021