Open renovate[bot] opened 1 year ago
@renovate[bot] thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo
from the code, please don't forget to remove it.
@h1alexbel please review this Pull Request. Deadline (when it should be merged or closed) is 2023-08-31T09:59:24.188389
.
You should check if the requirements have been implemented (partially or in full), if there are unit tests covering the changes and if the CI build passes. Feel free to reject the PR or ask for changes if it's too big or not clear enough.
Estimation here is 30 minutes
, that's how much you will be paid. You will be paid even if this PR gets rejected.
@h1alexbel Don't forget to close this ticket before the deadline (2023-08-31T09:59:24). You are past the first half of the allowed period.
@h1alexbel Looks like you've missed the task deadline (2023-08-31T09:59:24). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.
@h1alexbel I couldn't find any assignee for this task. This is either because there are no contributors with role REV
available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.
This PR contains the following updates:
4.9.2
->4.13.1
Release Notes
antlr/antlr4 (org.antlr:antlr4-runtime)
### [`v4.13.1`](https://togithub.com/antlr/antlr4/releases/tag/4.13.1) [Compare Source](https://togithub.com/antlr/antlr4/compare/4.13.0...4.13.1) #### Pull requests grouped by target ##### csharp target - [\[CSharp\] Fix for #4386 -- change signatures for ReportAttemptingFullContext() and ReportContextSensitivity() to be identical to all other targets](https://togithub.com/antlr/antlr4/pull/4399) (target:csharp, type:cleanup) ##### go target - [Move GetText(), SetText(), and String() from CommonToken to BaseToken](https://togithub.com/antlr/antlr4/pull/4397) (target:go, type:cleanup) - [Restore "Obtained from string" source name.](https://togithub.com/antlr/antlr4/pull/4396) (target:go, type:cleanup) - [fix: Fix very minor code issues spotted by goreportcard.com](https://togithub.com/antlr/antlr4/pull/4276) (target:go, type:cleanup) ##### java target - [Java: suppress `this-escape` warning introduced in JDK 21.](https://togithub.com/antlr/antlr4/pull/4394) (actions, target:java) ##### javascript target - [Adds default targets for babel configuration](https://togithub.com/antlr/antlr4/pull/4323) (target:javascript) - [fix dependabot warnings](https://togithub.com/antlr/antlr4/pull/4272) (target:javascript, type:cleanup) ##### swift target - [\[SWIFT\] Add Antlr4Dynamic product](https://togithub.com/antlr/antlr4/pull/4363) (target:swift) - [Cleanup duplicate SwiftTarget code](https://togithub.com/antlr/antlr4/pull/4339) (target:swift, type:cleanup) ##### dart target - [\[Dart\] Fix for #4320--export additional types](https://togithub.com/antlr/antlr4/pull/4340) (type:bug, target:dart) #### Contributors - 2 items: [Ken Domino](https://togithub.com/kaby76) (kaby76) - 2 items: [Jerry Berg](https://togithub.com/googleberg) (googleberg) - 2 items: [ericvergnaud](https://togithub.com/ericvergnaud) - 1 items: [Yichen Yan](https://togithub.com/oraluben) (oraluben) - 1 items: [Grzegorz Spryszyński](https://togithub.com/GrzegorzSpryszynski-TomTom) (GrzegorzSpryszynski-TomTom) - 1 items: [tison](https://togithub.com/tisonkun) (tisonkun) - 1 items: [Nacho Cordón](https://togithub.com/ncordon) (ncordon) - 1 items: [Hervé Boutemy](https://togithub.com/hboutemy) (hboutemy) - 1 items: [Jim Idle](https://togithub.com/jimidle) (jimidle) ### [`v4.13.0`](https://togithub.com/antlr/antlr4/releases/tag/4.13.0) [Compare Source](https://togithub.com/antlr/antlr4/compare/4.12.0...4.13.0) This is primarily change to the Go target itself and its release location, which has moved to https://github.com/antlr4-go/antlr. The code still lives and this repository, but for release purposes we've created a new organization and repository so that Go users can pull versions down according to the repository and label rules #### Issues fixed - [antlr4 jar doubled in size in 4.9.3](https://togithub.com/antlr/antlr4/issues/4226) (unicode, comp:performance) - [Go: exponentially bad/absymal performance as of ...](https://togithub.com/antlr/antlr4/issues/3934) (type:bug, target:go) - [Go runtime panic](https://togithub.com/antlr/antlr4/issues/3929) (type:bug, target:go) #### Improvements, features - [Update LexerATNSimulator.cs with virtual Consume](https://togithub.com/antlr/antlr4/pull/4197) (type:improvement, target:csharp) - [Feature/fixembedding](https://togithub.com/antlr/antlr4/pull/4176) (type:improvement, target:go, comp:performance) - [Provide Javascript port of TokenStreamRewriter](https://togithub.com/antlr/antlr4/pull/3560) (type:feature, target:javascript, target:typescript) #### Pull requests grouped by target ##### csharp target - [Update LexerATNSimulator.cs with virtual Consume](https://togithub.com/antlr/antlr4/pull/4197) (type:improvement, target:csharp) ##### cpp target - [Optimize the concurrent performance of Cpp target by more than 10 times](https://togithub.com/antlr/antlr4/pull/4237) (target:cpp, comp:performance, threading) - [Issue #4185: Too many artifacts fail to upload](https://togithub.com/antlr/antlr4/pull/4186) (comp:build, target:cpp, comp:testing) - [Limit use of Posix threads to Unix](https://togithub.com/antlr/antlr4/pull/4140) (target:cpp, threading) - [cmake: Fix output dir for Visual Studio generator](https://togithub.com/antlr/antlr4/pull/4121) (comp:build, target:cpp) - [Cpp: Remove code duplication](https://togithub.com/antlr/antlr4/pull/3995) (target:cpp, type:cleanup) ##### go target - [Feature/newrepo - Transition Go code to new runtime repo](https://togithub.com/antlr/antlr4/pull/4275) (target:go) - [Feature/docsNew release documentation and release notes for Go](https://togithub.com/antlr/antlr4/pull/4273) (comp:doc, target:go) - [Change closureCheckingStopState from recursive to iterative](https://togithub.com/antlr/antlr4/pull/4256) (target:go) - [Export generated data structures](https://togithub.com/antlr/antlr4/pull/4255) (target:go) - [fix: Allow CommonTokenStream to reset properly](https://togithub.com/antlr/antlr4/pull/4245) (target:go) - [feat: Adds actual usable @ actions to the go templates](https://togithub.com/antlr/antlr4/pull/4238) (target:go) - [Feat: Clean up go input streams to be a little more efficient](https://togithub.com/antlr/antlr4/pull/4233) (target:go) - [Add support to Golang codegen for booleans](https://togithub.com/antlr/antlr4/pull/4231) (target:go) - [Clean up go runtime testrig](https://togithub.com/antlr/antlr4/pull/4225) (target:go, comp:testing) - [feat: More reasonable wins in performance](https://togithub.com/antlr/antlr4/pull/4224) (target:go) - [Feature/memory](https://togithub.com/antlr/antlr4/pull/4223) (target:go, comp:performance) - [More performance improvements](https://togithub.com/antlr/antlr4/pull/4210) (target:go, comp:performance) - [Improve PredictionContext performance, fix bugs](https://togithub.com/antlr/antlr4/pull/4196) (target:go) - [Don't Panic! 50% plus performance improvement](https://togithub.com/antlr/antlr4/pull/4192) (target:go, comp:performance) - [Fix the prediction cache and the comparison algorithms from the legacy code](https://togithub.com/antlr/antlr4/pull/4187) (target:go) - [Improve runtime performance of the Go runtime test suite](https://togithub.com/antlr/antlr4/pull/4181) (target:go, comp:performance) - [Fix #3967 Merge of Prediction Context arrays was broken](https://togithub.com/antlr/antlr4/pull/4180) (target:go) - [Feature/fixembedding](https://togithub.com/antlr/antlr4/pull/4176) (type:improvement, target:go, comp:performance) - [Feature/docclean Greatly improve the godoc comments in the runtime](https://togithub.com/antlr/antlr4/pull/4169) (comp:doc, target:go) - [Feature/gotestfix](https://togithub.com/antlr/antlr4/pull/4168) (target:go) - [Feature/gotestfix Fixes Go runtime test suite](https://togithub.com/antlr/antlr4/pull/4163) (target:go, comp:testing, type:cleanup) - [Feature/fix 4150 - prevent invalid codegen in Go](https://togithub.com/antlr/antlr4/pull/4161) (type:bug, target:go) - [Remove redundant source code from go runtime](https://togithub.com/antlr/antlr4/pull/4155) (target:go, type:cleanup) - [fix: Some code that should have been destined for /v4 was instead put…](https://togithub.com/antlr/antlr4/pull/4154) (target:go, type:cleanup) ##### javascript target - [\[JavaScript\] Exporting syntaxErrorsCount](https://togithub.com/antlr/antlr4/pull/4261) (target:javascript) - [\[Javascript\] Added support for commonjs in nodejs package](https://togithub.com/antlr/antlr4/pull/4217) (target:javascript) - [do not modify String.prototype in js package](https://togithub.com/antlr/antlr4/pull/4200) (target:javascript) - [Provide Javascript port of TokenStreamRewriter](https://togithub.com/antlr/antlr4/pull/3560) (type:feature, target:javascript, target:typescript) ##### python3 target - [Minor typo](https://togithub.com/antlr/antlr4/pull/4271) (target:python3) - [Remove redundant **name** check in multiple files](https://togithub.com/antlr/antlr4/pull/4222) (target:python3) - [\[Python3\] Move the metadata into `PEP 621`-compliant `pyproject.toml`.](https://togithub.com/antlr/antlr4/pull/4153) (comp:build, target:python3) #### Contributors - 23 items: [Jim Idle](https://togithub.com/jimidle) (jimidle) - 4 items: [ericvergnaud](https://togithub.com/ericvergnaud) - 2 items: [HS](https://togithub.com/hs-apotell) (hs-apotell) - 2 items: [Josua Frank](https://togithub.com/Sharknoon) (Sharknoon) - 2 items: [Robert Adam](https://togithub.com/Krzmbrzl) (Krzmbrzl) - 1 items: [Rodrigo Antonio Godinho da Silva](https://togithub.com/killerall) (killerall) - 1 items: [Tao Wang](https://togithub.com/wangtao9) (wangtao9) - 1 items: [Michael de Hoog](https://togithub.com/mdehoog) (mdehoog) - 1 items: [Ivan Kochurkin](https://togithub.com/KvanTTT) (KvanTTT) - 1 items: [Mikołaj Podbielski](https://togithub.com/mikolajpod) (mikolajpod) - 1 items: [Ahmad Tameem](https://togithub.com/Tameem97) (Tameem97) - 1 items: [Adrian Jutrowski](https://togithub.com/Tarjei400) (Tarjei400) - 1 items: [Jon Harris](https://togithub.com/jharris4) (jharris4) - 1 items: [Alberto Simões](https://togithub.com/cxambs) (cxambs) - 1 items: [KOLANICH](https://togithub.com/KOLANICH) (KOLANICH) - 1 items: [hieunguyen2211](https://togithub.com/hieunguyen2211) - 1 items: [Leonardo Sarmiento](https://togithub.com/Leo1690) (Leo1690) - 1 items: [Prashant-Jagtap](https://togithub.com/Prashant-Jagtap) - 1 items: [kirides](https://togithub.com/kirides) - 1 items: [Terence Parr](https://togithub.com/parrt) (parrt) - 1 items: [Eiríkur Fannar Torfason](https://togithub.com/eirikur-grid) (eirikur-grid) ### [`v4.12.0`](https://togithub.com/antlr/antlr4/releases/tag/4.12.0) [Compare Source](https://togithub.com/antlr/antlr4/compare/4.11.1...4.12.0) The 4.12.0 release is primarily about the new TypeScript target created by [@ericvergnaud](https://togithub.com/ericvergnaud). There are also a number of fixes to the various targets, as you can see from the descriptions below. #### Issues fixed - [github actions now fail for python2 and ubuntu clang and ubuntu swift](https://togithub.com/antlr/antlr4/issues/3988) (comp:runtime, comp:build, comp:testing) - [js mergeArrays output differs from java](https://togithub.com/antlr/antlr4/issues/3965) (atn-analysis, target:javascript) - [C++ target fails Performance/DropLoopEntryBranchInLRRule\_4.txt](https://togithub.com/antlr/antlr4/issues/3959) (atn-analysis, type:bug, target:cpp) - [Wrong grammarFileName in generated code](https://togithub.com/antlr/antlr4/issues/3937) (code-gen, type:bug) - [C++ crashes on new test ParserExec/ListLabelsOnRuleRefStartOfAlt.txt](https://togithub.com/antlr/antlr4/issues/3845) (atn-analysis, type:bug, target:cpp) - [\[JavaScript runtime\] Bad field name, bad comments](https://togithub.com/antlr/antlr4/issues/3710) (type:bug) #### Improvements, features - [Fully qualify std::move invocations to fix -Wunqualified-std-cast-call](https://togithub.com/antlr/antlr4/pull/4101) (type:improvement, target:cpp) - [Extract FileUtils updates by @ericvergnaud](https://togithub.com/antlr/antlr4/pull/4030) (type:improvement, cross-platform-issue, comp:testing) - [Extract unit test updates by @ericvergnaud needed for TypeScript](https://togithub.com/antlr/antlr4/pull/4029) (type:improvement, comp:testing) - [\[Go target\] Fix for #3926: Add accessors for tree navigation to interfaces in generated parser](https://togithub.com/antlr/antlr4/pull/3927) (trees-contexts, code-gen, type:improvement, target:go) - [GitHub Workflows security hardening](https://togithub.com/antlr/antlr4/pull/3847) (actions, type:improvement, comp:testing) #### Pull requests grouped by target ##### csharp target - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) ##### cpp target - [Fully qualify std::move invocations to fix -Wunqualified-std-cast-call](https://togithub.com/antlr/antlr4/pull/4101) (type:improvement, target:cpp) - [Cpp: cmake improvements](https://togithub.com/antlr/antlr4/pull/3996) (comp:build, target:cpp) - [Gcc version fix](https://togithub.com/antlr/antlr4/pull/3979) (comp:build, target:cpp, comp:testing) - [Fix cpp equals bug #3959](https://togithub.com/antlr/antlr4/pull/3978) (atn-analysis, type:bug, target:cpp) - [Fix 3845 nullptr cpp](https://togithub.com/antlr/antlr4/pull/3958) (atn-analysis, type:bug, target:cpp) - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) - [Updating the files in the Xcode project for ANTLR4 Cpp runtime.](https://togithub.com/antlr/antlr4/pull/3945) (target:cpp) - [Fixing reserve word NULL for cpp targets](https://togithub.com/antlr/antlr4/pull/3889) (grammars, target:cpp, type:cleanup) - [\[C++\] Fix the compiler errors reported by GCC 7](https://togithub.com/antlr/antlr4/pull/3885) (target:cpp) ##### go target - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) - [Remove unnecessary getter](https://togithub.com/antlr/antlr4/pull/3947) (target:go, type:cleanup) - [\[Go target\] Fix for #3926: Add accessors for tree navigation to interfaces in generated parser](https://togithub.com/antlr/antlr4/pull/3927) (trees-contexts, code-gen, type:improvement, target:go) - [fix: #3758 Extrememly poor performance on poorly written grammars](https://togithub.com/antlr/antlr4/pull/3880) (target:go, comp:performance) - [fix: Restore missing changes to v4 of go runtime](https://togithub.com/antlr/antlr4/pull/3871) (target:go, type:cleanup) - [\[Go\] Add Iterative tree walker in go](https://togithub.com/antlr/antlr4/pull/3740) (trees-contexts, target:go) ##### java target - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) ##### javascript target - [Js support encoding in file stream + packaging issues](https://togithub.com/antlr/antlr4/pull/4112) (target:javascript) - [Fix js webpack issue](https://togithub.com/antlr/antlr4/pull/4104) (target:javascript) - [Javascript fix missing export](https://togithub.com/antlr/antlr4/pull/4076) (target:javascript) - [Fix issue 3965](https://togithub.com/antlr/antlr4/pull/3972) (atn-analysis, target:javascript) - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) ##### python2 target - [Python LexerNoViableAltException is created with messages (#4095)](https://togithub.com/antlr/antlr4/pull/4097) (target:python2, target:python3) - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) ##### python3 target - [Python LexerNoViableAltException is created with messages (#4095)](https://togithub.com/antlr/antlr4/pull/4097) (target:python2, target:python3) - [Generate identical atn simulation output across targets to compare parsing functionality](https://togithub.com/antlr/antlr4/pull/3957) (atn-analysis, target:java, target:javascript, target:python2, target:python3, target:csharp, comp:doc, target:cpp, target:go, comp:testing) ##### swift target - [Small tweaks to Swift.stg to allow throwing operations in actions](https://togithub.com/antlr/antlr4/pull/4043) (actions, target:swift, type:cleanup) - [Fix two Swift profiling bugs](https://togithub.com/antlr/antlr4/pull/3954) (atn-analysis, target:swift) - [Don’t specify a default type for the exported Swift package library](https://togithub.com/antlr/antlr4/pull/3953) (comp:build, target:swift) - [Package.swift: provide an option to link against ANTLR 4 statically](https://togithub.com/antlr/antlr4/pull/3906) (comp:build, target:swift) - [Bring back the Package.swift in the project's root](https://togithub.com/antlr/antlr4/pull/3869) (actions, comp:build, target:swift) ##### php target - [php composer install](https://togithub.com/antlr/antlr4/pull/3980) (comp:build, comp:testing, target:php) - [Fix PHP test template and improve docs about debugging](https://togithub.com/antlr/antlr4/pull/3975) (atn-analysis, comp:doc, target:php) - [Add ATN tracing support for PHP target](https://togithub.com/antlr/antlr4/pull/3974) (target:php) ##### dart target #### Contributors - 14 items: [Terence Parr](https://togithub.com/parrt) (parrt) - 12 items: [ericvergnaud](https://togithub.com/ericvergnaud) - 2 items: [Ken Domino](https://togithub.com/kaby76) (kaby76) - 2 items: [Marcos Passos](https://togithub.com/marcospassos) (marcospassos) - 2 items: [Jeremiah Boyle](https://togithub.com/j3r3miah) (j3r3miah) - 2 items: [Nikolay Edigaryev](https://togithub.com/edigaryev) (edigaryev) - 2 items: [Jim Idle](https://togithub.com/jimidle) (jimidle) - 1 items: [Daniel Snider](https://togithub.com/danielsnider) (danielsnider) - 1 items: [Jordan Rupprecht](https://togithub.com/rupprecht) (rupprecht) - 1 items: [Sofyan-SU](https://togithub.com/Sofyan-SU) - 1 items: [Mykola (Nickolas) Pokhylets](https://togithub.com/nickolas-pohilets) (nickolas-pohilets) - 1 items: [Robert Adam](https://togithub.com/Krzmbrzl) (Krzmbrzl) - 1 items: [HS](https://togithub.com/hs-apotell) (hs-apotell) - 1 items: [Chris Kolbu](https://togithub.com/nesevis) (nesevis) - 1 items: [Tony Arnold](https://togithub.com/tonyarnold) (tonyarnold) - 1 items: [Brad B](https://togithub.com/BradB132) (BradB132) - 1 items: [Eric Mutta](https://togithub.com/ericmutta) (ericmutta) - 1 items: [acetousk](https://togithub.com/acetousk) - 1 items: [Chris](https://togithub.com/chris-miner) (chris-miner) - 1 items: [@TT](https://togithub.com/1sand0s) (1sand0s) - 1 items: [FireWolf](https://togithub.com/0xFireWolf) (0xFireWolf) - 1 items: [Gunnlaugur Thor Briem](https://togithub.com/gthb) (gthb) - 1 items: [Alex](https://togithub.com/sashashura) (sashashura) - 1 items: [Hervé Boutemy](https://togithub.com/hboutemy) (hboutemy) - 1 items: [Rishabh Arya](https://togithub.com/rishabh-arya95) (rishabh-arya95) ### [`v4.11.1`](https://togithub.com/antlr/antlr4/releases/tag/4.11.1): (just fixes 4.11.0 release issue) [Compare Source](https://togithub.com/antlr/antlr4/compare/4.11.0...4.11.1) Just fixes 4.11.0 release issue. I forgot to change runtime tool version so it didn't say SNAPSHOT. ### [`v4.11.0`](https://togithub.com/antlr/antlr4/releases/tag/4.11.0) [Compare Source](https://togithub.com/antlr/antlr4/compare/v4.10.1...4.11.0) 4.11.0 consist primarily: - a major rebuild of the Go target by [Jim Idle](https://togithub.com/jimidle). Please see [Go target doc](https://togithub.com/antlr/antlr4/blob/master/doc/go-target.md) for more information, as it now requires the go module stuff. - huge internal refractoring of testing and various target speed improvements by [Ivan Kochurkin](https://togithub.com/KvanTTT) - Getting all targets to run on all operating systems using github actions by [HS](https://togithub.com/hs-apotell). The details by type and target follow. ##### Issues fixed - [Disable failing CI tests in master](https://togithub.com/antlr/antlr4/issues/3823) (comp:build, comp:testing) - [Create accessor for Go-based IntervalSet.intervals](https://togithub.com/antlr/antlr4/issues/3801) (target:go) - [Grammar Name Conflict Golang with SPARQL issue](https://togithub.com/antlr/antlr4/issues/3758) (target:go, type:cleanup) - [Dependency declaration error in ANTLR 4.10.1](https://togithub.com/antlr/antlr4/issues/3733) (comp:build) - [Drop old version of Visual Studio C++ (2013, 2015, 2017)](https://togithub.com/antlr/antlr4/issues/3723) (comp:build, target:cpp) - [Circular grammar inclusion causes stack overflow in the tool.](https://togithub.com/antlr/antlr4/issues/2296) (comp:tool, type:bug) - [Cpp, Go, JavaScript, Python2/3: Template rendering error.](https://togithub.com/antlr/antlr4/issues/2016) (code-gen, comp:runtime, target:java, target:javascript, target:python2, target:python3, target:go) ##### Improvements, features - [Augment error message during testing to include full cause of problem.](https://togithub.com/antlr/antlr4/pull/3843) (type:improvement, comp:testing) - [Include swift & tool verification in CI workflow](https://togithub.com/antlr/antlr4/pull/3797) (type:improvement, comp:build, cross-platform-issue, target:swift) - [Issue #3783: CI Check Builds](https://togithub.com/antlr/antlr4/pull/3792) (type:improvement, comp:build, cross-platform-issue, comp:testing) - [Parallel lock free testing, remove potential deadlocks, cache static data, go to descriptor via test](https://togithub.com/antlr/antlr4/pull/3752) (comp:runtime, type:improvement, comp:testing) - [update getting-started doc](https://togithub.com/antlr/antlr4/pull/3748) (type:improvement, comp:doc) - [Getting Started has error](https://togithub.com/antlr/antlr4/issues/3744) (type:improvement, comp:doc) - [new nuget directory for building ANTLR4 C++ runtime as 3 Nuget packages](https://togithub.com/antlr/antlr4/pull/3741) (type:improvement, comp:build, target:cpp) - [Add interp tool like TestRig](https://togithub.com/antlr/antlr4/pull/3727) (comp:tool, type:feature) - [Issue 3720: Java 2 Security issue](https://togithub.com/antlr/antlr4/pull/3721) (type:improvement, target:java) - [Cpp: Disable warnings for external project](https://togithub.com/antlr/antlr4/pull/3707) (type:bug, type:improvement, target:cpp) - [Fix Docker README for arm OS user](https://togithub.com/antlr/antlr4/pull/3689) (type:improvement, comp:doc) ##### Pull requests grouped by target ##### csharp target - [Runtime tests fixes (C++, Python, PHP, C#)](https://togithub.com/antlr/antlr4/pull/3725) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) ##### cpp target - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [Cpp: Link to threads library](https://togithub.com/antlr/antlr4/pull/3794) (comp:build, target:cpp) - [\[C++\] Remove libuuid dependency ](https://togithub.com/antlr/antlr4/pull/3787) (comp:build, target:cpp, type:cleanup) - [Fix CMake syntax for variable expansion](https://togithub.com/antlr/antlr4/pull/3777) (comp:build, cross-platform-issue, target:cpp) - [Don't make class SementicContext::Empty final.](https://togithub.com/antlr/antlr4/pull/3776) (cross-platform-issue, target:cpp) - [new nuget directory for building ANTLR4 C++ runtime as 3 Nuget packages](https://togithub.com/antlr/antlr4/pull/3741) (type:improvement, comp:build, target:cpp) - [Runtime tests fixes (C++, Python, PHP, C#)](https://togithub.com/antlr/antlr4/pull/3725) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php) - [Cpp: Disable warnings for external project](https://togithub.com/antlr/antlr4/pull/3707) (type:bug, type:improvement, target:cpp) - [FindANTLR: Fix version RegEx](https://togithub.com/antlr/antlr4/pull/3706) (type:bug, comp:build, target:cpp) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) - [Improve ExternalProject cmake file](https://togithub.com/antlr/antlr4/pull/3697) (actions, comp:build, target:cpp) - [Windows specific fixes](https://togithub.com/antlr/antlr4/pull/3678) (comp:build, cross-platform-issue, target:cpp) ##### go target - [feat: Add a deprecation message to the existing v1 module](https://togithub.com/antlr/antlr4/pull/3855) (target:go, type:cleanup) - [Feature/gomod4110](https://togithub.com/antlr/antlr4/pull/3852) (target:go, type:cleanup) - [Optimize go tests runner and renable CircleCI go tests](https://togithub.com/antlr/antlr4/pull/3850) (comp:build, target:go, comp:testing) - [fix: #2016 Fix Go template list reference, go runtime and got test te…](https://togithub.com/antlr/antlr4/pull/3848) (target:go, type:cleanup) - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [doc: Start improving docs for #1374](https://togithub.com/antlr/antlr4/pull/3835) (comp:doc, target:go, type:cleanup) - [fix: #2016 - Generate correct iGo code for lists in a grammar, such a…](https://togithub.com/antlr/antlr4/pull/3834) (grammars, target:go) - [fix: #2826 Go template is incorrect for dynamic scopes](https://togithub.com/antlr/antlr4/pull/3832) (type:bug, target:go) - [fix: #3758 Allow for string being a keyword and fix go template to us…](https://togithub.com/antlr/antlr4/pull/3831) (target:go, type:cleanup) - [feat: Reduce initial memory allocations for collections](https://togithub.com/antlr/antlr4/pull/3830) (parsers, target:go) - [Feature/newhash](https://togithub.com/antlr/antlr4/pull/3829) (target:go, comp:performance) - [fix: Fixes for https://github.com/antlr/antlr4/issues/3718](https://togithub.com/antlr/antlr4/pull/3818) (type:bug, target:go, type:cleanup) - [Add Go accessor for IntervalSet.intervals](https://togithub.com/antlr/antlr4/pull/3800) (target:go) - [Ensure that only the tokens needed are fetched](https://togithub.com/antlr/antlr4/pull/3722) (target:java, target:go, comp:performance) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) ##### java target - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [Add `@SuppressWarnings("CheckReturnValue")` to prevent error_prone lib errors.](https://togithub.com/antlr/antlr4/pull/3807) (target:java) - [Fixing bug identified by https://github.com/antlr/antlr4/discussions/…](https://togithub.com/antlr/antlr4/pull/3726) (target:java, type:cleanup) - [Ensure that only the tokens needed are fetched](https://togithub.com/antlr/antlr4/pull/3722) (target:java, target:go, comp:performance) - [Issue 3720: Java 2 Security issue](https://togithub.com/antlr/antlr4/pull/3721) (type:improvement, target:java) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) - [Fix OSGi imports](https://togithub.com/antlr/antlr4/pull/3675) (comp:build, target:java) ##### javascript target - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [add license prefix](https://togithub.com/antlr/antlr4/pull/3793) (target:javascript) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) ##### python2 target - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [\[py2\] Fix SyntaxError due to F string](https://togithub.com/antlr/antlr4/pull/3813) (type:bug, target:python2) - [\[Python 3\] use build and twine to publish source and wheel](https://togithub.com/antlr/antlr4/pull/3806) (comp:build, target:python2, target:python3) - [Fix #3508: Document the $parser attribute and its use in target-agnostic grammars.](https://togithub.com/antlr/antlr4/pull/3802) (target:python2, target:python3, comp:doc) - [Runtime tests fixes (C++, Python, PHP, C#)](https://togithub.com/antlr/antlr4/pull/3725) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) - [Restore support for py3.5 by removing f-string in setup.py](https://togithub.com/antlr/antlr4/pull/3662) (target:python2) ##### python3 target - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [\[Python 3\] use build and twine to publish source and wheel](https://togithub.com/antlr/antlr4/pull/3806) (comp:build, target:python2, target:python3) - [Fix #3508: Document the $parser attribute and its use in target-agnostic grammars.](https://togithub.com/antlr/antlr4/pull/3802) (target:python2, target:python3, comp:doc) - [Runtime tests fixes (C++, Python, PHP, C#)](https://togithub.com/antlr/antlr4/pull/3725) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) ##### swift target - [Fix 2016 round 2](https://togithub.com/antlr/antlr4/pull/3841) (type:bug, target:java, target:javascript, target:python2, target:python3, target:swift, target:cpp, target:go) - [Include swift & tool verification in CI workflow](https://togithub.com/antlr/antlr4/pull/3797) (type:improvement, comp:build, cross-platform-issue, target:swift) - [Swift runtime tests run on Windows!](https://togithub.com/antlr/antlr4/pull/3767) (comp:build, target:swift, comp:testing) - [\[Swift\] let the Swift Package Manager choose between static or dynamic linking ](https://togithub.com/antlr/antlr4/pull/3743) (comp:build, target:swift) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) - [Update Swift Package to support static library](https://togithub.com/antlr/antlr4/pull/3669) (comp:build, target:swift) ##### php target - [Runtime tests fixes (C++, Python, PHP, C#)](https://togithub.com/antlr/antlr4/pull/3725) (target:python2, target:python3, target:csharp, target:cpp, comp:testing, target:php) - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) ##### dart target - [Constant folding for Python and other runtimes](https://togithub.com/antlr/antlr4/pull/3701) (code-gen, target:java, target:javascript, target:python2, target:python3, target:csharp, target:swift, target:cpp, target:go, target:dart, comp:performance, target:php) ##### Contributors - 11 items: [Jim Idle](https://togithub.com/jimidle) (jimidle) - 10 items: [Terence Parr](https://togithub.com/parrt) (parrt) - 10 items: [Ivan Kochurkin](https://togithub.com/KvanTTT) (KvanTTT) - 6 items: [HS](https://togithub.com/hs-apotell) (hs-apotell) - 4 items: [Robert Adam](https://togithub.com/Krzmbrzl) (Krzmbrzl) - 2 items: [James Taylor](https://togithub.com/JamesRTaylor) (JamesRTaylor) - 2 items: [Nicksxs](https://togithub.com/Nicksxs) (Nicksxs) - 1 items: [Tim McCormack](https://togithub.com/timmc) (timmc) - 1 items: [Travis Thieman](https://togithub.com/thieman) (thieman) - 1 items: [Qijia Liu](https://togithub.com/eagleoflqj) (eagleoflqj) - 1 items: [Ross Patterson](https://togithub.com/RossPatterson) (RossPatterson) - 1 items: [ericvergnaud](https://togithub.com/ericvergnaud) - 1 items: [Bryan Tan](https://togithub.com/Technius) (Technius) - 1 items: [Henner Zeller](https://togithub.com/hzeller) (hzeller) - 1 items: [GCer-Hidenori](https://togithub.com/GCer-Hidenori) - 1 items: [Eduardo Hernández Valdez ](https://togithub.com/saucesaft) (saucesaft) - 1 items: [100mango](https://togithub.com/100mango) - 1 items: [Mark Symons](https://togithub.com/msymons) (msymons) - 1 items: [Francis ANDRE](https://togithub.com/zosrothko) (zosrothko) - 1 items: [Guillaume](https://togithub.com/Candide7) (Candide7) - 1 items: [Tristan Swadell](https://togithub.com/TristonianJones) (TristonianJones) - 1 items: [Will Dazey](https://togithub.com/dazey3) (dazey3) - 1 items: [uji](https://togithub.com/uji) (uji) - 1 items: [Robert Varga](https://togithub.com/rovarga) (rovarga) - 1 items: [Hell_Ghost](https://togithub.com/HellGhost) (HellGhost) - 1 items: [Alex Mykyta](https://togithub.com/amykyta3) (amykyta3) - 1 items: [Nikolay Ognyanov](https://togithub.com/nikolayo) (nikolayo) - 1 items: [Andrew Pashkin](https://togithub.com/AndreiPashkin) (AndreiPashkin) ### [`v4.10.1`](https://togithub.com/antlr/antlr4/releases/tag/4.10.1) [Compare Source](https://togithub.com/antlr/antlr4/compare/v4.10.0...v4.10.1) Tiny update to fix build issue where java requirement for runtime was 11 not 1.8. #### What's Changed - \[C++] Remove reference to antlrcpp:s2ws ([#3656](https://togithub.com/antlr/antlr4/issues/3656)) by [@jcking](https://togithub.com/jcking) in [https://github.com/antlr/antlr4/pull/3657](https://togithub.com/antlr/antlr4/pull/3657) - Update publishing instruction for Dart by [@lingyv-li](https://togithub.com/lingyv-li) in [https://github.com/antlr/antlr4/pull/3655](https://togithub.com/antlr/antlr4/pull/3655) - Prep 4.10.1 by [@parrt](https://togithub.com/parrt) in [https://github.com/antlr/antlr4/pull/3660](https://togithub.com/antlr/antlr4/pull/3660) **Full Changelog**: https://github.com/antlr/antlr4/compare/v4.10.0...4.10.1 ### [`v4.10`](https://togithub.com/antlr/antlr4/releases/tag/4.10): Major feature, code clean up, and bug fix release [Compare Source](https://togithub.com/antlr/antlr4/compare/4.9.3...v4.10.0) ### ANTLR version 4.10 This is a very major release with a number of important changes. There have been many valuable contributions, but I welcome [@KvanTTT](https://togithub.com/KvanTTT) and [@jcking](https://togithub.com/jcking) as recent "official" major ANTLR contributors. :) **WARNING**: *Generated 4.10 lexers and parsers are incompatible with code generated by previous versions of ANTLR. You must regenerate all of your code from grammars to use the new runtime. This is true of all targets (except probably javascript).* #### Repo branching structure We have changed the branching structure of the repository. The default branch for this repo remains [`master`](https://togithub.com/antlr/antlr4/tree/master) and it is the latest stable release with tags for the various releases; e.g., see release tag [4.9.3](https://togithub.com/antlr/antlr4/tree/4.9.3). We now do development work in branch [`dev`](https://togithub.com/antlr/antlr4/tree/dev) between releases and all pull requests should be derived from that branch. The `dev` branch is merged back into `master` to cut a release and the release state is tagged (e.g., with `4.10-rc.1` or `4.10`.) Visually our process looks roughly like this: Targets such as Go that pull directly from the repository can use the default `master` branch but can also pull from the active `dev` branch: ```bash $ go get github.com/antlr/antlr4/runtime/Go/antlr@dev ``` #### Developers certificate of origin In order to bring ANTLR more in line with current standard standards for contribution processes, as of 4.10, ANTLR uses the [Linux Foundation's Developer Certificate of Origin, DCO, version 1.1](https://developercertificate.org/). See file [https://github.com/antlr/antlr4/raw/master/developer-cert-of-origin.txt ](developer-cert-of-origin.txt). It is simpler than the original contributors license agreement, which required programmers to sign the `contributors.txt` file, which has now moved to file [historical-contributors-agreement.txt ](https://togithub.com/antlr/antlr4/raw/master/historical-contributors-agreement.txt). Each commit in pull requests must have a "signature", which is simple as using `-s` (not `-S`) on the git commit command: $ git commit -s -m 'This is my commit message' Github's pull request process enforces the sig and gives instructions on how to fix any commits that lack the sig. SeeConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.