Skip to content

feat: bump min go version to 1.26 - #638

Merged
maxday merged 1 commit into
mainfrom
maxday/bump-min-go-1.26
Aug 27, 2026
Merged

feat: bump min go version to 1.26#638
maxday merged 1 commit into
mainfrom
maxday/bump-min-go-1.26

Conversation

@maxday

@maxday maxday commented Aug 27, 2026

Copy link
Copy Markdown
Member

Raises the project's minimum supported Go version to 1.26, the oldest release that is still supported by upstream Go.

Motivation

Per the official Go release policy, each major Go release is supported only until there are two newer major releases:

"Each major Go release is supported until there are two newer major releases."

As of now, the two most recent major releases are Go 1.27 (latest) and Go 1.26. That makes 1.26 the oldest version that is not end-of-life, Go 1.25 and earlier no longer receive fixes, including security patches.

Pinning our minimum to 1.26 keeps us on a supported toolchain and lets us drop workarounds for EOL versions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.38%. Comparing base (f0e2311) to head (0f70b4c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #638      +/-   ##
==========================================
+ Coverage   77.02%   82.38%   +5.35%     
==========================================
  Files          36       36              
  Lines        1419     1419              
==========================================
+ Hits         1093     1169      +76     
  Misses        247      247              
+ Partials       79        3      -76     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread go.mod
@@ -1,6 +1,6 @@
module github.com/aws/aws-lambda-go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Questions: if we are releasing 2.0.0, shouldn't we make this some like module github.com/aws/aws-lambda-go/v2?

ref: https://go.dev/doc/modules/version-numbers

@maxday maxday Aug 27, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good point! actually, maybe we don't need to bump to v2, it seems that raising the minimum version of go is not a breaking change, and usually released a minor version bumps in other packages.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ie: aws-sdk is not bumping major when they bump go version (ie: aws/aws-sdk-go-v2@d5b9ac6)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

+1 -> Let's follow go's canonical versioning

@maxday
maxday merged commit 6800157 into main Aug 27, 2026
13 checks passed
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.

4 participants