← 返回
未分类 中文

Api Compat

Change public APIs without breaking clients—versioning schemes, additive vs breaking changes, deprecation windows, and comms. Use when shipping breaking chan...
在不破坏客户端的情况下更改公共 API,包括版本策略、增量与破坏性变更、废弃窗口与沟通,适用于发布破坏性变更时。
codenova58 codenova58 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 512
下载
💾 1
安装
1
版本
#latest

概述

API Compatibility

Own the lifecycle of a public API: who breaks when you ship, how long old behavior lives, and how clients discover what’s next. Pair with http-api for how requests look today; this skill is about time and promises.

When to use

  • Adding/removing fields, routes, or semantics that existing clients rely on.
  • Choosing URL vs header vs package versioning—or when no formal version and only additive JSON.
  • Deprecation: timelines, metrics (who still calls old paths?), and removal gates.

Core ideas

  • Additive first — nullable new fields beat silent behavior changes.
  • Explicit contracts — integration tests or consumer-driven checks for critical partners.
  • Communicate — changelog, developer email, in-response Sunset / warnings where standards allow.

Avoid

  • “We’ll just bump the version” without a migration story for slow-moving apps.
  • Breaking auth or pagination with no coordination window.
  • Deprecating without usage data—you’ll cut traffic you didn’t know existed.

Checklist before breaking

  • [ ] Who is affected (internal only vs third parties)?
  • [ ] Minimum notice period and rollback if telemetry spikes errors?
  • [ ] Docs + examples updated before the flag day?

Done when

  • Old and new behaviors are measurable; removal is gated on evidence, not hope.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 05:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,142
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 686 📥 331,312
professional

Eastmoney

codenova58
访问并总结来自东方财富的公开市场数据、新闻和行业趋势,不包括交易或批量数据提取。
★ 1 📥 6,085