Technical and comms plan for a Button break
pairing technical migration tooling with communication.
additive-first then deprecate, major semver, codemod and guide, multi-channel early comms with adoption tracking.
WHAT THIS TESTS This checks that you treat a breaking change as both a technical migration and a coordination problem across many teams.
A GOOD ANSWER COVERS On the technical side, prefer an additive rollout: introduce the new API while the old one still works, mark the old path deprecated with build or runtime warnings, and reserve removal for a future major. Bump the major version per semver. Write a codemod so most consumers migrate automatically, and a migration guide with concrete before-and-after snippets. On the communication side, announce early and through several channels: changelog, release notes, a dedicated message to consuming teams, and optional office hours or a support thread. Publish a clear deprecation timeline with a removal date, and maintain an adoption dashboard showing who still uses the old API so you can nudge stragglers. Remove the deprecated path only once adoption is high, in the next major.
COMMON WRONG ANSWERS Nailing the code but ignoring communication. A single announcement treated as enough. No deprecation window. No tooling to ease migration. Shipping the break as a minor version.
LIKELY FOLLOW-UPS How do you handle a team that misses the deadline? How long should the deprecation window be? How do you measure adoption automatically?
ONE CONCRETE EXAMPLE The Button drops a deprecated size prop in favor of a new scale prop. Version 7.0.0 supports both, with size emitting a deprecation warning. You publish a codemod, a migration guide, and announce two sprints ahead with a removal date. A dashboard tracks remaining size usage. Once it nears zero, version 8.0.0 removes it.
Read the original → zeroheight.com
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.