Ts-rest – 当一个拥有3300颗星的开源项目进入休眠状态时会发生什么

1作者: e7h4nz大约 12 小时前原帖
去年六月,我将公司的 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” 被打开,维护者称其为“稳定维护阶段”——三个月后仍未合并 - 今天:137 个未解决的问题,其中 117 个是“这个项目还在维护吗?”,没有任何回复 致命的错误:#852——rc.1 与稳定版 Zod 4 不兼容。这个 RC 存在的全部理由是 Zod v4 兼容,而稳定版 Zod 4 实际上破坏了它。 我们团队目前有两个选择: 1. 自己分叉这个代码库,修复与 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.