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

Require Go 1.7 and newer. #554

Merged
merged 1 commit into from
Feb 18, 2017
Merged

Require Go 1.7 and newer. #554

merged 1 commit into from
Feb 18, 2017

Conversation

dmitshur
Copy link
Member

@dmitshur dmitshur commented Feb 18, 2017

This is part 1 of 3 PRs to resolve #526 (as was suggested to split PR #529 in #529 (comment)).

Please see commit message for change details:

We need to do this in order to be able to resolve #526 without unreasonable compromises.

That's the minimum version that has context package in standard library, and built-in support for it inside net/http package. Now that Go 1.8 is out, this "current version, plus one back".

Bump up the library version in anticipation of breaking API changes in following commits. It makes sense to bump it now because this commit drops support for Go versions 1.4, 1.5 and 1.6, so we can say that version 2 is the latest supported by older Go versions.

Helps #526.

We need to do this in order to be able to resolve #526 without
unreasonable compromises.

That's the minimum version that has context package in standard
library, and built-in support for it inside net/http package.
Now that Go 1.8 is out, this "current version, plus one back".

Bump up the library version in anticipation of breaking API changes
in following commits. It makes sense to bump it now because this
commit drops support for Go versions 1.4, 1.5 and 1.6, so we can
say that version 2 is the latest supported by older Go versions.

Helps #526.
Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, @shurcooL!

@dmitshur dmitshur merged commit 796decd into master Feb 18, 2017
@dmitshur dmitshur deleted the require-go17-plus branch February 18, 2017 19:35
bubg-dev pushed a commit to bubg-dev/go-github that referenced this pull request Jun 16, 2017
We need to do this in order to be able to resolve google#526 without
unreasonable compromises.

That's the minimum version that has context package in standard
library, and built-in support for it inside net/http package.
Now that Go 1.8 is out, this "current version, plus one back".

Bump up the library version in anticipation of breaking API changes
in following commits. It makes sense to bump it now because this
commit drops support for Go versions 1.4, 1.5 and 1.6, so we can
say that version 2 is the latest supported by older Go versions.

Helps google#526.
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.

support the context package
2 participants