# HHY v1.4.3 — Web Runtime 正式发行

> 记录整理日期：2026-09-09。
> 状态：正式发行：2026-09-03；统一交付 v1.4.0–v1.4.3 能力。
> 本地发行 tag：`v1.4.3`；对应提交：`bee8a5415feab45b933dfe65a318b88b391559b8`。

## 交付内容

- 包含 Embedding、请求隔离、HTTP/1.1 Router、Middleware、静态文件、上传、CORS、cookie、gzip 和开发热重载。
- 增加有背压的 chunked 响应、SSE、大文件流式发送与 byte Range。
- Prefork 多 Worker、重启监督、结构化 access/error 日志和 Prometheus 请求/错误/字节/耗时指标。

## 兼容性与限制

TLS/HTTP2 由代理承担；WebSocket 不在 v1.4 范围。131.439 秒、7,608.1 req/s 仅是指定验收宿主的短请求负载，不能外推其他平台或替代 24 小时长稳。

## 验收与证据口径

原说明记录 100,000 次嵌入调用、16 并发的 1,000,000 次 loopback HTTP 请求且零失败，以及 Web 端到端、Release/Debug sanitizer、双引擎、文档、网站构建和既有性能门禁。未提供 24 小时稳定性完成证据。

## 参考记录

- [Web Runtime](WEB_RUNTIME.md)
- 历史设计与交付记录（本地历史归档，未随源码分发）
- [v1.4.3 Release](https://github.com/hh696-wq/hhy-vm/releases/tag/v1.4.3)

返回[发行记录索引](https://github.com/hh696-wq/hhy-vm/releases)。

## English release notes

HHY 1.4.3 delivers the complete v1.4 Web Runtime release train in one formal
release. The intermediate v1.4.0, v1.4.1, and v1.4.2 boundaries remain
documented capability milestones; users install v1.4.3.

### Highlights

- Persistent Runtime embedding through opaque `HhyApplication` and
  `HhyContext` handles, a JSON ABI boundary, one-time source/Bytecode loading,
  reusable `hhy_call`, AST/Bytecode selection, and installed `libhhy.a` headers.
- `hhy serve` HTTP/1.1 applications with exact and `:param` routing, decoded
  Query values, headers, cookies, bounded text/binary bodies, stable errors,
  redirects, and JSON/text/HTML/custom responses.
- Middleware, secure static roots, ETag/Last-Modified, multipart uploads with
  request-scoped cleanup, CORS preflight, signed cookies, request IDs, trusted
  proxy opt-in, gzip, health/readiness, and `--dev` reload.
- Backpressured chunked responses, SSE, large static-file streaming, byte
  Ranges, prefork workers with restart supervision, structured access/error
  logs, and Prometheus counters for requests, errors, bytes, and handler time.

TLS and HTTP/2 remain the responsibility of Caddy, Nginx, or a managed load
balancer. WebSocket is intentionally outside the v1.4 capability boundary.

### Verification evidence

- 100,000 repeated calls through one loaded embedding context, with AST and
  Bytecode differential output checks.
- 1,000,000 loopback HTTP requests at 16 concurrent clients: 0 failures in
  131.439 seconds (7,608.1 requests/second on the release-validation host).
- End-to-end HTTP coverage for Router, Query, middleware, 404/405/413/500,
  post-error recovery, static cache validators, upload cleanup, CORS, signed
  cookies, gzip, streaming, SSE, Range, metrics, health, multi-worker serving,
  and development reload.
- Release and Debug/sanitizer Runtime suites, AST/Bytecode suites, documentation
  checks, website lint/typecheck/build, and established performance gates.

See [Web Runtime](WEB_RUNTIME.md) for the API and deployment boundary.
