-
Notifications
You must be signed in to change notification settings - Fork 263
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
Node.js 4 and 5 support dropped but no major version update? #407
Comments
Sorry about the breakage. I tried hard to keep 0.10 working: #319 but it was a loosing battle given the decision at request/request#2772 to bring in deps that broken 0.10.x support without a major bump. Is it possible for you to downgrade to |
Yes I can overcome this issue personally. I was just speaking on behalf of others who may not be so fortunate. Also, I am not concerned about node v0.10.x support. I think any v0.x support is reasonable to drop at this point. I was referring to node-pre-gyp 0.10.0 dropped node v4.x and node v5.x. |
@BHare1985 just a note about semver - major version 0 allows for breaking changes anywhere in the release cycle. source
I'm not saying this is great, but technically semver allows for these types of changes to occur without a major bump. That said, at some point node-pre-gyp 1.x discussions should probably happen! |
Yeah, it's true that semver technically allows this, but many people in the nodejs world expect that a 0-major would like to identify breaking changes through a minor version bump. Citation from https://docs.npmjs.com/misc/semver about caret dependencies:
|
👍 @nicolasnoble exactly - which is why this went out in 0.10.0 minor release. |
Right, sorry, this was kind of badly written and aimed at replying to @BHare1985. |
Yes I forgot about the 0.X exceptions. There were numerous node modules that I contacted in regards to node-tar dropping v4 and v5 support. node-tar made the breaking change on their end within version 4 major. Many other node modules have their versioning at > 0.X yet reference 0.X modules so it's frustrating. I am making the switch to node v6 and hopefully going to take advantage of package-lock to avoid issues in the future. I believe based on the semver definition that node-pre-gyp is justified in making a breaking change within their 0.x version and will close this issue |
Right on @BHare1985 - I feel you on the upgrade pain. Good luck on the switch! |
I saw that 0.10.0 dropped Node.js 4 and 5 support ( 4d88e05 )
According to semver, this would be a breaking change (IMO) and should of warranted a major version update.
If you do decide to make previous versions node.js 4/5 friendly, then you have to consider that node-tar should be linked to version 4.4.0 (or even lower) because since node-pre-gyp 0.7.0 the package.json has had
tar: ^4
but they have said that v4 and v5 hasnt been supported in years, which includes their version 4 releases.The cause for this suggestion is the grief experienced from #406
The text was updated successfully, but these errors were encountered: