Skip to content

Commit 6268564

Browse files
committed
Update all documentation and CI to Go 1.25
1 parent b4ad5a5 commit 6268564

10 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Invalid configuration:
3838

3939
## Environment
4040

41-
- Go version: (e.g., 1.24)
41+
- Go version: (e.g., 1.25)
4242
- confkit version: (e.g., v0.5.0)
4343
- Sources used: (e.g., FromEnv, FromYAML, FromVault)
4444
- OS: (Linux, macOS, Windows)

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
go-version: ["1.24", "1.25", "1.26"]
18+
go-version: ["1.25", "1.26"]
1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v4

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ confkit/
5555

5656
2. **Set up development environment**:
5757
```bash
58-
# Install required Go version (1.24+)
58+
# Install required Go version (1.25+)
5959
go version
6060

6161
# Install security tools (optional but recommended)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# confkit
22

3-
[![Go Version](https://img.shields.io/badge/go-1.24%2B-blue)](https://golang.org/doc/devel/release)
3+
[![Go Version](https://img.shields.io/badge/go-1.25%2B-blue)](https://golang.org/doc/devel/release)
44
[![Go Reference](https://pkg.go.dev/badge/github.com/MimoJanra/confkit.svg)](https://pkg.go.dev/github.com/MimoJanra/confkit)
55
[![Tests](https://github.com/MimoJanra/confkit/actions/workflows/test.yml/badge.svg)](https://github.com/MimoJanra/confkit/actions/workflows/test.yml)
66
[![codecov](https://codecov.io/gh/MimoJanra/confkit/branch/main/graph/badge.svg)](https://codecov.io/gh/MimoJanra/confkit)
@@ -77,7 +77,7 @@ if err != nil {
7777
}
7878
```
7979

80-
**Go 1.24.0+ · zero mandatory dependencies beyond yaml.v3 and go-toml/v2 · MIT**
80+
**Go 1.25.0+ · zero mandatory dependencies beyond yaml.v3 and go-toml/v2 · MIT**
8181

8282
---
8383

docs/docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Install confkit and load your first configuration in 5 minutes.
1313
go get github.com/MimoJanra/confkit@latest
1414
```
1515

16-
**Requirements:** Go 1.24.0 or later
16+
**Requirements:** Go 1.25.0 or later
1717

1818
## Your First Config
1919

docs/docs/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ import "github.com/MimoJanra/confkit/aws"
7373

7474
## Minimum Go Version
7575

76-
confkit requires **Go 1.24.0 or later**.
76+
confkit requires **Go 1.25.0 or later**.
7777

78-
**Why Go 1.24.0?**
78+
**Why Go 1.25.0?**
7979
- Generics for type-safe `Load[T]` API
8080
- Improved `range` statement (iterate over integers and slices with range-only syntax)
8181
- Enhanced iteration semantics
@@ -89,8 +89,8 @@ go version
8989
If you have an older version, update it:
9090

9191
```bash
92-
go install golang.org/dl/go1.24@latest
93-
go1.24 download
92+
go install golang.org/dl/go1.25@latest
93+
go1.25 download
9494
```
9595

9696
## Dependencies

docs/docs/migration-v0.10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Invalid configuration:
166166

167167
## Compatibility Notes
168168

169-
- **Go version:** Requires Go 1.24.0+
169+
- **Go version:** Requires Go 1.25.0+
170170
- **Dependencies:** No new dependencies
171171
- **Submodules:** All submodules (Vault, Consul, AWS, etc.) updated to match
172172
- **Core API:** Only the return type changed; all methods remain the same

docs/recipes/env-only.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ go run main.go
105105
### Dockerfile
106106

107107
```dockerfile
108-
FROM golang:1.24 AS builder
108+
FROM golang:1.25 AS builder
109109
WORKDIR /app
110110
COPY . .
111111
RUN go build -o app main.go

docs/recipes/yaml-env-overrides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ go run main.go
132132
In a Dockerfile:
133133

134134
```dockerfile
135-
FROM golang:1.24 AS builder
135+
FROM golang:1.25 AS builder
136136
WORKDIR /app
137137
COPY . .
138138
RUN go build -o app main.go

llms-full.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ confkit is a **production-ready typed configuration loader for Go services**. It
2222

2323
- **v0.1–v0.5:** Feature-complete, stable, production-tested
2424
- **v0.6+:** Planned (config composition, advanced validation, Prometheus integration)
25-
- **Go version required:** 1.24.0+ (for generics)
25+
- **Go version required:** 1.25.0+ (for generics)
2626
- **License:** MIT
2727

2828
### 1.3 Getting Started with Examples
@@ -1154,7 +1154,7 @@ go get github.com/MimoJanra/confkit@latest
11541154
**Dependencies:**
11551155
- `gopkg.in/yaml.v3` — YAML parsing
11561156
- `github.com/pelletier/go-toml/v2` — TOML parsing
1157-
- Go 1.24.0+ (for generics)
1157+
- Go 1.25.0+ (for generics)
11581158

11591159
Binary size impact: ~15KB core library
11601160

0 commit comments

Comments
 (0)