Repository navigation
GoSQLX v1.18.0
High-performance SQL parsing SDK for Go with zero-copy tokenization and object pooling.
Changelog
New Features
- 3d4121f feat(bench): corpus manifest and benchcorpus loader [W0-01] (#895)
- 77c08d2 feat(bench): expand competitor harness with peers, cells and schema v2 [W0-10] (#914)
- 11f55dd feat(bench): per-arch baselines, matrix/pgo tasks, methodology doc [W0-12] (#917)
- b849c8f feat(parser): PostgreSQL INSERT target-table alias INSERT INTO t AS u (#969)
Bug Fixes
- 4def1cb fix(ast): separate ALTER TABLE actions with commas in SQL() [W5-02b] (#907)
- 4c63822 fix(ci): reject unconfirmed Glama builds (#860)
- 9bc2da0 fix(deps): patch npm security alerts in website and vscode-extension (#977)
- 8c98501 fix(linter): make Context.Nodes safe for concurrent rule Check [W6-05a] (#928)
- 0e860ec fix(lsp): exact linear documentSymbol ranges from parser spans [W0-06f] (#965)
- 2b52179 fix(parser): locking-clause order and CREATE OR REPLACE in the generic dialect (#970)
- 8c5052d fix(parser): precise per-part compound keyword spans on every entry point [W3-03a2] (#966)
- ca0f11e fix(scaletest): require three sample pairs before a linear-growth verdict (#952)
Performance
- 95bb0c3 ci(perf): GOMEMLIMIT with GOGC=off, pinned toolchain, cachegrind I1, matrix mode [W0-15] (#921)
- 6d35301 ci(perf): adaptive layouts bring low-power benchmarks to 80% power [W0-16] (#949)
- 01ee824 ci(perf): gate LintRW, LintRule L007/L010 and ParseError in the shadow suite (#927)
- 4111df7 ci(perf): interleaved A/B perf gate in shadow mode [W0-09] (#916)
- 6399dc0 ci(perf): randomize code layout in the A/B perf gate so layout noise cannot read as a regression (#934)
- e642cc1 perf(ast): ASCII fast path in identifierNeedsQuoting, hash-free isReservedName [W5-04] (#945)
- 533148d perf(ast): O(1) ReleaseAST for parser-built trees with no pooled draws [W4-01] (#930)
- f0117c0 perf(bench): interop benchmarks and size budget [W0-08] (#908)
- 08bdb65 perf(cbinding): pool JSON scratch, release ASTs and cache linters [W8-01] (#943)
- fde4b51 perf(fingerprint): token-stream normal form as default with v2 prefix [W5-08] (#960)
- f03332f perf(formatter): render compact SELECT/INSERT/UPDATE/DELETE through SQL() [W5-02] (#904)
- f618636 perf(gosqlx): build wrapped error messages lazily [W1-03] (#905)
- 80f0092 perf(gosqlx): drop duplicate trim in Validate, fix fast-path docs [W7-10a] (#954)
- e25fa96 perf(keywords): allocation-free case-insensitive keyword lookups [W2-07] (#944)
- 49252c2 perf(keywords): single-pass allocation-free DetectDialect [W7-09] (#955)
- 6d29d68 perf(linter): allocation-free L007 keyword-case scan [W6-03] (#896)
- 6e86a6b perf(linter): move aliasing and 4 visitor rules onto Context.Nodes() [W6-05b] (#953)
- 8889402 perf(linter): pooled parser and dialect tokenizer in LintString [W6-06ab] (#957)
- 21ffc4d perf(linter): release AST and recycle tokens after Check for all rule sets [W6-06cd] (#962)
- 68a04b4 perf(linter): shared cached preorder node list for AST rules [W6-05a] (#906)
- ddbd4f9 perf(linter): single-pass byte scan for L010 redundant whitespace [W6-04] (#902)
- ff7790d perf(lsp): cheaper semanticTokens [W6-11] (#948)
- 07c6fef perf(metrics): count pool stats only while metrics are enabled [W1-07] (#939)
- c05c5fd perf(metrics): typed padded lock-free counters for standard pools [W1-01] (#918)
- 1f82800 perf(parser): co-allocate small slices and size lists exactly [W4-04] (#931)
- 98f7489 perf(parser): currentToken as a pointer into p.tokens with a per-parser EOF sentinel [W3-02] (#922)
- 36482b4 perf(parser): size joins slice from a JOIN-count hint [W4-03] (#929)
- cda05b2 perf(parser): type-gated preprocess fast path [W3-01] (#919)
- ffaae91 perf(security): linear stacked-query matcher replaces three regexes [W6-09] (#959)
- 24879bd perf(security): necessary-condition guards for ScanSQL [W6-01] (#900)
- b1d8625 perf(security): one-pass Aho-Corasick literal prefilter for ScanSQL [W6-08] (#942)
- aaddf7d perf(security): pooled struct visitor for Scanner.Scan [W6-02] (#938)
- fd7eb53 perf(tokenizer): build tokens in place instead of copying them by value [W2-10] (#926)
- 5407cc0 perf(tokenizer): inline current-line window for token Start/End locations [W2-02] (#924)
- d29c644 perf(tokenizer): read the clock only when metrics are enabled [W1-02] (#923)
- 69a5a72 perf(tokenizer): single fused-hash keyword table [W2-01] (#920)
- afec16a perf(tokenizer): zero-copy @PARAM and @@var token values [W2-03] (#925)
- 22dba65 perf(transpiler): skip operator retargeting when source has no retargetable construct [W7-01] (#946)
- 4f8dae1 perf(wasm): compact typed AST JSON v1, single-parse Lint, dialect-aware validate [W8-04] (#950)
- 319b55b perf(website): run the playground WASM in a Web Worker and show the editor while it loads (#894)
Other
- 58e116a Feat/generic postgres grammar (#971)
- fb63e32 chore(changelog): per-PR changelog fragments to stop CHANGELOG.md conflicts (#961)
- 15e202e chore(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates (#890)
- a17c475 chore(deps-dev): bump undici from 7.30.1 to 7.30.2 in /vscode-extension (#976)
- 0bc894b chore(plugin): prepare GoSQLX plugin for Anthropic's plugin directory (#893)
- 3922d47 chore(release): point version banners and install pins at v1.17.0 (#892)
- 7ba0679 ci(release): shard the release race suite and redeploy MCP on version bumps (#979)
- 1f56d22 ci(release): tag-anchored benchmark claims and post-tag refresh step [W0-17] (#941)
- 7ce1cc3 ci(test): download Go modules up front with retries (#973)
- 9ccacb1 ci(test): shard the Race Detector job across four runners (#935)
- 12cd4b9 ci(vscode-extension): compile, lint and unit-test the extension on PRs (#978)
- b59dc0b docs(claude): Opus reviews every plan before implementation and every PR before merge (#951)
- a72ec74 docs(claude): add right-fix, breaking-change and agent-routing rules (#937)
- 1990a11 docs(release): correct v1.18.0 release-note claims found by verification (#981)
- 0709f4a docs(release): prepare v1.18.0 (#980)
- 9784397 fix(parser,tokenizer): ClickHouse/Snowflake lambda bodies and U& in dialects without & [W0-00a] (#901)
- 160c417 perf(fingerprint,formatter,transform): tokenize into the pooled scratch buffer [W5-01] (#903)
- f562e50 perf(parser,gosqlx): reserve the parse stack once before tokenizing [W1-04] (#940)
- 271e15e refactor(parser): move token classification into internal/tokclass with differential harness [W3-03a1] (#947)
- 2c2637d test(bench): high-level, render and transform benchmark matrix [W0-05] (#911)
- 962b458 test(bench): lint, security and LSP benchmark matrix [W0-06] (#910)
- a2b63b6 test(bench): server-shape benchmarks, alloc budgets, stack-depth test, frame script [W0-04] (#909)
- a5edda6 test(bench): tokenizer and parse-stage benchmark matrix [W0-03] (#913)
- 79774dd test(formatter): width-scaling regression guard [W5-13] (#958)
- 06f203e test(goldens): behaviour goldens over every corpus and dialect [W0-02] (#915)
- 88ca994 test(scaletest): widen quadratic size gap so expected-failure tests are not flaky (#972)
- e77e188 test(security): add ScanSQLStackedScript benchmark and gate it [W6-09] (#967)
- 0ba4304 test(security): measure TestStackedMatcherLinear with scaletest (#974)
- 71952a9 test(timing): replace wall-clock assertions with ratio and count checks [W0-00b] (#899)
- b420e2d test(transpiler): add TranspileRW/Shape benchmarks and prefilter differential test [W0-07] (#912)
- 198751b test(transpiler): kill scanSource byte-boundary mutants [W6-14] (#968)
Documentation
Full Changelog: v1.17.0...v1.18.0