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

[BUG] Please please please follow semver practices #1309

Closed
airtonix opened this issue Aug 30, 2022 · 3 comments
Closed

[BUG] Please please please follow semver practices #1309

airtonix opened this issue Aug 30, 2022 · 3 comments
Labels

Comments

@airtonix
Copy link

First off, I love DangerJs, it's amazing. I do appreciate all the work the contributors have put into it. I get that this is open source software and if we want effective change we should contribute with PRs and Sponsorship.

Can we please practice more strict approaches to patch bumps and breaking changes?

Going from 11.0.2 to 11.0.4 involved what I would consider to be breaking changes. Specifically : 11.0.2...11.0.4#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R88-R90 changing the required nodejs version from something to 14.x.

Yes I understand you're doing your duty to drag us mouth breathing peasants into the future etc etc.

But I would have expected breaking changes to not be released on a patch bump.

I have projects out there that right now are on 11.0.2 but need a fix in 11.0.4, but can't upgrade their nodejs version due to prohibitive cost of required time to do so.

So yeah, my options are now (in order):

image

@airtonix airtonix added the bug label Aug 30, 2022
@orta
Copy link
Member

orta commented Aug 31, 2022

It's usually the transitive dependencies, I have no intention of adding new things to danger which require newer node versions, but that said this is largely not actionable and so I'm gonna close it. I'm not precious about semver majors (which is why we're at v11)

@orta orta closed this as completed Aug 31, 2022
@fbartho
Copy link
Member

fbartho commented Aug 31, 2022

@airtonix In addition to @orta’s comments — DangerJS was already NodeJS >14.x-only, it just wasn’t tagged as such in the package.json::engines field. Like @orta said, transitive dependencies control much of that decision.

If your stuff was working with <14 at that time it was only working by accident, or you weren’t using certain features that would have exploded

@airtonix
Copy link
Author

airtonix commented Sep 1, 2022

Ok.

I guess that now you have the engines field, that you'll bump to a new major version when that field changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants