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

expose the connection kind to CustomClientAuthentication #2084

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

ripienaar
Copy link
Contributor

Signed-off-by: R.I.Pienaar rip@devco.net

/cc @nats-io/core

Signed-off-by: R.I.Pienaar <rip@devco.net>
@ripienaar ripienaar requested a review from kozlovic April 8, 2021 16:34
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would approve, but knowing we are planning on a 2.2.2, a patch release, are we "allowed" to change APIs (even if in this case it is an addition, so I personally think it should be ok)?

@ripienaar
Copy link
Contributor Author

I believe adding is fine, and also there's no way that we've been following semver moving from 2.1.x to 2.2.x so I think that ship has sailed imo

@kozlovic
Copy link
Member

kozlovic commented Apr 8, 2021

following semver moving from 2.1.x to 2.2.x

Maybe not, but there was no backward compatibility changes, if I am not mistaken, meaning that you can run a 2.2.x against a 2.1.x and vice versa. Of course some features are not enabled if not at the same level, but not a break like we had between 1.4 and 2.0 with routes, etc (hence the bump from v1 to v2). Anyway, I will LGTM it.

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kozlovic kozlovic merged commit 36e18c2 into nats-io:master Apr 8, 2021
@ripienaar
Copy link
Contributor Author

The protocol did not change that is correct and we made efforts to make things like headers degrade gracefully(ish). But in numerous other data structures and behaviours I think were not quite up to semver standards.

We're following GoVer - do whatever it takes to avoid a major release :P

@ripienaar ripienaar deleted the client_auth_kind branch April 8, 2021 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants