GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(deps): bump io.github.apex-dev-tools:apex-parser from 4.4.1 to 5.0.0 by dependabot[bot] · Pull Request #6612 · pmd/pmd

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Copy link
Copy Markdown
Contributor

Bumps io.github.apex-dev-tools:apex-parser from 4.4.1 to 5.0.0.

Release notes

Sourced from io.github.apex-dev-tools:apex-parser's releases.

v5.0.0

What's Changed

  • Update README.md by @​adangel in apex-dev-tools/apex-parser#62
  • BREAKING: Move to antlr4 runtime for Typescript by @​pwrightcertinia in apex-dev-tools/apex-parser#66
  • Improve exported types by @​pwrightcertinia in apex-dev-tools/apex-parser#69
  • Support Anonymous Apex by @​pwrightcertinia in apex-dev-tools/apex-parser#70
  • Enable caseInsensitive lexer option by @​pwrightcertinia in apex-dev-tools/apex-parser#71
  • Update samples to 1.4.0 by @​pwrightcertinia in apex-dev-tools/apex-parser#73
  • fix: reorder memberDeclaration alternatives to prioritize class over field by @​mshanemc in apex-dev-tools/apex-parser#72
  • chore: update maven publish to use central portal by @​pwrightcertinia in apex-dev-tools/apex-parser#76
  • chore: prepare 5.0.0 beta.2 by @​pwrightcertinia in apex-dev-tools/apex-parser#77
  • Update to use ES Modules by @​pwrightcertinia in apex-dev-tools/apex-parser#79
  • Clarify dep patching by @​pwrightcertinia in apex-dev-tools/apex-parser#80
  • Temporarily bundle antlr4 until fixed by @​pwrightcertinia in apex-dev-tools/apex-parser#81

New Contributors

  • @​mshanemc made their first contribution in apex-dev-tools/apex-parser#72

Full Changelog: apex-dev-tools/apex-parser@v4.4.0...v5.0.0

v5.0.0-beta.5

What's Changed

  • Temporarily bundle antlr4 until fixed by @​pwrightcertinia in apex-dev-tools/apex-parser#81

Full Changelog: apex-dev-tools/apex-parser@v5.0.0-beta.4...v5.0.0-beta.5

v5.0.0-beta.4

What's Changed

  • Clarify dep patching by @​pwrightcertinia in apex-dev-tools/apex-parser#80

Full Changelog: apex-dev-tools/apex-parser@v5.0.0-beta.3...v5.0.0-beta.4

v5.0.0-beta.3

What's Changed

  • Update to use ES Modules by @​pwrightcertinia in apex-dev-tools/apex-parser#79

Full Changelog: apex-dev-tools/apex-parser@v5.0.0-beta.2...v5.0.0-beta.3

v5.0.0-beta.2

What's Changed

  • Update samples to 1.4.0 by @​pwrightcertinia in apex-dev-tools/apex-parser#73
  • fix: reorder memberDeclaration alternatives to prioritize class over field by @​mshanemc in apex-dev-tools/apex-parser#72
  • chore: update maven publish to use central portal by @​pwrightcertinia in apex-dev-tools/apex-parser#76

New Contributors

  • @​mshanemc made their first contribution in apex-dev-tools/apex-parser#72

... (truncated)

Changelog

Sourced from io.github.apex-dev-tools:apex-parser's changelog.

5.0.0

General

  • (BREAKING) Updated to ANTLR runtime 4.13.2, using the ANTLR tool to generate both target languages.

  • Enabled caseInsensitive option for lexers (added in ANTLR 4.10).

    • As a result, CaseInsensitiveInputStream is deprecated and should no longer be required.
  • Added ApexParserFactory class to create parsers, token streams, and lexers.

    • Primarily for TS to avoid directly creating antlr4 class instances.
    • In Java, it still requires passing a CharStream or CommonTokenStream to create parsers.
  • Added abstract class ApexErrorListener:

    • Implement method apexSyntaxError(line, column, message) to avoid antlr specific types.
  • Added support for parsing Anonymous Apex via anonymousUnit (.apex files) and anonymousBlock parser rules.

  • Re-ordered memberDeclaration alternate rules to de-prioritise field declarations due to its typeDef rule.

Java

  • Added Check.run to programmatically run syntax check operation on a path.

TypeScript/NPM

  • (BREAKING) Migrated from antlr4ts to official antlr4 runtime package.

    • Some lesser used methods are missing in the type definitions, refer to the antlr4 Javascript code if you need to cast types.
    • Generated Listener/Visitor interfaces are now abstract classes.
      • Introduced Base classes to extend instead, following pattern of Java classes of the same name. Change:
        • implements ApexParserListener to extends ApexParserBaseListener
        • implements ApexParserVisitor<T> to extends ApexParserBaseVisitor<T>
    • Parser rule contexts now have _list() methods for multi rules.
      • A rule expr* generates expr_list() and expr(number).
      • By contrast Java would have overloads of expr()/expr(int) returning list or value.
  • (BREAKING) Updated to ES Module format. Node 20/22, TypeScript 5.9 support require(esm).

    • Increased min node version to 20.
    • antlr4 has to be patched to fix module resolution of the type declaration files.
      • The patch is applied to a bundled version of the package.
      • For reference it is also published under patches/*.
  • (BREAKING) Re-exported antlr classes CommonTokenStream and ParseTreeWalker removed.

    • Added type aliases like ApexTokenStream, ApexParseTree, and more to use with listener/visitor/walker.
    • For the walker, use ApexParseTreeWalker.DEFAULT. Same instance but typed for ApexParserListener and ApexParseTree.
    • It should no longer be required to depend on antlr4 package directly.
      • Can still add the package as a dependency, but remember to match the version apex-parser uses.
  • CaseInsensitiveInputStream (deprecated) type now extends CharStream and can be constructed from string.

    • Constructor passing in CharStream retained to match Java version.

... (truncated)

Commits
  • 872e214 chore: bump pom version to 5.0.0 for maven release
  • c2a20b1 chore: release 5.0.0
  • e99045e Merge pull request #81 from apex-dev-tools/bundle-antlr
  • 8f0e6d2 chore: bump beta version
  • 1962eba chore: update changelog about bundled antlr
  • cc3c18f chore: update package-lock.json
  • 02726f3 fix: switch to bundling a patched antlr4
  • aeda8c6 Merge pull request #80 from apex-dev-tools/fix-dep
  • 869e308 chore: update changelog to clarify patch use
  • dcb96b1 fix: move patch-package to dev deps
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dependabot
chore(deps): bump io.github.apex-dev-tools:apex-parser
b6e1199
Bumps [io.github.apex-dev-tools:apex-parser](https://github.com/apex-dev-tools/apex-parser) from 4.4.1 to 5.0.0.
- [Release notes](https://github.com/apex-dev-tools/apex-parser/releases)
- [Changelog](https://github.com/apex-dev-tools/apex-parser/blob/main/CHANGELOG.md)
- [Commits](apex-dev-tools/apex-parser@v4.4.1...v5.0.0)

---
updated-dependencies:
- dependency-name: io.github.apex-dev-tools:apex-parser
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 22, 2026
@codacy-production

codacy-production Bot commented Apr 22, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes. Give us feedback

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adangel adangel mentioned this pull request May 8, 2026
[core] Fix #4972: Update ANTLR from 4.9.3 to 4.13.2 #6621
Merged
2 tasks done
@adangel adangel added this to the 7.25.0 milestone May 8, 2026
@adangel
adangel merged commit 981d2e2 into main May 8, 2026
6 of 9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dependabot
dependabot Bot deleted the dependabot/maven/io.github.apex-dev-tools-apex-parser-5.0.0 branch May 8, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Milestone

7.25.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@adangel
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.