Commit 3f7f2d8
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
File tree
- cmd/gosqlx
- cmd
- docs
- pkg/linter
- vscode-extension
- website
- scripts
- src
- app/blog
- content/blog
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments