Skip to content

Require Go 1.7 and newer.#554

Merged
dmitshur merged 1 commit intomasterfrom
require-go17-plus
Feb 18, 2017
Merged

Require Go 1.7 and newer.#554
dmitshur merged 1 commit intomasterfrom
require-go17-plus

Conversation

@dmitshur
Copy link
Copy Markdown
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
Copy Markdown
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