Skip to content
BENIBIX Learn

Backward Compatibility

Development🚀 Product & ReleasesReleases

Also known as Backwards Compatibility, Backward Compatible, Backwards Compatible

When a new version still works with things made for the old one.

Think of it like

Think of it like a new phone charger that still fits your old phone.

Example

Jack adds an optional field to his API. Old apps that never send it keep working, so the change is backward compatible.

Why it matters

Users update more often when nothing breaks. The whole group of apps moves on together.

Definition

Backward compatibility means a new version still works with things made for the old one. Old files still open, old code still runs and old apps can still call the API. You get it by adding new things without removing or changing old ones. It lets users update without fear. Keeping it forever has a cost, since old ways pile up in the code.

Common mistake

Promising it forever. At some point old ways must go, so deprecate them with warning and remove them in a major version.

Key takeaways

  1. 1
    Old things still work. Files, code, apps.
  2. 2
    Add, do not change. That is the trick.
  3. 3
    It has a cost. Old ways pile up.