New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are config-schema changes breaking? #523
Comments
I'd argue that not all config changes are breaking changes. Some are clearly patches (e.g., removing that Could we say that:
-- Separately, I think we need Lightning to provide credential building/editing templates for specific adaptor versions, not just for adaptors. But that's different, right? |
@taylordowns2000 I think that makes sense, but we may find it introduces a lot of breaking changes. Relaxing rules isn't breaking, but anything makes them more specific is. What I'd really like is to be able to say "treat all schema changes as patches". I just don't think I can justify it - switching the adaptor version WILL break the workflow, so strictly speaking it should be treated as a major. I guess I just need to live with it huh. Agree with you the Lightning thing, but that's a different story :) |
So far there haven't been many, and I'd argue we should be totally cool with I'm 100% with you on what is/isn't breaking and I'm still arguing for a strict SEMVER interpretation.
If we wanted to flip this around and say, "all configuration-schema changes are patch" I'd actually be totally OK with that, so long as you analyzed the adaptor code itself with strict SEMVER adherence. How it would play out if we adopted that approach: Story A
Story B
I'm happy in both the "a" and "b" stories. Does this better reflect the ethos of the "config changes are just patches" while still maintaining SEMVER for our users? |
This issue is to discuss whether a change to the configuration schema of an adaptor should result in a major release bump.
Because I still don't know and I think we should have a clear policy for this going forward.
Arguments for:
Arguments against:
Perhaps this debate could be mitigated by some means in Lightning to a) bind a credential to an adaptor version, and b) detect conflicts should the adaptor version change.
The text was updated successfully, but these errors were encountered: