mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #607] does losing backwards compatibility for a suckless-style config amount as major version? #6419
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @al-caveman on GitHub (Aug 14, 2020).
Original GitHub issue: https://github.com/semver/semver/issues/607
so i have an app that i modified such that:
what is changed is this:
st(where user modified source code, then recompile app).so, my question is:
if a user goes into the older version, copies part of the source code which is intended to store configs, and pastes it in the same region in the new app, the app will crash, because variable names have changed, as well as their value types.
what does semver think?
@ljharb commented on GitHub (Aug 14, 2020):
arguably either one; if the user wants to be able to enter the info every time, it'd be breaking for them; otherwise minor.
changing the config format is absolutely a breaking change, because that is a part of your API.
@al-caveman commented on GitHub (Aug 14, 2020):
i see. just to confirm. breaking change = major version bump?
@ljharb commented on GitHub (Aug 14, 2020):
Yes.
@al-caveman commented on GitHub (Aug 14, 2020):
Thanks. Makes sense.