elastic / package-spec

EPR package specifications
Other
18 stars 73 forks source link

[Discuss] Support providing hints for breaking changes #817

Open jsoriano opened 1 month ago

jsoriano commented 1 month ago

There are situations where breaking changes may be unavoidable. Currently packages can indicate this in changelogs and/or bumping their major versions, but from a user perspective upgrading to versions with breaking changes looks the same as any other upgrade. After the upgrade they may be missing fields or having other kinds of issues.

It should be possible to include hints in packages to handle breaking changes. There can be two kinds of hints:

These hints should help with the migration path to versions with breaking changes.

There are some places where the hints could appear:

We should also assess frequent reasons for breaking changes.

Try to find opportunities to improve the situation here.

Related issues