4 Commits
Author SHA1 Message Date
chiyi 94fded09d5 v1.3.6: stream reliability — server idle heartbeat + TS native reconnect
- handle.go: stream writer emits a blank-line heartbeat every 25s while
  the business sends nothing; invisible to NDJSON parsers but resets
  NAT/CDN idle timers (mobile CGNAT ~60s, Bunny ~120s)
- template_ts.go: split stream() into retry loop + streamOnce()
  - dto accepts a factory re-evaluated per attempt (cursor resume)
  - retry only on transport failures (status 4/5); opt-in via
    StreamOptions.retry, exponential backoff with jitter, abortable
  - idle watchdog (idleTimeoutMs) built on AbortSignal.timeout; no
    setTimeout in generated code (simplicity gate)
- docs: README.zh.md version table for v1.3.6
2026-09-11 18:56:48 +08:00
chiyi a4993502bc v1.3.5: add CORS whitelist support (f.CORS) covering /cell and all custom routes 2026-09-09 11:31:22 +08:00
chiyi cfecbff8f8 docs: update README for v2 (Chinese intro and guide refresh) 2026-09-03 15:32:13 +08:00
chiyi 9019798382 v1.3.3: add SetBodyLimit for large custom-route request bodies (multipart uploads) 2026-08-21 22:29:41 +08:00