Skip to content

fix: adopt KQL v0.7.30 and SPL v0.12.5 parsers - #77

Merged
hazcod merged 1 commit into
mainfrom
fix/cli-parser-adoption-20261126
Nov 26, 2026
Merged

hazcod merged 1 commit into
mainfrom
fix/cli-parser-adoption-20261126

Conversation

@hazcod

@hazcod hazcod commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Pins the latest released parsers so csctl validation picks up the upstream fixes:

  • kql-parser v0.7.26 → v0.7.30: finite arg_min/arg_max outputs, hint-suffixed field names, hint option validation, datetime and multiline literal preservation.
  • spl-parser v0.12.2 → v0.12.5: option, macro and subsearch normalization fixes, De Morgan in LDAP filter extraction, fieldformat and multi-function convert grammar.

The SPL syntax-failure test compared the grammar's complete expected-token list, which changes with every grammar addition (it broke on the new fieldformat token). It now checks the stable part of the message; the modified test passes on both the old and the new pins.

Validation: go build ./..., go vet ./... and go test ./... pass locally with GOWORK=off.

🤖 Generated with Claude Code

Pin the latest released parsers so csctl validation picks up the
upstream fixes: finite arg_min/arg_max outputs, hint-suffixed KQL field
names, KQL datetime and multiline literals, SPL option, macro and
subsearch normalization, and the fieldformat/convert grammar.

The SPL syntax-failure test compared the grammar's complete
expected-token list, which changes with every grammar addition. It now
checks the stable part of the message.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@hazcod
hazcod enabled auto-merge (squash) November 26, 2026 20:57
@hazcod
hazcod merged commit 72c110a into main Nov 26, 2026
9 checks passed
@hazcod
hazcod deleted the fix/cli-parser-adoption-20261126 branch November 26, 2026 20:58
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.31 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant