Skip to content

Commit 1939d38

Browse files
Ajit Pratap Singhclaude
authored andcommitted
security: bump Go from 1.23 to 1.25.8 - fixes 5 stdlib vulnerabilities
Fixes: - GO-2026-4602: FileInfo can escape from Root in os - GO-2026-4601: Incorrect parsing of IPv6 host literals in net/url - GO-2026-4340: crypto/tls vulnerability - GO-2026-4337: crypto/tls vulnerability - GO-2025-4175: crypto/x509 vulnerability Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7cfe576 commit 1939d38

10 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.24'
20+
go-version: '1.26'
2121

2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v7

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: '1.24'
24+
go-version: '1.26'
2525

2626
- name: Run tests
2727
run: go test -race ./...

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Go
3131
uses: actions/setup-go@v5
3232
with:
33-
go-version: '1.21' # Match project requirements in go.mod
33+
go-version: '1.25' # Match project requirements in go.mod
3434
cache: true
3535

3636
- name: Run GoSec Security Scanner
@@ -182,7 +182,7 @@ jobs:
182182
- name: Set up Go
183183
uses: actions/setup-go@v5
184184
with:
185-
go-version: '1.21' # Match project requirements in go.mod
185+
go-version: '1.25' # Match project requirements in go.mod
186186
cache: true
187187

188188
- name: Install govulncheck

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
go-version: ['1.23', '1.24']
14+
go-version: ['1.25', '1.26']
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
os: [ubuntu-latest, macos-latest, windows-latest]
37-
go: ['1.23', '1.24']
37+
go: ['1.25', '1.26']
3838
env:
3939
# Prevent Go from auto-downloading toolchain which conflicts with setup-go cache
4040
GOTOOLCHAIN: local
@@ -71,7 +71,7 @@ jobs:
7171
- name: Set up Go
7272
uses: actions/setup-go@v5
7373
with:
74-
go-version: '1.24'
74+
go-version: '1.26'
7575
cache: true
7676

7777
- name: Run tests with race detector
@@ -87,7 +87,7 @@ jobs:
8787
- name: Set up Go
8888
uses: actions/setup-go@v5
8989
with:
90-
go-version: '1.24'
90+
go-version: '1.26'
9191
cache: true
9292

9393
- name: Run benchmarks

.github/workflows/vscode-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Go
5151
uses: actions/setup-go@v5
5252
with:
53-
go-version: '1.24'
53+
go-version: '1.26'
5454

5555
- name: Cross-compile binary
5656
env:

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Go
2929
uses: actions/setup-go@v5
3030
with:
31-
go-version: '1.23'
31+
go-version: '1.25'
3232

3333
- name: Build WASM
3434
run: |

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
GoSQLX is a **production-ready**, **race-free**, high-performance SQL parsing SDK for Go that provides lexing, parsing, and AST generation with zero-copy optimizations. The library is designed for enterprise use with comprehensive object pooling for memory efficiency.
88

9-
**Requirements**: Go 1.23+ (upgraded from 1.21 when MCP server was added; `mark3labs/mcp-go` requires 1.23)
9+
**Requirements**: Go 1.25+ (upgraded from 1.23 to fix stdlib vulnerabilities; `mark3labs/mcp-go` requires 1.23)
1010

1111
**Production Status**: ✅ Validated for production deployment (v1.6.0+, current: v1.12.0)
1212
- Thread-safe with zero race conditions (20,000+ concurrent operations tested)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build
2-
FROM golang:1.23-alpine AS builder
2+
FROM golang:1.25-alpine AS builder
33
WORKDIR /app
44
COPY go.mod go.sum ./
55
RUN go mod download

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### Parse SQL at the speed of Go
88

9-
[![Go Version](https://img.shields.io/badge/Go-1.23+-00ADD8?style=for-the-badge&logo=go)](https://go.dev)
9+
[![Go Version](https://img.shields.io/badge/Go-1.25+-00ADD8?style=for-the-badge&logo=go)](https://go.dev)
1010
[![Release](https://img.shields.io/github/v/release/ajitpratap0/GoSQLX?style=for-the-badge&color=orange)](https://github.com/ajitpratap0/GoSQLX/releases)
1111
[![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg?style=for-the-badge)](LICENSE)
1212
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge)](http://makeapullrequest.com)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ajitpratap0/GoSQLX
22

3-
go 1.23.0
3+
go 1.25.8
44

55
require (
66
github.com/fsnotify/fsnotify v1.9.0

0 commit comments

Comments
 (0)