-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix for retirement_reason
spec.
#150
Conversation
|
src/hex_api_release.erl
Outdated
@@ -14,9 +14,9 @@ | |||
|
|||
-type publish_params() :: [{replace, boolean()}]. | |||
|
|||
-type retirement_reason() :: other | invalid | security | deprecated | renamed. | |||
-type retirement_reason() :: binary(). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't use this type anymore anywhere, can you remove it while at it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! |
Would you be Ok to do a patch-release for this, to be able to run with an updated version next to erlef/rebar3_hex#338? Thanks. |
v0.10.3 is out! |
Thanks much, @wojtekmach. |
Closes #149.
Arguably, we could just have the code "accept" the binaries (as e.g.rebar3_hex
is doing), and crash, since the spec is the intention that was passed, but with some backward compatibility I'm not sure the proposed solution will hurt.This is a draft pr to follow-up on the discussion for the linked issue.