Skip to content

Commit 3f7f2d8

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
fix(docs): sweep stale version refs, add blog descriptions, update VSCode CHANGELOG (#510)
* fix(docs): sweep stale version refs, add blog descriptions, update VSCode CHANGELOG Three user-reported issues fixed plus comprehensive metadata sweep: 1. Blog changelog shows v1.14 but no descriptions: - Root cause: split-changelog.js generates bare titles without description field - Fix: added description extraction from first body line to frontmatter - Fix: BlogList.tsx now renders post.description below title - Fix: added subtitles to CHANGELOG v1.14.0 and v1.13.0 headers 2. VSCode extension release notes missing v1.13 and v1.14: - Root cause: vscode-extension/CHANGELOG.md stopped at v1.12.1 - Fix: added comprehensive v1.13.0 and v1.14.0 entries 3. Stale version references across docs (comprehensive sweep): - llms.txt: v1.12.1 -> v1.14.0, added MariaDB/ClickHouse to dialect list - docs/SECURITY.md: v1.12.0 -> v1.14.0 - docs/PRODUCTION_GUIDE.md: v1.12.0 -> v1.14.0 - docs/README.md: v1.12.0 -> v1.14.0 (2 locations) - docs/API_REFERENCE.md: v1.12.0 -> v1.14.0 - docs/CLI_GUIDE.md: v1.12.0 -> v1.14.0 - docs/LSP_GUIDE.md: v1.13.0 -> v1.14.0 - docs/LINTING_RULES.md: v1.13.0 -> v1.14.0 - cmd/gosqlx/doc.go: v1.13.0 -> v1.14.0 - CLAUDE.md: v1.13.0 -> v1.14.0 4. Linter rule count updates (10 -> 30): - glama.json: rules count, rule_ids array (L001-L030), lint_sql description - CLAUDE.md: linter component description - cmd/gosqlx/cmd/root.go: lint subcommand comment - pkg/linter/README.md: status line and roadmap heading Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(website): YAML-safe blog descriptions, fix Vercel build The split-changelog.js description extraction broke YAML frontmatter parsing for older blog posts (v0.9.0 etc.) because: - Descriptions starting with "- " are YAML array syntax - Truncated descriptions could end with a dangling quote Fix: skip list-item lines, escape double quotes to single, trim to 160 chars to avoid truncation in the middle of a word, fall back to subtitle or generic "GoSQLX vX.Y.Z release" when no prose line found. Verified: all 17 blog posts parse with gray-matter, next build generates all 50 pages successfully. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e6a47df commit 3f7f2d8

35 files changed

Lines changed: 272 additions & 145 deletions

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
## [1.14.0] - 2026-04-12
10+
## [1.14.0] - 2026-04-12 — Dialect-Aware Transforms, Snowflake 100%, Schema Introspection
1111

1212
Headline themes: dialect-aware transforms, Snowflake at 100% of the QA corpus, ClickHouse significantly expanded (83% of the QA corpus, up from 53%), live schema introspection, SQL transpilation, and first-class integration sub-modules (OpenTelemetry and GORM). Drop-in upgrade from v1.13.0 — no breaking changes.
1313

@@ -146,7 +146,7 @@ Carried over from v1.13.0 (no new deprecations in v1.14.0):
146146
- **MCP server**: bumped to **1.14.0** — glama.json updated with MariaDB and ClickHouse in dialect list
147147
- **`pygosqlx` Python bindings**: bumped to **0.2.0** — Python bindings follow an independent semver track (alpha) since they have not yet received the same QA sweep as the core library
148148

149-
## [1.13.0] - 2026-03-20
149+
## [1.13.0] - 2026-03-20 — ClickHouse Dialect & LSP Semantic Tokens
150150

151151
### Added
152152
- ClickHouse SQL dialect support (`DialectClickHouse = "clickhouse"`) with 30+ keywords

CLAUDE.md

Lines changed: 3 additions & 3 deletions
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.26+ (upgraded from 1.23 to fix stdlib vulnerabilities; `mark3labs/mcp-go` requires 1.23)
1010

11-
**Production Status**: ✅ Validated for production deployment (v1.6.0+, current: v1.13.0)
11+
**Production Status**: ✅ Validated for production deployment (v1.6.0+, current: v1.14.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.)
@@ -26,7 +26,7 @@ GoSQLX is a **production-ready**, **race-free**, high-performance SQL parsing SD
2626
- **Errors** (`pkg/errors/`): Structured error handling with position tracking
2727
- **Metrics** (`pkg/metrics/`): Production performance monitoring
2828
- **Security** (`pkg/sql/security/`): SQL injection detection with severity classification
29-
- **Linter** (`pkg/linter/`): SQL linting engine with 10 built-in rules (L001-L010)
29+
- **Linter** (`pkg/linter/`): SQL linting engine with 30 built-in rules (L001-L030)
3030
- **LSP** (`pkg/lsp/`): Language Server Protocol for IDE integration
3131
- **GoSQLX** (`pkg/gosqlx/`): High-level simple API (recommended for most users)
3232
- **Compatibility** (`pkg/compatibility/`): API stability testing
@@ -229,7 +229,7 @@ Install with: `task hooks:install`
229229
- `docs/GETTING_STARTED.md` - Quick start guide
230230
- `docs/USAGE_GUIDE.md` - Comprehensive usage patterns
231231
- `docs/LSP_GUIDE.md` - LSP server and IDE integration
232-
- `docs/LINTING_RULES.md` - All 10 linting rules reference
232+
- `docs/LINTING_RULES.md` - All 30 linting rules reference
233233
- `docs/SQL_COMPATIBILITY.md` - SQL dialect compatibility matrix
234234
- `docs/ARCHITECTURE.md` - Detailed system design
235235
- `https://gosqlx.dev` - Official website with interactive playground

cmd/gosqlx/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var (
8989
// - format: Intelligent SQL formatting with AST-based transformations
9090
// - parse: AST structure inspection with multiple output formats
9191
// - analyze: Security and complexity analysis with grading
92-
// - lint: Style and quality checking with L001-L010 rules
92+
// - lint: Style and quality checking with L001-L030 rules
9393
// - lsp: Language Server Protocol server for IDE integration
9494
// - config: Configuration file management
9595
// - completion: Shell autocompletion setup

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.13.0
27+
// Current version: 1.14.0
2828
//
2929
// # Architecture
3030
//

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.12.0)
1+
# GoSQLX API Reference (v1.14.0)
22

33
## Table of Contents
44

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.12.0
4-
**Last Updated**: 2026-03-13
3+
**Version**: v1.14.0
4+
**Last Updated**: 2026-04-12
55

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

docs/LINTING_RULES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SQL Linting Rules Reference
22

3-
**Version**: v1.13.0
3+
**Version**: v1.14.0
44
**Last Updated**: 2026-03-20
55

66
This document provides a complete reference for all GoSQLX SQL linting rules (L001-L010).

docs/LSP_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GoSQLX Language Server Protocol (LSP) Guide
22

3-
**Version**: v1.13.0
3+
**Version**: v1.14.0
44
**Last Updated**: 2026-03-20
55

66
## Table of Contents
@@ -446,4 +446,4 @@ tail -f /tmp/gosqlx-lsp.log | grep -E "Initialize|Document|Diagnostic"
446446
---
447447

448448
**Last Updated**: 2026-03-20
449-
**Version**: v1.13.0
449+
**Version**: v1.14.0

docs/PRODUCTION_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GoSQLX Production Deployment Guide
22

3-
**Version**: v1.12.0 | **Last Updated**: 2026-03-15
3+
**Version**: v1.14.0 | **Last Updated**: 2026-04-12
44

55
Comprehensive guide for deploying GoSQLX in production environments.
66

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Comprehensive documentation for the GoSQLX SQL parsing SDK.
44

5-
**Current Version**: v1.12.0 | **Last Updated**: 2026-03-15
5+
**Current Version**: v1.14.0 | **Last Updated**: 2026-04-12
66

7-
## Feature Overview (v1.12.0)
7+
## Feature Overview (v1.14.0)
88

99
GoSQLX is a production-ready, high-performance SQL parsing SDK for Go with comprehensive feature support:
1010

0 commit comments

Comments
 (0)