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

Bump Go version to v1.21.0 #634

Merged
merged 1 commit into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go-version: [ 1.19.x, 1.20.x ]
go-version: [ 1.20.x, 1.21.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/digitalocean/godo

go 1.18
go 1.21

Choose a reason for hiding this comment

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

FYI this creates a problem for downstream users of this library who want their software to be compatible with multiple versions of Go.
Example: prometheus/prometheus#12964
Since nothing in this package requires Go 1.21, it's unnecesary to have it as a minimum requirement.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for flagging this @bboreham! This was a mistake. We've cut a bug fix release (v1.104.1) dropping this to Go 1.20 and documenting our policy of following the upstream Go policy of supporting the two latest major releases.

Choose a reason for hiding this comment

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

Thanks!


require (
github.com/google/go-querystring v1.1.0
Expand Down
Loading