Breaking Changes#
Generally, this module strives to avoid breaking changes, but we cannot always avoid it.
Breaking Change |
Mitigation |
|---|---|
The task is to enforce certain process constraints and adding new ones is a breaking change by definition. |
We introduce new constraints as “info” level, so a documentation build prints the hint but does not fail. |
Bazel API changes sometimes remove something. |
We add a deprecation warning in advance. |
Our versioning is based on SemVer. The mitigations aboves are to be released as minor/patch version bumps.
However, thanks to our compatibility checks, we sometimes release changes which are technically breaking as minor version bumps, because we know that they are not breaking anything within S-CORE. They might breaking something downstream though.
Ideally, it happens like this:
Add an info-only warning to enable users to adapt their code.
Release a minor version bump with the info-only warning.
Turn the warning into a real warning.
Observe that everybody already adapted their code according to our compatiblity checks.
Release a major version bump but it does not break for anybody.