Ts-rest——一个拥有 3300 星标的开源项目陷入沉寂会发生什么

1作者: e7h4nz3 个月前
去年六月,我将公司 API 栈切换到了 ts-rest——一个为 TypeScript 打造的、基于契约的类型安全 REST 库。今天,我盯着一个 11 个月没有发布新版本的代码库,思考着何时该拉动“弹射”手柄。 时间线如下: - 2025 年 3 月:v3.52.1 发布(最新稳定版) - 2025 年 6 月:3.53.0-rc.1 发布——Zod v4 兼容性版本 - 2025 年 6 月至 2026 年 2 月:0 次提交,0 次发布,维护者 0 次回复 - 2026 年 2 月:PR #863 “feat: v4” 提交,维护者称其为“稳定维护阶段”——至今仍未合并,3 个月过去了 - 今天:137 个未解决的问题,其中 117 个与“这个项目是否还在维护?”相关,0 次回复 致命的 bug:#852——rc.1 无法与稳定的 Zod 4 编译。RC 存在的全部意义在于 Zod v4 兼容性,而稳定的 Zod 4 实际上却破坏了它。 我们团队目前有两个选择: 1. 自己 fork 仓库来修复与 Zod 相关的问题。 2. 切换到 Hono RPC。 然而,我们真的不愿意依赖另一个新框架。我们更倾向于一个与框架无关的类型库,而不是被束缚于特定的框架。
查看原文
Last June, I switched my company&#x27;s API stack to ts-rest — the contract-driven type-safe REST library for TypeScript. Today I&#x27;m staring at a repo that hasn&#x27;t shipped a release in 11 months and wondering when to pull the ejection handle.<p>The timeline:<p>- Mar 2025: v3.52.1 ships (latest stable)<p>- Jun 2025: 3.53.0-rc.1 ships — the Zod v4 compatibility release<p>- Jun 2025–Feb 2026: 0 commits, 0 releases, 0 maintainer responses<p>- Feb 2026: PR #863 &quot;feat: v4&quot; opened, maintainer calls it &quot;stable maintenance phase&quot; — still open, unmerged 3 months later<p>- Today: 137 open issues, 117 on &quot;is this project maintained?&quot;, zero replies<p>The fatal bug: #852 — rc.1 doesn&#x27;t compile with stable Zod 4. The RC&#x27;s whole reason for existing is Zod v4 compat, and Zod 4 stable actually breaks it.<p>Our team currently has two options:<p>1. Fork the repository ourselves to fix the bugs related to Zod.<p>2. Switch to Hono RPC.<p>However, we are really hesitant to depend on yet another new framework. Rather than being tied to a specific framework, we would much prefer a framework-agnostic type library.