Skip to content

Releases: cloudwego/hertz

cmd/hz/v0.6.2

10 Apr 11:46
b398b27
Compare
Choose a tag to compare

Feat

[#660] feat(hz): optimize the naming style for middleware
[#697] feat(hz): support container type as request/response type for thrift

Ci

[#645] ci(hz): add hz test workflows

Fix

[#695] fix(hz): hz update failed for modifying of '.hz' on windows

v0.6.1

27 Mar 09:58
1ad2f01
Compare
Choose a tag to compare

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

28 Feb 13:00
54668ee
Compare
Choose a tag to compare

Fix

[#643] fix(hz): wrong package name under windows

v0.6.0

27 Feb 06:59
86954fa
Compare
Choose a tag to compare

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

27 Feb 07:38
86954fa
Compare
Choose a tag to compare

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

02 Feb 07:07
949f5bf
Compare
Choose a tag to compare

Feat

[#569] feat: add PeekAll function

Fix

[#581] fix: fix bug when using stdjson tag for amd64 architecture
[#568] fix: uri normalize in windows

Test

[#536] test: fix netpoll ut in windows


Thanks a lot to those community contributors who submit some pull requests for this version:
@L2ncE

cmd/hz/v0.5.2

02 Feb 08:03
949f5bf
Compare
Choose a tag to compare

Feat

[#574] feat(hz): add mod flag for update command

v0.5.1

18 Jan 08:53
e3dfeba
Compare
Choose a tag to compare

Fix

[#525] fix: completion event was lost when an error occurred
[#535] fix: error constant undefined on Windows
[#542] fix: CopyTo doesn't copy bodyraw deeply

Ci

[#508] ci: add windows ci


Thanks a lot to those community contributors who submit some pull requests for this version:
@CAMB-dev

cmd/hz/v0.5.1

18 Jan 09:03
e3dfeba
Compare
Choose a tag to compare

Fix

[#533] fix(hz): Namespace conflict between master and include IDL
[#552] fix(hz): Package name inconsistency by 'handler_by_method' flag

Optimize

[#548] optimize(hz): Hz client generating template

Refactor

[#484] refactor(hz): Refactor the implementation of hz customized templates

v0.5.0

09 Jan 10:50
95d427b
Compare
Choose a tag to compare

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