-
Notifications
You must be signed in to change notification settings - Fork 355
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
Release 1.22.8 has a breaking change #780
Comments
Can you provide more detail? What exactly is the breaking change? |
dropping support for a node version is the change. |
Won't Node 8.x just install the most recent compatible version of Dart Sass? |
Nope. We have to manually specify the version. We use yarn, and yarn blocks installation of incompatible modules https://yarnpkg.com/lang/en/docs/package-json/#toc-engines. So we won't be able to install at all. |
the change should have gone into v2.0.0 |
@nex3 release I'd agree that this change is semver major |
Well, that's distressing news, to say the least. While we figure out what to do about it, I've unpublished version 1.22.8. |
I've put out a pull-request for the Node.js preamble we use to add back the Going forward, we'll avoid dropping support for Node versions that we already support as long as they're still in the long-term service window. Once they're out of that window, all bets are off—we need some flexibility to use new APIs without releasing a new major version, something we try to avoid doing unless we have major breaking language changes. |
url.pathToFileURL, which wasn't supported until Node 10.x, is now used in node_preamble.
I'm not sure I understand. what is wrong with releasing a new major version if you drop support for an older Node.js version? |
Major version releases force a considerable amount of churn on downstream users, all of whom need to update their dependencies to the latest version. Because many users won't be on the latest version, future changes and bug fixes are likely to be picked up much less broadly, which in turn means that new features are harder to adopt in libraries that need to work for many users. This is a high price to pay, so we do it as little as we possibly can. |
hmm I tend to agree generally, but IMHO it depends on the amount and complexities of the breaking changes. If it's literally just bumping the Node.js version support then the churn should be relatively small. Considering the amount of work that goes into figuring out why the app doesn't compile anymore after a In any case it would be useful to explicitly mention the Node.js support policy in https://github.com/sass/dart-sass#compatibility-policy so that depending projects can make sure to pin their |
That's a good idea. |
v1.22.8 is a breaking change but released as a patch. dropped node 8 support.
The text was updated successfully, but these errors were encountered: