Files
goplt/docs/content/adr/0002-go-version.md
0x1d fbc3fc37e4
Some checks failed
CI / Test (pull_request) Successful in 36s
CI / Lint (pull_request) Failing after 3s
CI / Build (pull_request) Successful in 16s
CI / Format Check (pull_request) Successful in 2s
feat: upgrade to Go 1.25.3 and update build to include api-gateway
- Create ADR-0034 documenting Go version upgrade to 1.25.3
- Mark ADR-0002 as superseded by ADR-0034
- Update CI workflow to use Go 1.25.3
- Update Makefile to build both platform and api-gateway binaries
- Update CI workflow to build and upload both binaries
- Update documentation (ADR README and mkdocs.yml) to include ADR-0034
2025-11-06 09:41:47 +01:00

1.2 KiB

ADR-0002: Go Version

Status

Superseded by ADR-0034: Go Version Upgrade to 1.25.3

Context

Go releases new versions regularly with new features, performance improvements, and security fixes. We need to choose a Go version that:

  • Provides necessary features for the platform
  • Has good ecosystem support
  • Is stable and production-ready
  • Supports required tooling (plugins, etc.)

Decision

Use Go 1.24.3 as the minimum required version for the platform.

Rationale:

  • Latest stable version available
  • Provides all required features for the platform
  • Ensures compatibility with modern Go tooling
  • Supports all planned features (modules, plugins, generics)

Consequences

Positive

  • Access to latest Go features and performance improvements
  • Better security with latest patches
  • Modern tooling support

Negative

  • Requires developers to have Go 1.24.3+ installed
  • CI/CD must use compatible Go version
  • May limit compatibility with some older dependencies (if any)

Implementation Notes

  • Specify in go.mod: go 1.24
  • Document in README.md and CI configuration
  • Update .github/workflows/ci.yml to use actions/setup-go@v5 with version 1.24.3
  • Add version check script if needed