-
-
Notifications
You must be signed in to change notification settings - Fork 95
chore!: Update node versions to align with eslint v9 #484
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
chore!: Update node versions to align with eslint v9 #484
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #484 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 24 -1
Lines 649 661 +12
Branches 250 247 -3
=========================================
+ Hits 649 661 +12 ☔ View full report in Codecov by Sentry. |
LGTM, but maybe someone on the core team should review this kind of breaking change. |
@aladdin-add , @MichaelDeBoey , @voxpelli : Hi there... not sure who to ping, but I figured someone on the core team should be reviewing breaking changes? |
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 👍 on aligning engine range with ESLint 9
What have the other plugins in this org done? Such as plugin-n?
I have been meaning to propose a change like this for eslint-utils as well as that’s the main thing holding my PR there back eslint-community/eslint-utils#204
"typescript": "^4.9.3" | ||
}, | ||
"peerDependencies": { | ||
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" |
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.
Should we align here as well? Supporting all the way back to ESLint 7 but only Node 18 and newer feels a bit odd
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.
Pinging me is very okay at least :) The governance docs got stuck a bit with people having different views and as far as I remember no counter proposals being made, so we do not have a structured process for this yet. Feel very free to give feedback on eslint-community/governance#1, either directly there or to me, would love to have a clear process for these kinds of things |
leaving it open to let @xjamundx merge breaking changes, when he thinks it's a good time to release a major. :) |
@aladdin-add Are you sure @xjamundx is still the one leading this module? I thought he handed it over to the ESLint Community because he wasn't interested in maintaining it anymore? |
ah, I didn't know that! Do you think we can release a major version now? Are there any other breaking changes that should be included? |
3750db4
to
176e7cb
Compare
Node 22.5.0 has struck again! I guess I can only wait for the action to work out that 22.5.1 has been released 🤔 |
If you tell it to use 22.5.1 specifically, then it will pass, but will have to be reverted before merging |
It's all green now! ✅ |
It appears that the merge of this PR did not release successfully. https://github.com/semantic-release/semantic-release#commit-message-format |
This reverts commit 8a981d2.
see #484 (comment) Reverts #504 BREAKING CHANGE: Requires Node.js: ^18.18.0 || ^20.9.0 || >=21.1.0
🎉 This PR is included in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I just changed that settings to "Pull request title and description". 😅 |
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-promise](https://togithub.com/eslint-community/eslint-plugin-promise) | [`6.6.0` -> `7.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-promise/6.6.0/7.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint-community/eslint-plugin-promise (eslint-plugin-promise)</summary> ### [`v7.0.0`](https://togithub.com/eslint-community/eslint-plugin-promise/releases/tag/v7.0.0) [Compare Source](https://togithub.com/eslint-community/eslint-plugin-promise/compare/v6.6.0...v7.0.0) - feat!: Update node versions to align with eslint v9 ([#​505](https://togithub.com/eslint-community/eslint-plugin-promise/issues/505)) ([09d0650](https://togithub.com/eslint-community/eslint-plugin-promise/commit/09d0650846806df7fc4ce26156865cf57e27fba6)), closes [#​505](https://togithub.com/eslint-community/eslint-plugin-promise/issues/505) [/github.com/eslint-community/eslint-plugin-promise/pull/484#issuecomment-2246887433](https://togithub.com//github.com/eslint-community/eslint-plugin-promise/pull/484/issues/issuecomment-2246887433) [eslint-community/eslint-plugin-promise#504](https://togithub.com/eslint-community/eslint-plugin-promise/issues/504) ##### BREAKING CHANGES - Requires Node.js: ^18.18.0 || ^20.9.0 || >=21.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/tomacheese/cmcutter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-promise](https://togithub.com/eslint-community/eslint-plugin-promise) | [`6.6.0` -> `7.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-promise/6.6.0/7.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint-community/eslint-plugin-promise (eslint-plugin-promise)</summary> ### [`v7.0.0`](https://togithub.com/eslint-community/eslint-plugin-promise/releases/tag/v7.0.0) [Compare Source](https://togithub.com/eslint-community/eslint-plugin-promise/compare/v6.6.0...v7.0.0) - feat!: Update node versions to align with eslint v9 ([#​505](https://togithub.com/eslint-community/eslint-plugin-promise/issues/505)) ([09d0650](https://togithub.com/eslint-community/eslint-plugin-promise/commit/09d0650846806df7fc4ce26156865cf57e27fba6)), closes [#​505](https://togithub.com/eslint-community/eslint-plugin-promise/issues/505) [/github.com/eslint-community/eslint-plugin-promise/pull/484#issuecomment-2246887433](https://togithub.com//github.com/eslint-community/eslint-plugin-promise/pull/484/issues/issuecomment-2246887433) [eslint-community/eslint-plugin-promise#504](https://togithub.com/eslint-community/eslint-plugin-promise/issues/504) ##### BREAKING CHANGES - Requires Node.js: ^18.18.0 || ^20.9.0 || >=21.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/tomacheese/telcheck). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Doing (I would personally be in favor of switching to a release please flow, like in eslint-community/eslint-plugin-n#305, as that catches errors like this before release) |
What changes did you make?
This simply updates the CI and package.json to run the tests against the node versions that ESLint v9 supports
BREAKING CHANGE: Requires Node.js:
^18.18.0 || ^20.9.0 || >=21.1.0