Skip to content

ajitpratap0/GoSQLX

v1.0.0 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ast cli dialect go lsp mysql
+13 more
parser postgresql query-analyzer security sql sql-formatter sql-injection sql-linter sql-parser sql-validator sqlite wasm zero-copy

Summary

AI summary

GoSQLX reaches production readiness with major performance gains and full documentation.

Full changelog

GoSQLX v1.0.0 - Production Ready Release 🚀

We're excited to announce the first stable production release of GoSQLX!

🎯 Release Highlights

Performance

  • 2.2M ops/sec sustained throughput
  • 8M tokens/sec processing speed
  • 47% faster than v0.9.0
  • < 200ns latency for simple queries
  • 60-80% memory reduction with intelligent pooling

Production Ready

  • Zero race conditions detected in extensive testing
  • 20,000+ concurrent operations validated
  • 115+ real-world SQL queries tested
  • Linear scaling to 128+ cores
  • Thread-safe implementation

✨ Key Features

Core Capabilities

  • 🚀 Zero-copy tokenization for maximum performance
  • 💾 Object pooling for memory efficiency
  • 🌍 Full Unicode/UTF-8 support for international SQL
  • 🔧 Multi-dialect support: PostgreSQL, MySQL, SQL Server, Oracle, SQLite
  • 📊 AST generation from SQL tokens
  • 🎯 Position tracking with line/column information

New in v1.0.0

  • MySQL backtick identifier support
  • Enhanced error reporting
  • Comprehensive test suite
  • Production validation suite
  • Performance benchmarking tools
  • Real-world SQL compatibility testing

📦 Installation

go get github.com/ajitpratap0/[email protected]

🚀 Quick Start

package main

import (
    "fmt"
    "log"
    
    "github.com/ajitpratap0/GoSQLX/pkg/sql/tokenizer"
    "github.com/ajitpratap0/GoSQLX/pkg/sql/parser"
)

func main() {
    // Get tokenizer from pool
    tkz := tokenizer.GetTokenizer()
    defer tokenizer.PutTokenizer(tkz)
    
    // Tokenize SQL
    sql := "SELECT id, name FROM users WHERE age > 18"
    tokens, err := tkz.Tokenize([]byte(sql))
    if err != nil {
        log.Fatal(err)
    }
    
    fmt.Printf("Generated %d tokens\n", len(tokens))
}

📊 Performance Benchmarks

BenchmarkTokenizer/SimpleSQL-16         965,466    1,238 ns/op    1,585 B/op    20 allocs/op
BenchmarkParser/SimpleSelect-16       6,330,259      185 ns/op      536 B/op     9 allocs/op
BenchmarkThroughput-16                3,144,678      381 ns/op    2.2M ops/sec
BenchmarkTokensPerSecond-16             733,141    1,619 ns/op    8.0M tokens/sec

🧪 Quality Metrics

| Metric | Value |
|--------|-------|
| Race Conditions | 0 detected |
| Test Coverage | 95%+ |
| Real-world SQL | 115+ queries |
| International Support | 8 languages |
| Memory Efficiency | 60-80% reduction |

📚 Documentation

🛠️ Example Tools

This release includes example command-line tools:

  • sql-validator: Validate SQL syntax across dialects
  • sql-formatter: Format SQL queries

🙏 Acknowledgments

Thanks to all contributors and the Go community for making this release possible!

📝 Changelog

See CHANGELOG.md for detailed changes.

🔮 What's Next

  • v1.0.1: Performance monitoring package (PR #7)
  • v1.1.0: Streaming parser for large files
  • v1.2.0: Query optimization hints

Full Changelog: https://github.com/ajitpratap0/GoSQLX/compare/v0.9.0...v1.0.0

What's Changed

  • Updating module to work with actual path by @SunnysideAaron in https://github.com/ajitpratap0/GoSQLX/pull/5

New Contributors

  • @SunnysideAaron made their first contribution in https://github.com/ajitpratap0/GoSQLX/pull/5

Full Changelog: https://github.com/ajitpratap0/GoSQLX/commits/v1.0.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track ajitpratap0/GoSQLX

Get notified when new releases ship.

Sign up free

About ajitpratap0/GoSQLX

7 SQL tools (validate, format, parse, lint, security scan, metadata extraction, full analysis) over Streamable HTTP. Public remote server at mcp.gosqlx.dev - no install needed. 1.25M+ ops/sec, 6 SQL dialects.

All releases →

Related context

Beta — feedback welcome: [email protected]