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
Noisy banner shown after 2.3.1 upgrade #497
Comments
Agree banner on each run of my code even I don't using this code mention in banner is bit to much Maybe this should be added to gemspec |
Since 2.3.1 is only "a dummy release" (see changelog), I guess the current workaround is a version constraint like this: # 2.3.1 is a dummy release, and only brings a warning
gem "rubyzip", "~> 2.3", "!= 2.3.1" The correct solution™ would be upgrading to v3, but unfortunately, that's not released yet... |
That dummy release broke my builds today... Very useful for me (it's not) |
Can you confirm that this is because of the banner/warning? |
yep.
All further script steps failed because of mailformed url. |
A more actionable pattern I've seen is to introduce e.g. a 2.99 some time before a v3.0 release. 2.99 supports both old and new APIs, but shows deprecation warnings when you use the old ones. That lets you spot issues ahead of time and you can switch to the new API to get rid of the warnings :) |
@Sega-Zero Disclaimer: I don't know fastlane or that plugin. It looks like the banner (which is annoying for sure) is using Again, I'd prefer if the warning is not printed just because you require the gem. That's a bit excessive 😀 |
@tisba I would agree of that, but why should I bother when using some gem that uses some gem that uses rubyzip, that rubyzip is about to upgrade to 3.0? Well, now i do now that :) |
Apologies if this has caused people issues. The intention was to warn people that version 3 is really not compatible with version 2.x and previously we had people complain about not being warned about major version releases. We can't do the deprecated message as suggested by @henrik I don't think, because we're not deprecating, we're changing to named params. In any case this would still cause issues for people who rely on Personally I'm comfortable with SemVer but it seems a lot of people hadn't heard of it when we released 2.0, which is why we did this this time. So... I'm happy to yank this one if it's a real problem for people. I can can move to using |
Please, please! 🙏 Don't yank this release. That will only cause more trouble. Just make it a patch release if you want to change the warning e.g. to a post install message. |
I agree, yanking gems usually cause more problems, than helps to resolve But releasing 2.3.2 with warning moved to post install is defenetly a good idea |
Right, 2.3.2 released with Sorry for the noise folks. Lesson learned! |
No problem at all, @hainesr! Thanks for your work! |
2.3.1 added a banner that is a bit noisy: https://my.diffend.io/gems/rubyzip/2.3.0/2.3.1
Perhaps this could be part of a changelog instead? I'm thinking any incompatible changes could follow semver and users could be relied upon to be careful about major-version upgrades. What do you think?
The text was updated successfully, but these errors were encountered: