Posts in 2024

  • Release v0.8.0

    Friday, January 12, 2024 in Hertz

    Hertz v0.8.0 版本中,除了常规迭代优化之外,我们还带来了一个重要 feature。 Partitioned cookies 在 Hertz v0.8.0 版本中,我们支持了 partitioned cookies 特性。 https://github.com/cloudwego/hertz/pull/1041 背景 三方 Cookie 为 Web 提供了跨站点跟踪的能力,它的存在为 Web 用户的隐私和安全都带来了巨大威胁。Chrome 从 2024 年第一季度开始对 1% 的用 …

    更多

Posts in 2023

  • Release v0.7.0

    Tuesday, September 26, 2023 in Hertz

    Hertz v0.7.0 版本中,除了常规迭代优化之外,我们还带来了一个重要 feature。 参数绑定重构 在 Hertz v0.7.0 版本中,我们重构了 hertz 参数绑定 https://github.com/cloudwego/hertz/pull/541 重构说明 在 Hertz v0.7.0 版本中,我们重构了参数绑定能力,将参数绑定能力收敛到框架本身,以更好地支持用户的需求。本次重构主要有以下特点: 功能一致: Binder:重构后在 Hertz …

    更多

  • Release v0.6.0

    Thursday, March 02, 2023 in Hertz

    Hertz 0.6.0 版本中,除了常规迭代优化之外,我们还带来了多个重要 feature。 支持 HTTP Trailer 在 Hertz v0.6.0 版本中,我们支持了 HTTP Trailer 的编码和解析。 https://github.com/cloudwego/hertz-examples/tree/main/trailer 写 Trailer // server 端 func handler(c context.Context, ctx …

    更多

  • Release v0.5.0

    Thursday, January 12, 2023 in Hertz

    Hertz 0.5.0 版本中,除了常规迭代优化之外,我们还带来了多个重要 feature。 网络层和协议层支持基于流的接口 https://github.com/cloudwego/hertz/pull/467 在 Hertz v0.5.0 版本中,我们进一步加强了 Hertz 传输层 & 协议层可扩展能力,支持无缝对接基于流的传输层协议 QUIC,以及在此之上构建的 HTTP3 协议。 此外,我们在此基础上还增加和完善了 “ALPN”(应用层协议协 …

    更多

Posts in 2022

  • Release v0.4.0

    Friday, October 28, 2022 in Hertz

    Feature [#289] feat: render 支持 IndentedJSON。 [#304] feat: recovery 中间件支持用户自定义错误输出格式。 [#278] feat: 增加编译 tag 控制实际使用的 json 库。 [#239] feat: 给 client 扩展复杂重试能力。 [#265] feat: 在标准网络库扩展上添加 CloseNoResetBuffer 方法。 [#258] feat: 支持 errors 的格式化。 Optimize [#295] …

    更多

  • Release v0.3.2

    Tuesday, September 20, 2022 in Hertz

    Feature [#198] feat: 添加获取 Hertz client dialer 名称的方法。 [#251] feat: Hertz server 启动日志添加网络库的名称。 Refactor [#238] refactor: 重构 Hertz client 初始化 HostClient 和 TLSHostClient 的逻辑。 Optimize [#226] optimize: 使用 “warning” 日志提示非法的 http 状态码。 Fix …

    更多

  • Release v0.3.0

    Monday, August 29, 2022 in Hertz

    Feature [#182] feat: 添加服务注册 & 服务发现 & 负载均衡。 [#6] feat: 添加 zookeeper 服务注册与发现的扩展。 [#7] feat: 添加 nacos 服务注册与发现的扩展。 [#8] feat: 添加 Consul 服务注册与发现的扩展。 [#9] feat: 添加 polaris 服务注册与发现的扩展。 [#14] feat: 添加 etcd 服务注册与发现的扩展。 [#15] feat: 添加 servicecomb 服务注册 …

    更多

  • Release v0.2.0

    Friday, July 22, 2022 in Hertz

    Feature [#124] feat: 增加参数控制是否使用 hijackConnPool。 [#116] feat: update 也可使用模板更新 handler 及 middleware。 [#130] feat: 如果 Cookie.Value 中存在非法字符,则打印告警日志。 [#143] feat: 增加一个接口支持自定义信号捕捉逻辑,以便根据场景调节优雅退出需要应对的信号类型。 [#114] feat: 标准网络库 Read …

    更多

  • Release v0.1.0

    Monday, June 20, 2022 in Hertz

    Feature [#70] feat: 增加 hz 脚手架。 [#64] feat: 增加 Hertz Request & Response 到 net/http Request & ResponseWriter 的适配器。 [#45] feat: 添加 ctx.Body() 方法。 [#44] feat: 在 request header 上添加 VisitAllCustomHeader 方法,使得传入的函数 f 只作用在用户自定义的 header 上(除了 cookie, …

    更多