-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Drop Node 9 support #1445
Merged
Merged
Drop Node 9 support #1445
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ language: node_js | |
# https://github.com/nodejs/Release | ||
node_js: | ||
- '10' | ||
- '9' | ||
- '8' | ||
- '6' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious to see if this ends up creating issues. This engines line means something quite different than the travis config.
Travis config means we only explicitly test support for a certain set of node versions. This engines line means we require these versions of node to operate - otherwise warnings are emitted during installation.
v9 is not an experimental branch, and there are plenty of companies that sanely use the latest version of node. The difference between odd and even numbered versions is that odd numbered versions have short support cycles while even have long ones. Out of LTS just means it wont get security patches anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, came here from figuring out an issue. :) For reasons, we're depending on an older version of
nan
which fails to compile in Node v10 (but worked fine in v9). And we're upgrading tographql
14.0.0 to get extended inputs. In any case, I'm not sure why this change is necessary - is v9 missing a feature thatgraphql
depends on? Additionally, I don't think I've seen other modules limit engines in this way - i.e. removing a node version because it's no longer in maintenance - but limiting it because of missing features makes sense. 2c.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jure I removed node 9 because one of our dev dependencies stoped supporting it:
https://github.com/amasad/sane/blob/49f251a95e6db118ad71223b1eca93c876d9aacc/package.json#L47-L49
So the simplest solution was to also drop
v9
.Because v9 stoped receiving security patches I assumed no one would use it to power GraphQL servers.
So we can enable it back but we wouldn't be able to tests it.
I will try to remove our dependency on
sane
or revert it to the older version that supportsv9
.