Skip to content

Commit e132d4a

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
docs: release v1.10.0 — version bumps, changelog, and documentation updates (#359)
Bump version from 1.9.3 to 1.10.0 across 24 files: - Go constants: gosqlx.Version, cmd Version, MCP server version - CHANGELOG.md: finalize [Unreleased] as [1.10.0] - 2026-03-13 - All docs/ headers updated to v1.10.0 - MIGRATION.md: add v1.9.x → v1.10.0 section (Go 1.23+ requirement) - README.md: update highlights to MCP Server feature - doc.go: add v1.10.0 to version history - performance_baselines.json, llms.txt, CLAUDE.md Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e073902 commit e132d4a

24 files changed

Lines changed: 70 additions & 59 deletions

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to GoSQLX will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased] — MCP Server
8+
## [1.10.0] - 2026-03-13 — MCP Server
99

1010
### ✨ New Features
1111
- **MCP Server** (`pkg/mcp/`, `cmd/gosqlx-mcp/`): All GoSQLX SQL capabilities as Model Context Protocol tools over streamable HTTP

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GoSQLX is a **production-ready**, **race-free**, high-performance SQL parsing SD
88

99
**Requirements**: Go 1.23+ (upgraded from 1.21 when MCP server was added; `mark3labs/mcp-go` requires 1.23)
1010

11-
**Production Status**: ✅ Validated for production deployment (v1.6.0+, current: v1.9.0)
11+
**Production Status**: ✅ Validated for production deployment (v1.6.0+, current: v1.10.0)
1212
- Thread-safe with zero race conditions (20,000+ concurrent operations tested)
1313
- 1.38M+ ops/sec sustained, 1.5M peak with memory-efficient object pooling
1414
- ~80-85% SQL-99 compliance (window functions, CTEs, set operations, MERGE, etc.)

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,34 +68,32 @@ GoSQLX is a high-performance SQL parsing library designed for production use. It
6868
- **MCP Server** (v1.10.0): `gosqlx-mcp` exposes all 7 SQL tools as [Model Context Protocol](https://modelcontextprotocol.io) tools over streamable HTTP — integrate GoSQLX into Claude, Cursor, and any MCP-compatible AI assistant
6969
- **Production Ready**: Battle-tested with 0 race conditions detected, ~85% SQL-99 compliance, Apache-2.0 licensed
7070

71-
### Performance & Quality Highlights (v1.9.0)
71+
### Performance & Quality Highlights (v1.10.0)
7272

7373
<div align="center">
7474

7575
| **~50%** | **1.25M+** | **<1μs** | **6** | **84%+** | **74** |
7676
|:---------:|:-------:|:----------:|:----------:|:-------:|:---------:|
7777
| Faster Parsing | Peak Ops/sec | Latency | SQL Dialects | Parser Coverage | New Commits |
7878

79-
**v1.9.0 Released****SQLite PRAGMA****Tautology Detection****19 Post-UAT Fixes****lint CI-gate****UNION false-positive fix**
79+
**v1.10.0 Released****MCP Server****7 AI-Ready SQL Tools****Streamable HTTP****Bearer Auth****Go 1.23+**
8080

8181
</div>
8282

83-
### What's New in v1.9.0
83+
### What's New in v1.10.0
8484

8585
<div align="center">
8686

8787
| Feature | Description |
8888
|---------|-------------|
89-
| **SQLite PRAGMA** | Fully parsed: bare (`PRAGMA x`), arg (`PRAGMA x(n)`), assignment (`PRAGMA x=v`) forms |
90-
| **WITHOUT ROWID** | SQLite `CREATE TABLE ... WITHOUT ROWID`; reserved keywords valid as DDL column names |
91-
| **Tautology Detection** | `ScanSQL()` detects `1=1`, `'a'='a'`, `col=col`, `OR TRUE` → CRITICAL severity |
92-
| **UNION False-positive Fix** | `PatternUnionInjection` (CRITICAL, system tables) vs `PatternUnionGeneric` (HIGH) |
93-
| **lint CI-gate** | `gosqlx lint` now exits 1 on any violation — usable in CI pipelines without `--fail-on-warn` |
94-
| **CLI Output Fixes** | token_count, Query Size, CTE output, SELECT indentation, ✅/❌ validate output all corrected |
95-
| **Parser Fixes** | KEY/INDEX in qualified names, NATURAL JOIN type, OVER window_name, backtick/bracket identifiers |
96-
| **E1009** | Dedicated error code `ErrCodeUnterminatedBlockComment` for unterminated `/* ... */` comments |
97-
98-
See [CHANGELOG.md](CHANGELOG.md) for the complete list of 19 fixes in this release.
89+
| **MCP Server** | All GoSQLX SQL capabilities as [Model Context Protocol](https://modelcontextprotocol.io) tools over streamable HTTP |
90+
| **7 MCP Tools** | `validate_sql`, `format_sql`, `parse_sql`, `extract_metadata`, `security_scan`, `lint_sql`, `analyze_sql` |
91+
| **Bearer Auth** | Optional authentication via `GOSQLX_MCP_AUTH_TOKEN` environment variable |
92+
| **Concurrent Analysis** | `analyze_sql` fans out all 6 tools concurrently via `sync.WaitGroup` |
93+
| **Multi-Dialect MCP** | Validate against postgresql, mysql, sqlite, sqlserver, oracle, snowflake, or generic |
94+
| **Go 1.23+** | Minimum Go version bumped to 1.23.0 (required by `mark3labs/mcp-go`) |
95+
96+
See [CHANGELOG.md](CHANGELOG.md) for the complete release details. See [MCP_GUIDE.md](docs/MCP_GUIDE.md) for setup instructions.
9997

10098
</div>
10199

cmd/gosqlx/cmd/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
//
342342
// Version information:
343343
//
344-
// Version = "1.9.3" - Current CLI version
344+
// Version = "1.10.0" - Current CLI version
345345
//
346346
// # Dependencies
347347
//

cmd/gosqlx/cmd/root.go

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ import (
2828
// This version tracks feature releases and compatibility.
2929
// Format: MAJOR.MINOR.PATCH (Semantic Versioning 2.0.0)
3030
//
31-
// Version 1.9.3 includes:
32-
// - Fix pkg.go.dev license detection (Apache-2.0 now properly detected)
33-
// - Comprehensive doc improvements across the project (PR #351)
34-
// - Open-source health files (CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md)
35-
// - LLM discovery metadata (llms.txt, llms-full.txt) (PR #350)
36-
// - SEO improvements for project discoverability
37-
// - Fix leading blank line in vscode-extension/LICENSE (PR #352)
38-
var Version = "1.9.3"
31+
// Version 1.10.0 includes:
32+
// - MCP Server: All GoSQLX SQL capabilities as Model Context Protocol tools over streamable HTTP
33+
// - 7 MCP tools: validate_sql, format_sql, parse_sql, extract_metadata, security_scan, lint_sql, analyze_sql
34+
// - Optional bearer token auth via GOSQLX_MCP_AUTH_TOKEN
35+
// - Go minimum bumped to 1.23.0 (required by mark3labs/mcp-go)
36+
var Version = "1.10.0"
3937

4038
var (
4139
// verbose enables detailed output for debugging and troubleshooting.
@@ -123,7 +121,7 @@ Key features:
123121
• CI/CD integration with proper exit codes
124122
125123
Performance: 1.5M+ operations/second sustained, 1.97M peak. 100-1000x faster than competitors.`,
126-
Version: "1.9.3",
124+
Version: "1.10.0",
127125
}
128126

129127
// Execute adds all child commands to the root command and sets flags appropriately.

cmd/gosqlx/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//
2525
// # Version
2626
//
27-
// Current version: 1.9.0
27+
// Current version: 1.10.0
2828
//
2929
// # Architecture
3030
//

doc.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// zero-copy tokenization and comprehensive object pooling. It offers enterprise-grade SQL lexing,
1717
// parsing, and AST generation with support for multiple SQL dialects and advanced SQL features.
1818
//
19-
// GoSQLX v1.9.0 includes both a powerful Go SDK and a high-performance CLI tool for SQL processing,
19+
// GoSQLX v1.10.0 includes both a powerful Go SDK and a high-performance CLI tool for SQL processing,
2020
// validated for production deployment with race-free concurrent operation and extensive real-world testing.
2121
//
2222
// Production Status: VALIDATED FOR PRODUCTION DEPLOYMENT (v1.6.0+)
@@ -278,6 +278,9 @@
278278
//
279279
// # Version History
280280
//
281+
// v1.10.0: MCP Server — all SQL tools as Model Context Protocol tools over streamable HTTP
282+
// v1.9.0: SQLite PRAGMA, tautology detection, 19 post-UAT fixes
283+
// v1.8.0: Multi-dialect engine, query transforms, WASM playground, AST-to-SQL roundtrip
281284
// v1.6.0: PostgreSQL extensions (LATERAL, JSON operators, DISTINCT ON, FILTER, RETURNING)
282285
// v1.5.0: GROUPING SETS, ROLLUP, CUBE, MERGE statements, materialized views
283286
// v1.4.0: Window functions with PARTITION BY, ORDER BY, frame clauses

docs/API_REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GoSQLX API Reference (v1.9.0)
1+
# GoSQLX API Reference (v1.10.0)
22

33
## Table of Contents
44

docs/ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# GoSQLX Architecture Documentation
22

3-
**Version**: v1.9.0
4-
**Last Updated**: 2026-02-28
3+
**Version**: v1.10.0
4+
**Last Updated**: 2026-03-13
55

66
## Table of Contents
77
- [System Overview](#system-overview)

docs/CLI_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# GoSQLX CLI Guide
22

3-
**Version**: v1.9.0
4-
**Last Updated**: 2026-02-28
3+
**Version**: v1.10.0
4+
**Last Updated**: 2026-03-13
55

66
The GoSQLX Command Line Interface (CLI) provides high-performance SQL parsing, validation, formatting, and analysis capabilities directly from your terminal.
77

0 commit comments

Comments
 (0)