News for hackers. Stuff that matters.
Re:D3.js 5.0 is out by arghwhat on Thursday March 22, 2018 @08:01PM (#16653873)
If following semver style: Major updates include backwards incompatible changes. Minor updates include new functionality but no backwards incompatible changes. Patch updates include no new functionality.

There are backwards incompatible changes, so it has to be a major bump.

Re:D3.js 5.0 is out by thinkloop on Thursday March 22, 2018 @08:51PM (#16654135)
OP was suggesting not to have included backwards-incompatible changes, using deprecation warnings instead and branding it as a minor upgrade
Re:D3.js 5.0 is out by arghwhat on Friday March 23, 2018 @04:58AM (#16656226)
Either my memory fails me, or the comment was edited...

I don't recall responding to a comment that mentioned using deprecation warnings instead. :/

Re:D3.js 5.0 is out by kamac on Friday March 23, 2018 @08:11AM (#16657146)
Sorry, I edited it right after posting it. Didn't think somebody could answer that fast :p
Re:D3.js 5.0 is out by coldtea on Thursday March 22, 2018 @11:21PM (#16654831)
Hence OP was suggesting not following the semantic versioning model.

Why would they do that? To have extra work and to have to carry deprecated garbage and compatibility ports for a few releases more, instead of making a clean new version?

Those that need compatibility can stick with 4 until they're ready.

Re:D3.js 5.0 is out by icebraining on Friday March 23, 2018 @05:28AM (#16656342)
The semantic versioning model just says how you should update your version if you break compatibility, not that you can't avoid breaking compatibility.

In fact, they suggest the opposite: "Before you completely remove the functionality in a new major release there should be at least one minor release that contains the deprecation so that users can smoothly transition to the new API."

https://semver.org/#how-should-i-handle-deprecating-function...