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

Unknown facade #382

Merged
merged 1 commit into from Jan 9, 2020
Merged

Conversation

SimonRichardson
Copy link
Member

The following changes how we handle future compatibility. In an effort
to improve compatibility with Juju and it's clients. Previously the
client would attempt to negotiate every facade that Juju would have ever
released, which allows backwards compatibility but not forward.

With the following changes we're essentially unrestricting forward
compatibility. Allowing the client to speak to future Juju's even if the
facade version isn't known.

We warn the user as much as possible about the missing facade version,
before ignoring it and allowing accessing to be done.

In reality this means if you try and access a facade that doesn't exist
in the library, but does in Juju, it won't work.

Copy link
Contributor

@mitechie mitechie left a comment

Choose a reason for hiding this comment

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

Seems like a good path thank you

@SimonRichardson
Copy link
Member Author

$$merge$$

The following changes how we handle future compatibility. In an effort
to improve compatibility with Juju and it's clients. Previously the
client would attempt to negotiate every facade that Juju would have ever
released, which allows backwards compatibility but not forward.

With the following changes we're essentially unrestricting forward
compatibility. Allowing the client to speak to future Juju's even if the
facade version isn't known.

We warn the user as much as possible about the missing facade version,
before ignoring it and allowing accessing to be done.

In reality this means if you try and access a facade that doesn't exist
in the library, but does in Juju, it won't work.
@SimonRichardson
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit 6a22c2b into juju:master Jan 9, 2020
@SimonRichardson SimonRichardson deleted the unknown-facade-version branch March 25, 2020 17:40
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.

None yet

3 participants