10.7.3 · Skill in Product lifecycle management

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.

Your status · Deprecation and removal

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

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

  1. Use data to find who still uses the feature, how often, and through which clients.
  2. Announce a date, the reason, and the replacement, with a few months’ notice.
  3. Contact the affected users directly, and warn them in the product when they use the feature.
  4. Before the final date, switch the feature off for short, announced periods, so people notice.
  5. 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.

Timeline

How GitHub removed password authentication for Git

  1. Jul 2020Intent announcedTokens for all Git operations
  2. Dec 2020Date announcedDecisionEmails to password users
  3. 30 Jun 2021First brownoutProblemPasswords fail for 2 × 3 hours
  4. 28 Jul 2021Second brownoutProblemSame windows
  5. 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