Skip to content

Interface added (V032) a MAJOR increment? #60

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

Closed
wick-ed opened this issue May 19, 2015 · 3 comments
Closed

Interface added (V032) a MAJOR increment? #60

wick-ed opened this issue May 19, 2015 · 3 comments
Labels
Milestone

Comments

@wick-ed
Copy link

wick-ed commented May 19, 2015

Hi @tomzx ,

first of all: good work 👍
Just a quick question though. Do you think adding an interface should be a MAJOR increment?
This came quite as a shock when testing our code.

An added interface does not seem to break backwards compatibility in any manner:

  • Not implementing it does not throw any errors
  • Other interfaces/implementations are not affected by it
  • New API endpoints would rather qualify as a feature

A new interface just sits there exposing potential new features to be used and/or implemented, so why the major increment?
Wouldn't MINOR be better or am I completely missing something? :(

Regards, Bernhard

PS: I tested with php-semver-checker-git but I assume the same ruleset/core

@tomzx tomzx added the bug label May 19, 2015
@tomzx tomzx added this to the Candidate for next Minor milestone May 19, 2015
@tomzx
Copy link
Owner

tomzx commented May 19, 2015

HI @wick-ed,

First off, I generally start any question about whether a certain rule should be a certain level with a pointer to docs/02-Configuration.md. If you ever feel a level doesn't correspond to your needs, you may manually override it using a configuration file. Sadly, I just realized that configuration file support is missing from php-semver-checker-git, so I've created tomzx/php-semver-checker-git#17.

Secondly, what you say is correct. Adding an interface shouldn't be a MAJOR increment based on the points you've brought up. A MINOR increment would indeed be better.

I'll update the rules as soon as possible.

Thanks for your feedback!

@tomzx
Copy link
Owner

tomzx commented May 19, 2015

Updated @ e339c7c. Let me know if you find any other issues!

@tomzx tomzx closed this as completed May 19, 2015
@wick-ed
Copy link
Author

wick-ed commented May 20, 2015

Hi @tomzx ,

thanks for the fast answer and for implementing the change. 👍
I have seen the possibility for local configuration override but I think something that fundamental as semver or BC in general should not be tweaked to avoid issues with ones code.

Thanks again for your work.
Will come back here if I find any other issues!

Regards, Bernhard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants