-
Notifications
You must be signed in to change notification settings - Fork 553
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
fix(node): remove node 6 and 8 support #649
Conversation
This removes node 6 and 8 support. This is a free project and our builds are getting very long so we have to be a bit careful about what versions we test on. To be clear, this still works on Node 6 and 8 for now but we won't be maintaining that guarentee into the future so please work towards updating. BREAKING CHANGE: Removal of two major node versions, 6 and 8 from testing scheme
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hello @jimthedev, does this change means that not only |
I think it's not great to remove support for node 8 while it is LTS: https://github.com/nodejs/Release It would be nice if the whole ecosystem would follow that schedule. I also wonder how it relates to: conventional-changelog/conventional-changelog#436 |
3809: Update commitizen to the latest version 🚀 r=jniles a=greenkeeper[bot] ## The devDependency [commitizen](https://github.com/commitizen/cz-cli) was updated from `3.1.2` to `4.0.0`. This version is **not covered** by your **current version range**. If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update. --- **Publisher:** [commitizen-bot](https://www.npmjs.com/~commitizen-bot) **License:** MIT <details> <summary>Release Notes for v4.0.0</summary> <h1><a href="https://urls.greenkeeper.io/commitizen/cz-cli/compare/v3.1.2...v4.0.0">4.0.0</a> (2019-07-18)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>node:</strong> remove node 6 and 8 support (<a href="https://urls.greenkeeper.io/commitizen/cz-cli/issues/649" data-hovercard-type="pull_request" data-hovercard-url="/commitizen/cz-cli/pull/649/hovercard">#649</a>) (<a href="https://urls.greenkeeper.io/commitizen/cz-cli/commit/8931c6b">8931c6b</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li><strong>node:</strong> Removal of two major node versions, 6 and 8 from testing scheme</li> </ul> </details> <details> <summary>Commits</summary> <p>The new version differs by 2 commits.</p> <ul> <li><a href="https://urls.greenkeeper.io/commitizen/cz-cli/commit/8931c6b9882ad83e07a21800c9caf42454d80952"><code>8931c6b</code></a> <code>fix(node): remove node 6 and 8 support (#649)</code></li> <li><a href="https://urls.greenkeeper.io/commitizen/cz-cli/commit/ad6f14c6f40f879e2775f12b19a155ed1143b5a2"><code>ad6f14c</code></a> <code>chore(deps): update dependency semantic-release to v15.13.18 (#644)</code></li> </ul> <p>See the <a href="https://urls.greenkeeper.io/commitizen/cz-cli/compare/4417fcfc7f4715db48aa2e529cb112f32972d1cf...8931c6b9882ad83e07a21800c9caf42454d80952">full diff</a></p> </details> --- <details> <summary>FAQ and help</summary> There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new). </details> --- Your [Greenkeeper](https://greenkeeper.io) bot 🌴 Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Sorry I found that I mixed semantic-release and commitizen. Plz ignore my comment. |
This is not quite true:
Yes, the code would still work, but by default you can no longer install commitizen, so yeah. Anyway, not complaining here, makes sense that you changed the NodeJS version requirement. |
@StephanBijzitter is right. You can use --ignore-engines in yarn to get around this requirement I believe. |
Yes, but that essentially just hides the message and we may forget that our NodeJS version is not supported anymore, get weird behaviour at one point and then we're going to wonder why it's not working :-D Plus, sadly that ignores engine checks for all dependencies, so we may also miss out on other dependencies dropping support in the future. There's not really a perfect solution here, it's just how it is 🤷♂. For anyone interested on why we're stuck with NodeJS 8.10.0: |
That’s fair. I can add 8 back in if needed. Just trying to keep things moving towards LTS current. |
Oh no need, someone else may come along and have a good use-case to still use NodeJS 6, 4, 0.12... it'd be a slippery slope. Dependabot will keep creating pull requests for every commitizen release and once there's a new feature important enough (or we've updated to NodeJS 10) we'll see a pull request pass all checks :-) |
Perfect. Thanks for the feedback! |
I wouldn't say it's about use cases. It's about keeping in line with LTS versions and 8 has LTS until the end of the year. If there is any library that does not support an LTS version you have a good argument for them to update.
If it's not a big deal it would be great to add it as long as it has LTS. You can schedule removal of support by looking at the release table. It would be great if the node js library community would move in tandem with the target of their library (node js). As a community we already have kind of a bad reputation when it comes to backward compatibility. Stating that we can just add |
In my mind node js libraries should have tests for the following versions:
Where Consumers of libraries should only switch to the new LTS when it becomes |
keeping in line with LTS sounds great, but if its more maintenance than its worth, i would much rather see support further limited for all the reasons outlined in this article. LTS is defined for node itself. it is unrealistic pressure to put on maintainers of all kinds of packages. if your version of node isn't supported by the new version, don't upgrade. if you want to be on the latest version of this package, take the steps to move to a supported node version. the maintainers of this package don't owe you the extra effort so that you can have both. |
This removes node 6 and 8 support. This is a free project and our builds are getting very long so we
have to be a bit careful about what versions we test on. To be clear, this still works on Node 6 and
8 for now but we won't be maintaining that guarentee into the future so please work towards
updating. Additionally it removes eslint in an attempt to minimize dependencies. If we add anything back in it would likely be prettier.
BREAKING CHANGE: Removal of two major node versions, 6 and 8 from testing scheme