Skip to content

Commit 3662058

Browse files
Ajit Pratap Singhclaude
authored andcommitted
docs: update CHANGELOG with LSP server and PR #129 changes
- Added LSP server implementation details (CLI-009) - Added MATERIALIZED CTE support documentation - Added comprehensive metrics system features - Added AST pool architecture improvements - Added bug fixes section for type assertions and race conditions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 134f680 commit 3662058

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11+
- **Language Server Protocol (LSP)** (CLI-009): Full LSP server implementation for IDE integration
12+
- `textDocument/didOpen`, `textDocument/didChange` - Document synchronization
13+
- `textDocument/publishDiagnostics` - Real-time SQL syntax error reporting
14+
- `textDocument/hover` - Keyword/function documentation (60+ keywords)
15+
- `textDocument/completion` - SQL autocomplete (100+ keywords, 20+ snippets)
16+
- `textDocument/formatting` - SQL formatting support
17+
- `textDocument/documentSymbol` - SQL statement outline
18+
- `textDocument/signatureHelp` - Function signatures (20+ SQL functions)
19+
- `textDocument/codeAction` - Quick fixes (add semicolon, uppercase keywords)
20+
- Rate limiting (100 req/sec), content size limits, malformed request handling
21+
- **MATERIALIZED CTE Support** (Phase 2.6): PostgreSQL-compatible `AS MATERIALIZED` and `AS NOT MATERIALIZED` syntax
22+
- **Comprehensive Metrics System**: Thread-safe performance monitoring
23+
- Parser operation metrics (duration, errors, statement counts)
24+
- AST pool metrics (gets/puts/balance for AST, statement, expression pools)
25+
- Tokenizer pool metrics with hit rate tracking
1126
- **GROUPING SETS, ROLLUP, CUBE** (SQL-99 T431): Complete grouping operations support for advanced aggregations
1227
- **MERGE Statements** (SQL:2003 F312): Full MERGE support with WHEN MATCHED/NOT MATCHED clauses
1328
- **Materialized Views**: CREATE, DROP, REFRESH MATERIALIZED VIEW support
@@ -17,6 +32,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1732
- **Subquery Support**: Scalar, table, correlated, EXISTS subqueries
1833
- **NULLS FIRST/LAST**: ORDER BY null ordering (SQL-99 F851)
1934

35+
### Improved
36+
- **AST Pool Architecture**: Iterative cleanup with work queue pattern to prevent stack overflow
37+
- Added 8 new expression pools (Exists, Any, All, List, Unary, Extract, Position, Substring)
38+
- MaxCleanupDepth and MaxWorkQueueSize limits for deeply nested expressions
39+
- **Type Assertion Safety**: Added proper `ok` pattern checking in `alter.go` and `value.go`
40+
- **Race Condition Fixes**: Fixed data races in metrics, documents, and watch modules
41+
- **Tokenizer Column Calculation**: Consistent 1-based column numbers, never negative
42+
43+
### Fixed
44+
- Critical type assertion panics in ALTER and VALUE parsing
45+
- Race conditions in concurrent document management
46+
- LSP hover returning nil instead of empty response
47+
2048
## [1.5.1] - 2025-11-15 - Phases 2-3 Test Coverage Completion
2149

2250
### 🎯 Phase 3 Complete: Token and Tokenizer Coverage Enhancement

0 commit comments

Comments
 (0)