build(deps): bump @apexdevtools/apex-parser to 5.1.0#840
Merged
Conversation
5.1.0 adds SOQL FORMULA() support, which nests the WHERE-clause grammar under new where-prefixed rules — the beta API no longer exists. - move apex-parser 5.1.0-beta.1 → 5.1.0 in lana and log-viewer - migrate SOQLLinter WHERE traversal: logicalExpression → whereLogicalExpression, conditionalExpression_list → whereConditionalExpression_list, fieldExpression → whereFieldExpression().fieldExpression()
lcottercertinia
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move
@apexdevtools/apex-parserfrom5.1.0-beta.1to the5.1.0stable release in bothlana/andlog-viewer/.Breaking change handled
5.1.0 adds SOQL
FORMULA()support, which restructured the WHERE-clause grammar: the conditional tree now nests underwhere-prefixed rules.whereClause.logicalExpression()no longer exists (broke 12 SOQL-linter tests).Migrated
SOQLLinter.ts(4 call sites):logicalExpression()→whereLogicalExpression()conditionalExpression_list()→whereConditionalExpression_list()exp.fieldExpression()→exp.whereFieldExpression()?.fieldExpression()FieldExpressionContextis unchanged, so.fieldName()/.comparisonOperator()/.value()calls are untouched.New capability (not yet adopted)
SOQL
FORMULA()in WHERE clauses now parses — available if we want a linter/formatter rule later.Verification
typecheck ✓ · lint ✓ · 962 tests ✓ (12 previously-failing SOQL-linter tests pass) · rollup build ✓ · rolldown build ✓.