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

Add support for Go 1.13 #1478

Merged
merged 1 commit into from
Sep 5, 2019
Merged

Add support for Go 1.13 #1478

merged 1 commit into from
Sep 5, 2019

Conversation

bai
Copy link
Contributor

@bai bai commented Sep 4, 2019

Add support for Go 1.13 and remove Kafka 2.1 from build matrix according to 2 releases + 2 months schedule.

@bai bai requested a review from varun06 September 4, 2019 04:26
@@ -1,5 +1,7 @@
module github.com/Shopify/sarama

go 1.13
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@varun06 I'm not 100% this is needed (this line added by go mod), do you know if it's something that will break 1.11/1.12 compatibility?

According to https://golang.org/doc/go1.13 it shouldn't but 🤔:

If your code uses modules and your go.mod files specifies a language version, be sure it is set to at least 1.13 to get access to these language changes. You can do this by editing the go.mod file directly, or you can run go mod edit -go=1.13.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, I treat it like a ceiling for go features. So it shouldn't impact anything with backward compatibility.

Copy link
Contributor

@d1egoaz d1egoaz left a comment

Choose a reason for hiding this comment

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

🎉 LGTM


Sarama provides a "2 releases + 2 months" compatibility guarantee: we support
the two latest stable releases of Kafka and Go, and we provide a two month
grace period for older releases. This means we currently officially support
Go 1.11 through 1.12, and Kafka 2.0 through 2.3, although older releases are
Go 1.11 through 1.13, and Kafka 2.1 through 2.3, although older releases are
Copy link
Contributor

Choose a reason for hiding this comment

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

is this compatibility matrix important?
are we even following it?

Copy link
Contributor

@varun06 varun06 left a comment

Choose a reason for hiding this comment

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

LGTM

@bai bai merged commit 6cdd596 into master Sep 5, 2019
@bai bai deleted the go113 branch September 5, 2019 03:55
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.

3 participants