Skip to content

Releases: cloudwego/hertz

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

cmd/hz/v0.5.0

10 Jan 02:53
d469803
Compare
Choose a tag to compare

Feat

[#511] feat(hz): Hz supports specifying client generate dir for client command
[#471] feat(hz): Hz supports generating client code based IDL

Fix:

[#516] fix(hz): Fix hz client code error problem.
[#510] fix(hz): Fix the problem that the client's input is a basic type and support multi-service
[#497] fix(hz): Fix the problem for validating ".hz" failed when specify the "out_dir" flag

v0.4.2

07 Dec 05:33
e78e75b
Compare
Choose a tag to compare

Feat

[#440] feat: add resp.SetBodyStreamNoReset method
[#418] feat: Adapt the logic after moving HTTP2 logic to hertz-contrib

Optimize

[#441] optimize: ignore sighup signal if binary is run by nohup
[#430] optimize(http1): return 413 status code if request body is too large

Fix

[#421] fix: doRequestFollowRedirectsBuffer cannot get body in HTTP2 scenario. The affected interfaces include Client.Get, Client.Post, etc.

Test

[#372] test: add more tests for pkg/common/utils
[#419] test: add tests for pkg/app/client/retry/retry.go
[#417] test: add tests for pkg/app/client/discovery/discovery.go
[#405] test: add more tests for pkg/app/middlewares/server/basic_auth

Docs

[#438] docs(README): add csrf and loadbalance description


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