Skip to content

Releases: cloudwego/hertz

v0.10.1

02 Jul 09:26
60fa2e1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.10.1

v0.10.0

15 May 06:23
a636455
Compare
Choose a tag to compare

Feature

[#1327] feat(adaptor): new HertzHandler for http.Handler
[#1349] feat(sse): SetLastEventID
[#1343] feat(sse): reader supports cancel stream
[#1341] feat(server): detect request race
[#1339] feat(sse): add LastEventID helpers
[#1335] feat(protocol): new sse pkg
[#1322] feat: std transport sense client connection close

Fix

[#1340] fix: only use netpoll & sonic on amd64/arm64 linux/darwin
[#1333] fix(protocol): unexpected set resp.bodyStream
[#1329] fix(client): stream body for sse instead of timeout
[#1332] fix(server): Shutdown checks ExitWaitTimeout
[#1316] fix: prioritize custom validator

Tests

[#1336] test(protocol): fix hardcoded listen addr

Chore

[#1353] chore: update netpoll dependency
[#1337] chore(hz): update hz tool v0.9.7
[#1328] ci: disable codecov annotations

cmd/hz/v0.9.7

23 Apr 07:32
bd76044
Compare
Choose a tag to compare

Fix

#1262 fix: fix hz gen file permission
#1275 fix(hz): thrift filename with dot

Chore

#1337 chore(hz): update hz tool v0.9.7

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
chore: release v0.9.2 (#1159)