🚀 ui-modernizer v1.0 — Production ready
After 9 minor releases (0.1 → 0.9), ui-modernizer hits 1.0: the production-ready promise. Starting now, we follow Semantic Versioning — no breaking changes until 2.0.
Highlights
- API stability contract — public surface (workflow, trigger phrase, config schema, JSON envelope, error codes, profile format) is frozen for 1.x.
- Governance docs: CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, MIGRATION.
npx ui-modernizer health— one-shot self-check with 10 verifications.- 41-test Vitest suite across 7 files — up from 18 tests at 0.9.
- Unified JSON envelope across all scripts:
{ ok, command, version, timestamp, payload | errors, warnings }. - UMD-NNN error codes everywhere — every failure has a code, title, and remedy.
- GitHub templates for issues + PRs.
One-time breaking change (0.x → 1.0)
JSON output shape now nests old top-level fields under payload. Old: r.supported. New: r.payload.supported. See MIGRATION.md for full upgrade path.
What's not changed
- Trigger phrase
"modernize this UI"— same. - 8-step Skill workflow — same.
.ui-modernizer.jsonschema — same.- Backup / rollback — same.
- All 7 style profiles — same names, same format.
🚀 v1.0 —— Production ready
经过 9 个 minor 版本(0.1 → 0.9),ui-modernizer 进入 1.0:production-ready 承诺。从现在起,遵循 Semantic Versioning —— 2.0 之前不会有破坏性变更。
亮点
- API 稳定契约 —— 公开 API 表面(工作流、触发短语、配置 schema、JSON 信封、错误码、profile 格式)在 1.x 内冻结。
- 治理文档:CONTRIBUTING、CODE_OF_CONDUCT、SECURITY、MIGRATION。
npx ui-modernizer health—— 一键自检,10 项验证。- 41 个 Vitest 测试,跨 7 个文件 —— 从 0.9 的 18 个翻倍。
- 统一 JSON 信封 覆盖所有脚本:
{ ok, command, version, timestamp, payload | errors, warnings }。 - 所有脚本用 UMD-NNN 错误码 —— 每个失败都有 code、title、remedy。
- GitHub 模板 覆盖 issue + PR。
0.x → 1.0 一次性破坏性变更
JSON 输出形状现在把原顶层字段嵌套到 payload 下。旧:r.supported,新:r.payload.supported。完整升级路径见 MIGRATION.md。
不变的部分
- 触发短语
"modernize this UI"—— 不变 - 8 步 Skill 工作流 —— 不变
.ui-modernizer.jsonschema —— 不变- 备份 / 回滚 —— 不变
- 全部 7 个 style profile —— 名称和格式不变