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

Yank/Unpublish 2.2.3 #74

Open
adhami3310 opened this issue Oct 9, 2024 · 5 comments
Open

Yank/Unpublish 2.2.3 #74

adhami3310 opened this issue Oct 9, 2024 · 5 comments
Labels

Comments

@adhami3310
Copy link

As that package version is unusable, it must be yanked as soon as possible. A separate hotfix should be done but only after the package is back at a working stage. Even if the hotfix is merged, an unworking version must always be yanked.

@adhami3310 adhami3310 added the bug label Oct 9, 2024
@rolandjitsu
Copy link
Collaborator

rolandjitsu commented Oct 9, 2024

It doesn't really make sense to me to do that since semver ranges such as ^1.2.3 or ~1.2.3, dictates to use the latest patch, which is what could be causing issues. Unless you specifically pin down to the broken version, package managers should pick up the latest patch.

For now, I'll keep the versions as are unless the patch doesn't get published.

According to https://github.com/react-dropzone/attr-accept/actions/runs/11261768587/job/31315936062, the 2.2.4 versions should have been published, but I cannot see it yet on npmjs.com (though I can install it locally).

@adhami3310
Copy link
Author

Let's listen to crates.io as NPM doesn't speak on the issue:

Crates should only be yanked in exceptional circumstances, for example, an accidental publish, an unintentional SemVer breakages, or a significantly broken and unusable crate.

I believe "significantly broken and unusable" is grounds for unpublishing this version.

@rolandjitsu
Copy link
Collaborator

rolandjitsu commented Oct 10, 2024 via email

@Alek99
Copy link

Alek99 commented Oct 10, 2024

I don't quite understand this logic of having downstream users prove an unusable release is a problem, when it can be simply removed. Mistakes happen that's why unpublish commands exists. If the version has no functional utility and doesn't run why keep it, is it to just maintain continuity in versioning?

It's your library so you can do whatever you want at the end of the day. It's just not good practice imo as a library with many down stream dependents.

@rolandjitsu
Copy link
Collaborator

rolandjitsu commented Oct 10, 2024 via email

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