QamoosTech
Web & APIsAPI designIntermediate

Backward Compatibility

PronunciationBAK-werd kum-pat-ih-BIL-ih-tee

Definition

The quality of a new version that still works with code, data, or clients written for an earlier version, so users do not have to change anything when they upgrade.

Where you hear it

In API design reviews, library upgrades, and database schema changes.

Examples

  • We added a new field, and the old clients still work.
  • Keep the old endpoint for six months to preserve backward compatibility.
  • The new API still accepts the old date format, so mobile apps need no update.

Common mistake

Renaming or removing a field in an API response without a transition period. Old clients fail even though the change looked small.

Don't confuse with

Backward compatibility means old code keeps working. Forward compatibility means old code can handle data from a newer version.