Skip to content

tp: roll syntaqlite to 0.12.1 - #7635

Merged
LalitMaganti merged 1 commit into
mainfrom
dev/lalitm/roll-syntaqlite-0.11
Sep 29, 2026
Merged

LalitMaganti merged 1 commit into
mainfrom
dev/lalitm/roll-syntaqlite-0.11

Conversation

@LalitMaganti

@LalitMaganti LalitMaganti commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Rolls syntaqlite from 0.10.1 to 0.12.1.

0.11.0 renamed macro rewrites to rewrites, since a dialect's host can now expand parsed nodes too (which pipeline subqueries use):

Before After
syntaqlite_result_macro_count syntaqlite_result_rewrite_count
syntaqlite_result_macro_rewrite_at syntaqlite_result_rewrite_at
SyntaqliteMacroRewrite SyntaqliteRewrite
SYNTAQLITE_MACRO_PARENT_SOURCE SYNTAQLITE_REWRITE_PARENT_SOURCE

0.12.0 expands such nodes once their statement is parsed, so the host sees the whole statement, and generates the same keyword tables on every run. 0.12.1 lets the expander read the statement's root, even for the first statement of a source (needed for pipelines reading outer CTEs).

This updates the parser and the analysis source tree to the new names, bumps the CLI and npm pins (tools/roll_syntaqlite 0.12.1 --regen), and regenerates the vendored parser. No behaviour change.

@LalitMaganti
LalitMaganti requested a review from a team as a code owner September 27, 2026 15:55
@LalitMaganti
LalitMaganti added this pull request to stack #7636 September 27, 2026 16:28
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/roll-syntaqlite-0.11 branch from 72df2dd to 0285d93 Compare September 27, 2026 17:38
@LalitMaganti LalitMaganti changed the title tp: roll syntaqlite to 0.11.1 tp: roll syntaqlite to 0.11.2 Sep 27, 2026
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/roll-syntaqlite-0.11 branch from 0285d93 to 5cb814b Compare September 27, 2026 19:17
@LalitMaganti LalitMaganti changed the title tp: roll syntaqlite to 0.11.2 tp: roll syntaqlite to 0.12.0 Sep 27, 2026
@LalitMaganti
LalitMaganti removed this pull request from stack #7636 September 27, 2026 19:36
@LalitMaganti
LalitMaganti added this pull request to stack #7638 September 27, 2026 19:37
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/roll-syntaqlite-0.11 branch from 5cb814b to 3198d03 Compare September 28, 2026 04:19
@LalitMaganti LalitMaganti changed the title tp: roll syntaqlite to 0.12.0 tp: roll syntaqlite to 0.12.1 Sep 28, 2026
Comment thread ui/package.json Outdated
0.11.0 renamed macro rewrites to rewrites, since a dialect's host can now
expand parsed nodes too: syntaqlite_result_macro_count and
syntaqlite_result_macro_rewrite_at are syntaqlite_result_rewrite_count
and syntaqlite_result_rewrite_at, SyntaqliteMacroRewrite is
SyntaqliteRewrite, and SYNTAQLITE_MACRO_PARENT_SOURCE is
SYNTAQLITE_REWRITE_PARENT_SOURCE. 0.12.0 expands such nodes once their
statement is parsed, and generates the same keyword tables on every run.
0.12.1 lets the expander read the statement's root, even for the first
statement of a source.

Update the parser and the analysis source tree to the new names, bump the
CLI and npm pins, and regenerate the vendored parser.
@LalitMaganti
LalitMaganti force-pushed the dev/lalitm/roll-syntaqlite-0.11 branch from 3198d03 to 4d18578 Compare September 28, 2026 23:00
@LalitMaganti
LalitMaganti merged commit f1811be into main Sep 29, 2026
28 checks passed
@LalitMaganti
LalitMaganti deleted the dev/lalitm/roll-syntaqlite-0.11 branch September 29, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants