Avalonia maintains strict source and binary compatibility within major versions. Automated API compatibility checks run on every CI build to enforce this policy—builds will fail if breaking changes are detected.
Breaking changes are only acceptable under these specific circumstances and must be approved by the Avalonia code team:
master
branch is targeting a new major versionWhen a breaking change is approved, you can bypass CI validation using an API suppression file:
nuke --update-api-suppression true
Note: The suppression file should only be updated after the breaking change has been reviewed and approved.
API changes are validated against a baseline version—the reference point for compatibility checks.
api-baseline
parameter with nuke
SharedVersion.props