Varlock Releases Bumpy: A File-Based Versioning Alternative to Changesets

TL;DR · AI 摘要
Bumpy是Changesets的现代替代工具,支持多包管理、AI集成和分支预发布通道,适用于monorepo项目。
核心要点
- Bumpy支持npm/pnpm/Yarn/Bun的workspace协议,解决Changesets的120个遗留问题
- AI代理可自动生成bump文件,通过Vercel Labs CLI或Claude Code插件安装
- 分支预发布通道实现动态版本号生成,避免git提交版本污染
结构提纲
按章节快速跳转。
思维导图
用一张图看清主题之间的关系。
查看大纲文本(无障碍 / 无 JS 友好)
- Bumpy工具架构
- 核心功能
- 多包版本管理
- 自定义发布命令
- 依赖传播算法
- 技术特性
- AI代理集成
- 分支预发布通道
- CI原生支持
- 对比优势
- 解决120个遗留问题
- 简化预发布流程
- 降低学习成本
金句 / Highlights
值得收藏与分享的关键句。
Bumpy解决了Changesets文档中描述的pre模式'非常复杂且难以修复'的问题
AI代理通过vercel labs CLI或Claude Code插件实现自动化bump文件生成
分支预发布通道在发布时动态生成版本号,避免git提交版本污染
Varlock 发布 Bumpy:一种基于文件的版本管理替代方案,替代 Changesets - InfoQ
InfoQ 首页 News Varlock 发布 Bumpy:一种基于文件的版本管理替代方案,替代 Changesets
Web 开发
QCon AI 波士顿(2027年7月8日-9日):AI 原型已经成功。生产环境中会发生什么?
Varlock 发布 Bumpy:一种基于文件的版本管理替代方案,替代 Changesets
2026年11月7日 2分钟阅读
by
- Daniel Curtis
#### 关注我们
Youtube
232K 粉丝
26K 粉丝
新
RSS
19K 读者
X
57.1k 粉丝
21K 赞
Bluesky
收听本文 -
0:00
音频准备播放
您的浏览器不支持音频元素。
正常
1.25x
1.5x
喜欢
新下拉阅读列表
- 阅读列表
由 Varlock 团队开发的现代 monorepo 友好型版本管理与变更日志工具 Bumpy,被描述为 changesets 的继任者,正在获得越来越多的关注。该工具最初于 2026 年 4 月通过创建者 Theo Ephraim 的 Show HN 帖子发布,现在以 @varlock/bumpy 包的形式发布,并声称解决了其前身超过 120 个开放问题。
Bumpy 延续了 changesets 的熟悉工作流程。贡献者将一个小的 markdown "升级文件" 放入 .bumpy/ 目录中,声明哪些包需要发布、以什么级别发布以及变更日志描述。这些文件可以在 PR diff 中进行审查,由 CI 合并到发布 PR 中,并在该 PR 合并时被使用。示例如下:
---
'@myorg/core': minor
'@myorg/utils': patch
---
Added user lang prefs to core config.
Fixed locale fallback logic in utils.两个工具的差异在于表面之下。Bumpy 完全支持 npm、pnpm、Yarn 和 Bun 的 workspace: 和 catalog: 协议,提供针对 VS Code 扩展、Docker 镜像或 JSR 目标的每包自定义发布命令,以及可配置的三阶段依赖传播算法,让团队决定 peer dep 升级如何在其图中级联。CI 方面也更简洁,仅需两个命令 bumpy ci check 和 bumpy ci release,直接在标准 GitHub Actions 工作流中运行,无需安装 GitHub App 或信任独立的 action repo。
1.14 版本新增了基于分支的预发布通道,预发布版本在发布时生成且从不提交到 git。该设计针对 changesets 自身预发布文档中记录的投诉进行了优化,这些文档将预发布模式描述为“非常复杂”,并指出其状态“非常难以修复”。另一个差异化特点是 AI 集成。Bumpy 提供了一个代理技能,教会 LLM 如何检查 git 变更、识别受影响包并通过 bumpy add 生成升级文件。它可通过 Vercel Labs 技能 CLI、GitHub CLI 或作为 Claude Code 插件进行安装。
入门只需一次安装和一个自动迁移现有 changesets 项目的初始化:
bun add -d @varlock/bumpy
bunx bumpy initShow HN 线程坦率表示该项目“使用 AI 编码,但非常谨慎”,团队指出它已被用于发布 Varlock 及其 25 多个相关库和插件。在关于多语言 monorepo 的另一条线程中,bumpy 被提及为“解决 changesets 在自定义发布方面的一些问题的工具”。评估迁移的团队已打开问题,指出存在诸如 Yarn 4.10 目录检测等空白。
Competition intensified with the release of changesets v3 in August 2026, which resolved many of the long-standing issues that bumpy originally aimed to address. Bumpy's own differences documentation now compares against v3 and acknowledges it as "a substantial cleanup," while highlighting remaining gaps around configurable propagation, catalogs, custom publish targets, and prerelease workflows. Compared to semantic-release, bumpy retains the file-based model but introduces a bumpy generate command that can produce bump files from branch commits when teams want to bridge both styles.
Bumpy is licensed under MIT, built with TypeScript, and available via the @varlock/bumpy package on npm, with full source code and documentation hosted on GitHub.
main wrapper for authors section
About the Author
section title
main wrapper for each author
#### Daniel Curtis
Show more
Show less
#### This content is in the Web Development topic
##### Related Topics:
- Development
- Web Development
- Related Editorial
- Related Sponsor AI Security Playbook: Move Faster with AI, Without Compromising Security
- Related Sponsor Equal Experts helps organizations harness AI, modernize technology, and build better software through expert engineering, collaboration, and innovative delivery practices. Learn more.
The InfoQ Newsletter
A summary of last week's content on InfoQ sent every Tuesday. Join a community of over 250,000 senior developers. View an example
We protect your privacy.