On this page
DocumentationContributing

Backward compatibility

Use this page before you change facts, calculator inputs, report fields, errors, HTTP routes, SDK helpers or exported schema names.

Public contract surfaces

Breaking changes need an explicit release-impact note and a Changeset when package-facing behaviour changes.

HTTP and SDK rule

HTTP and SDK layers adapt public callers to the calculator boundary. They must not hide tax business logic or make incompatible tax results look compatible. If tax behaviour changes, update the owning fact, rule, parameter, calculator or service package and then prove the public layer still reflects that owner.

Review notes

Your PR should state:

  • whether request or response schemas changed
  • whether public SDK helper input or output types changed
  • whether generated OpenAPI output changed
  • whether existing calculator IDs, jurisdictions or tax years still work
  • whether the change needs a Changeset

Read API and SDK before changing transport or SDK contracts.