Deprecation and removal
Retiring features that no longer earn their place.
Every feature has a maintenance cost. Removing unused or harmful features simplifies the product and the code. Good deprecation gives notice, offers alternatives and uses data to confirm who is affected.
Why it matters for a product engineer
Every feature keeps costing time after launch: tests, bug fixes, support questions, security work. Some features are no longer worth that cost, and some are a risk. Removing them makes the product and the code simpler. The hard part is the people who still use them. Product engineers can find exactly who those people are in the data, and build a path that moves them before anything breaks.
How to do it
- Use data to find who still uses the feature, how often, and through which clients.
- Announce a date, the reason, and the replacement, with a few months’ notice.
- Contact the affected users directly, and warn them in the product when they use the feature.
- Before the final date, switch the feature off for short, announced periods, so people notice.
- Remove it on the date, and keep a clear error message that explains what to do next.
Common mistakes
- Removing a feature because it looks unused, without checking who uses it.
- An announcement in a blog post that the affected users never read.
- Moving the date again and again, so nobody believes it.
- An error after removal that does not say what changed or what to do.
Example
GitHub stopped accepting account passwords for Git operations on 13 August 2021, because tokens are safer: they can be limited, revoked and generated per device. It announced the plan in July 2020 and the date in December 2020. It emailed users who still used passwords. On 30 June and 28 July 2021, it blocked passwords for two three-hour periods each day. People whose scripts failed in those windows had time to switch to a token or an SSH key.
How GitHub removed password authentication for Git
- Jul 2020Intent announcedTokens for all Git operations
- Dec 2020Date announcedDecisionEmails to password users
- 30 Jun 2021First brownoutProblemPasswords fail for 2 × 3 hours
- 28 Jul 2021Second brownoutProblemSame windows
- 13 Aug 2021Passwords removedShippedTokens or SSH keys only
Planned, short failures warned the people that emails and blog posts did not reach, while they still had time to change.
ReportedGitHub Blog, December 2020, and GitHub Changelog, August 2021
Sources: Token authentication requirements for Git operations (GitHub Blog) ↗ · Git password authentication is shutting down (GitHub Changelog) ↗ · How to effectively sunset a feature from your product (Pendo) ↗
Resources
2- articleStart here
How to effectively sunset a feature from your product ↗
Pendo · 2021 · 8 minA checklist for removing a feature: who uses it, what replaces it, and when each group loses access.
- articleStart here
How to deprecate software features without bothering users ↗
TechTarget · 2019 · 8 minDeprecation from the engineering side: notice periods, warnings in the product and migration paths.