Skip to content

Bump apex-parser to 5.1.0-beta.1#30

Merged
nawforce merged 1 commit into
mainfrom
bump-apex-parser-5.1.0-beta.1
May 16, 2026
Merged

Bump apex-parser to 5.1.0-beta.1#30
nawforce merged 1 commit into
mainfrom
bump-apex-parser-5.1.0-beta.1

Conversation

@kjonescertinia

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the test/dev dep on apex-parser from 5.0.0 to 5.1.0-beta.1 (JVM build.sbt + npm package.json).
  • Picks up the new MultilineStringLiteral token, fully-qualified enum values in switch when, SOQL GROUP BY functions, and SOSL WITH DIVISION bind variables.
  • Simplifies AntlrParser to use the new ApexParserFactory.createLexerAndParser helper (added post-5.0.0) in place of the inline create-listener-attach pattern.

Test plan

  • sbt scalafmtCheckAll
  • sbt parserJVM/Test/compile parserJS/Test/compile
  • SAMPLES=~/adt/apex-samples sbt parserJVM/test — 6314 tests pass
  • sbt parserJS/test — 52 tests pass
  • CI green

Picks up the new multi-line string literal lexer tokens, fully-qualified
enum values in switch `when` clauses, SOQL GROUP BY functions, and SOSL
WITH DIVISION bind variables.

Simplifies AntlrParser to use the new ApexParserFactory.createLexerAndParser
helper (added post-5.0.0) instead of the inline create-listener-attach
pattern.
@nawforce nawforce merged commit fd0dfb1 into main May 16, 2026
1 check passed
@nawforce nawforce deleted the bump-apex-parser-5.1.0-beta.1 branch May 16, 2026 22:04
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.

2 participants