Skip to content
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

Prepare v8 #274

Merged
merged 7 commits into from Nov 21, 2022
Merged

Prepare v8 #274

merged 7 commits into from Nov 21, 2022

Conversation

davidtheclark
Copy link
Collaborator

I'll leave this open for a day to see if any watchers have concerns.

@chrisblossom
Copy link
Contributor

Might want to drop node 12 as well because it is [https://github.com/nodejs/Release](no longer supported). Also should add the upcoming LTS v18 to the test matrix.

@davidtheclark
Copy link
Collaborator Author

I don't want to drop support for Node 12 because at least one key user, Stylelint, still supports Node 12 and we don't have a reason of our own to drop support.

We have v18 in the test matrix -- did you have something else in mind? I'm open to whatever.

@JounQin
Copy link

JounQin commented May 28, 2022

The js-yaml package doesn't strictly follow the YAML 1.2 spec. It supports some YAML 1.1 features.

unifiedjs/unified-engine#65


Should that be considered? @davidtheclark

@chrisblossom
Copy link
Contributor

I don't want to drop support for Node 12 because at least one key user, Stylelint, still supports Node 12 and we don't have a reason of our own to drop support.

Because this is a breaking change with the new YAML parser- stylelint would need to bump to a new major to use it, right? I assume stylelint would drop unsupported node versions at the same time as a version bump.

We have v18 in the test matrix -- did you have something else in mind? I'm open to whatever.

Sorry, very limited cell phone service for the week so I missed that v18 was added.

If you’d like, I could work on updating dependencies before the version bump if that would be helpful. I would need a week or so though to find time.

@ybiquitous
Copy link

The Stylelint's current test suite passes the next version 8 of cosmiconfig (this PR's branch). 🎉
See stylelint/stylelint#6120


I don't want to drop support for Node 12 because at least one key user, Stylelint, still supports Node 12 and we don't have a reason of our own to drop support.

Because this is a breaking change with the new YAML parser- stylelint would need to bump to a new major to use it, right? I assume stylelint would drop unsupported node versions at the same time as a version bump.

I think it's possible that Stylelint's next major version will drop the Node 12 support (due to EOL), but the Stylelint team doesn't discuss anything about it yet.

@davidtheclark
Copy link
Collaborator Author

Asking Stylelint about both yaml/js-yaml and Node version support over in stylelint/stylelint#6101 (comment).

@ybiquitous
Copy link

Hi @d-fischer, the Stylelint team has been going forward to the next major v15.0.0.

It would be nice to release Stylelint v15, including a dependency on Cosmiconfig v8. I will be happy to help if there is anything I can do.

@d-fischer
Copy link
Member

My plan is to wait a few more days (probably until Sunday) and then merge #282 (if nobody sends in a negative review) and #283 (if there are proper tests by then). I'm not 100% sure about edge cases that could change with ESM support, so I'd rather have that in a major version than a minor, and I also don't want to bump major too often. But if it takes too long to finish the PR with tests, I can surely go on with the release.

@ybiquitous
Copy link

Thanks, I understand the situation and agree with your plan. I will review the PRs.

@d-fischer d-fischer merged commit 7d1dce9 into main Nov 21, 2022
@jrandolf jrandolf deleted the prepare-v8 branch September 1, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants