Releases: akazwz/hostc
Releases · akazwz/hostc
hostc v1.3.0
This release is a major internal rebuild of hostc's tunnel stack.
hostc is now split into clearer layers:
@hostc/protocol: the v4 protocol source of truth@hostc/client: the embeddable client SDK@hostc/server: the Cloudflare Worker + Durable Object tunnel serverhostcCLI: a thin product layer built on top of the SDK
Highlights
- Added the new v4 tunnel protocol with binary frames, streams, data channels, flow-control credits, and explicit close codes.
- Added the new
@hostc/clientSDK used by the CLI and future desktop, daemon, and custom integrations. - Reworked the CLI around the SDK for a cleaner protocol boundary.
- Improved CLI startup, success, reconnect, and error output.
- Added explicit protocol upgrade guidance when the CLI and server protocol are incompatible.
- Improved WebSocket and Vite/HMR reliability through stream/data-channel fixes.
- Added local/staging E2E, stress, load, benchmark, and refactor audit workflows.
- Split the web app into a separate Workers Static Assets deployment.
- Added branded public tunnel error pages for browser users.
Breaking / compatibility
This release intentionally removes fallback compatibility with older tunnel protocols.
If you see a protocol compatibility error, upgrade the CLI:
npm install -g hostc@latestFor one-off usage, prefer:
npx hostc@latest 3000Validation
This release was validated with:
- unit tests for protocol, client SDK, server, and CLI
- local E2E
- local stress test
- staging deploy + preflight
- staging E2E
- remote load/stress test
- protocol benchmark
- refactor audit
hostc CLI v1.2.6
修复
- 修复 CLI 在 Node.js 18/20 环境下因使用全局 `WebSocket` 而启动即崩溃的问题,现统一通过 `ws` 包创建隧道连接
v1.2.5
CLI 1.2.5
Recommended update for all CLI users.
Install:
npm install -g hostc@latest
Highlights since v1.2.2:
- Added an interactive update reminder when a newer CLI version is available.
- Improved tunnel protocol compatibility between newer and older CLI/Worker versions.
- Added sanitized fatal error reporting for production CLI failures.
- Opt out with HOSTC_DISABLE_ERROR_REPORTING=1 or DO_NOT_TRACK=1.
- Changed the default local service host from 127.0.0.1 to localhost.
- Use --local-host 127.0.0.1 if you want the previous behavior.