Releases: cloudwego/hertz
v0.9.7
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
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
v0.9.4
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
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
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
v0.9.1
v0.9.0
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