Skip to content

Comments

chore(deps): upgrade Go from 1.25.2 to 1.26#656

Merged
zhouzhuojie merged 1 commit intomainfrom
feature/upgrade-go-1.26
Feb 11, 2026
Merged

chore(deps): upgrade Go from 1.25.2 to 1.26#656
zhouzhuojie merged 1 commit intomainfrom
feature/upgrade-go-1.26

Conversation

@zhouzhuojie
Copy link
Collaborator

@zhouzhuojie zhouzhuojie commented Feb 10, 2026

Summary

Upgrade Go version from 1.25.2 to 1.26.

Changes

  • go.mod: go 1.25.2 → go 1.26
  • Dockerfile: golang:1.25.2-alpine → golang:1.26-alpine, remove GOEXPERIMENT=greenteagc
  • integration_tests/Dockerfile-Integration-Test: golang:1.25.2-alpine → golang:1.26-alpine, remove GOEXPERIMENT=greenteagc
  • .github/workflows/ci.yml: go-version: 1.25.2 → go-version: 1.26, remove GOEXPERIMENT=greenteagc

Verification

  • ✅ Tests pass: go test ./pkg/...
  • ✅ Build succeeds: go build
  • ✅ Lint passes: golangci-lint (no issues)

Go 1.26 Highlights

  • ✅ Green Tea GC is now the default (no longer needs GOEXPERIMENT)
  • new() function now accepts expressions as operands
  • Generic types can self-reference in type parameter lists
  • Revamped go fix with modernizers for automatic code updates

@zhouzhuojie zhouzhuojie force-pushed the feature/upgrade-go-1.26 branch from 8994ae7 to cfa4122 Compare February 10, 2026 21:24
@zhouzhuojie zhouzhuojie merged commit 518cc26 into main Feb 11, 2026
18 of 21 checks passed
@zhouzhuojie zhouzhuojie deleted the feature/upgrade-go-1.26 branch February 11, 2026 13:31
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.

2 participants