Skip to content

Releases: cloudwego/hertz

v0.9.7

09 Apr 03:28
d02d673
Compare
Choose a tag to compare

Fix

[#1321] fix(protocol): header safe for concurrent reading
[#1317] fix(protocol): Peek() returns non-nil if key exists
[#1315] fix(assert): NotNil checks (*T)(nil)
[#1294] fix: compare body.Cap() with maxKeepBodySize instead of body.Len()
[#1295] fix(client): add cleanup for https HostClient map
[#1301] fix(engine): IsRunning returns true when it's ready
[#1299] fix(network/standard): Shutdown checks active conns

Tests

[#1303] test(pkg/protocol): fix unstable AcquireResponse coverage
[#1300] test: use 127.0.0.1:0
[#1296] test(route): faster & better coverage for engine shutdown

Chore

[#1324] chore: fix broken link in readme
[#1320] chore: fix typos
[#1312] ci: deprecate tj-actions
[#1305] ci: ut x64/arm64 with go1.19/go1.20/oldstable/stable
[#1302] chore: updated ROADMAP.md
[#1286] chore(server): fix comment for server SIGTERM handling
[#1284] ci: 3*actions/stale per day & use codecov action

v0.9.6

27 Feb 02:29
a320188
Compare
Choose a tag to compare

Feature:

[#1272] feat: update sonic build constraints

Optimize:

[#1280] optimize(server): exit normally when getting SIGTERM

Fix:

[#1275] fix(hz): thrift filename with dot
[#1262] fix: fix hz gen file permission
[#1264] fix: ClientIP() handles uds instead of returning empty

Tests:

[#1268] test(client): increase timeout for windows
[#1221] test: add test in TestResponseReadBodyStream in the case of ErrBodyTooLarge

Chore:

[#1279] chore: add observability for max conns
[#1277] chore: rm release-check.yml
[#1274] ci: use self-hosted windows for ut
[#1273] chore: update hertz readme description
[#1258] chore: upgrade sonic for fixing bin size issue
[#1254] ci(lint): new linter and new issues only

v0.9.5

06 Jan 09:48
dcda12a
Compare
Choose a tag to compare

Fix:

[#1252] fix: call conn.release method in ext.ReleaseBodystream

Chore:

[#1254] ci(lint): new linter and new issues only
[#1253] chore: update comments for ClientIP function

v0.9.4

16 Dec 08:11
ac920f3
Compare
Choose a tag to compare

Feature

[#1214] feat: response support hijack for upgrade conn

Fix

[#1246] fix(client): use the latest host in Location header when redirect
[#1232] fix(http1): use bytes.EqualFold for header value check

Refactor

[#1234] refactor(validator): use internal tagexpr

Tests:

[#1216] test(app): speed up client & server tests

v0.9.3

06 Sep 06:16
ea445e3
Compare
Choose a tag to compare

Feature

[#1173] feat(http1): add env to disable request context pool
[#1165] feat: add flag to force update hertz_client.go

Fix

[#1181] fix: update ut for assert.NotNil
[#1163] fix(test): modify the comparison to function signatures in TestClientOptions

Chore

[#1171] build: add Go 1.23 to unit tests CI
[#1168] chore: update CI and optimze efficiency
[#1167] build: Upgrade sonic to v0.12.0 to be compatible with Go 1.23
[#1166] build: upgrade gopkg to v0.1.0
[#1158] build: update go mod and CI to support go1.22


Thanks a lot to those community contributors who submit some pull requests for this version:
@lhpqaq @haoxins @snowykami @ElvisWai

v0.9.2

25 Jul 06:05
a83bae1
Compare
Choose a tag to compare

Feature:

[#1141] feat: export ErrMissingFile
[#1111] feat(hz): trim pb gopackage

Optimize:

[#1135] optimize: non-existent file error for binding

Fix:

[#1150] fix: hertz panic when edit ctx.Params on HandleFunc
[#1127] fix(hz): router import error for 'api.service_gen_dir'
[#1147] fix(hz): pb model_dir corner case
[#1144] fix(hz): client cookie
[#1139] fix(hz): sort all pb tags

Tests:

[#1108] test: Increase pkg/common/utils coverage to more than 93%

Chore:

[#1157] chore(hz): release v091
[#1024] chore: update comment about MaxKeepBodySize option

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

cmd/hz/v0.9.1

31 Jul 12:52
a83bae1
Compare
Choose a tag to compare

Feature:

[#1111] feat(hz): trim pb gopackage

Fix:

[#1127] fix(hz): router import error for 'api.service_gen_dir'
[#1147] fix(hz): pb model_dir corner case
[#1144] fix(hz): client cookie
[#1139] fix(hz): sort all pb tags

v0.9.1

03 Jun 07:51
53faa4e
Compare
Choose a tag to compare

Feature

[#1054] feat: support awareness of connection closed(only netpoll network for now)
[#1119] optimize: optimize the error message of the required constraint for binding

v0.9.0

10 May 08:27
8bb1346
Compare
Choose a tag to compare

Feature:

[#1101] feat: add method to exile requestContext
[#1056] feat: add more default type for binding
[#1057] feat: add SetHandlers when fast fail for no valid host and invalid rPath

Optimize:

[#1037] optimize: filter shortConnErr in tracer

Fix:

[#1102] fix: resp set trailer will panic

Chore:

[#1075] chore: update readme images and documentation

cmd/hz/v0.9.0

10 May 08:48
8bb1346
Compare
Choose a tag to compare

Optimize:

[#921] optimize(hz): sort route strictly which preventing sorting inconsistencies

Refactor:

[#1064] refactor(hz): client query enum