-
Notifications
You must be signed in to change notification settings - Fork 21
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
Return conn instead of chan from connection
fun
#52
Conversation
Might break some code that depends on this incorrect behavior.
Thanks, this does seem correct. |
I am anxious about the impact of this change on existing code that passes the return value of
|
I think this specific case won't be a problem since the channel function seems to have been implemented to handle both Line 537 in 3f00456
It would however break code like this: conn = connection(; ...)
chan = channel(chan.conn, AMQPClient.UNUSED_CHANNEL, true) So I think it warrants a bump to 0.5 |
If AMQPClient is using semantic versioning, then 1.0.0 is probably a safer choice, since it's a breaking change (for some). |
Semver doesn't require any compability for releases before 1.0.0, but Julia
specifies that the minor version should be updated for breaking changes pre
1.0
https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0
…On Mon, Aug 15, 2022, 11:11 nsslh ***@***.***> wrote:
So I think it warrants a bump to 0.5
If AMQPClient is using semantic versioning, then 1.0.0 is probably a safer
choice, since it's a breaking change (for some).
—
Reply to this email directly, view it on GitHub
<#52 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYWKSNKBWXR4AI32WK3LSLVZICTXANCNFSM5SI3SERQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I had never noticed that. Thanks! |
Fixes #51 |
Might break some code that depends on this incorrect behavior.