Skip to content

Commit

Permalink
New Point Release
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Lischke <mike@lischke-online.de>
  • Loading branch information
mike-lischke committed Dec 15, 2024
1 parent 0df4c5f commit 28ccec5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antlr4ng",
"version": "3.0.11",
"version": "3.0.12",
"type": "module",
"description": "Alternative JavaScript/TypeScript runtime for ANTLR4",
"main": "dist/index.cjs",
Expand Down
12 changes: 12 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

# TypeScript Runtime for ANTLR 4 Release Notes

## 3.0.12

- Added debug config for ANLTR4 grammars (for testing).
- Fixed a wrong method name in DecisionInfo.
- Removed automatic reordering of start and stop in Interval. It's by intention to accept whatever comes in. Also change Interval.toString() to conform with the Java runtime.
- IntervalSet accepts a list of values in its constructor, to ease creation for non-continuous value ranges.
- Fixed source interval retrieval in ParseRuleContext (now working like in Java).
- Moved isolated test specs to the API folder, to stay close to the other specs.
- Added a new test spec for XPath.
- SingletonPredictionContext imported EmptyPredictionContext for just one test, which created a circular dependency situation.
- Fixed two off-by-one bugs in IntervalSet.

## 3.0.11

- Each ATN instance now uses its own instance of the LL1Analyzer. This cannot be shared.
Expand Down

0 comments on commit 28ccec5

Please sign in to comment.