Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump antlr4-runtime from 4.9.2 to 4.13.0 #341

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2023

Bumps antlr4-runtime from 4.9.2 to 4.13.0.

Release notes

Sourced from antlr4-runtime's releases.

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

Improvements, features

Pull requests grouped by target

csharp target

cpp target

go target

... (truncated)

Changelog

Sourced from antlr4-runtime's changelog.

v4.12.0 to v4.13.0

Strictly speaking, if ANTLR was a go only project following SemVer release v4.13.0 would be at least a minor version change and arguably a bump to v5. However, we must follow the ANTLR conventions here or the release numbers would quickly become confusing. I apologize for being unable to follow the Go release rules absolutely to the letter.

There are a lot of changes and improvements in this release, but only the change of repo holding the runtime code, and possibly the removal of interfaces will cause any code changes. There are no breaking changes to the runtime interfaces.

ANTLR Go Maintainer: Jim Idle - Email: [email protected]

Code Relocation

For complicated reasons, including not breaking the builds of some users who use a monorepo and eschew modules, as well as not making substantial changes to the internal test suite, the Go runtime code will continue to be maintained in the main ANTLR4 repo antlr/antlr4. If you wish to contribute changes to the Go runtime code, please continue to submit PRs to this main repo, against the dev branch.

The code located in the main repo at about the depth of the Mariana Trench, means that the go tools cannot reconcile the module correctly. After some debate, it was decided that we would create a dedicated release repo for the Go runtime so that it will behave exactly as the Go tooling expects. This repo is auto-maintained and keeps both the dev and master branches up to date.

Henceforth, all future projects using the ANTLR Go runtime, should import as follows:

import (
    "github.com/antlr4-go/antlr/v4"
    )

And use the command:

go get github.com/antlr4-go/antlr

To get the module - go mod tidy is probably the best way once imports have been changed.

Please note that there is no longer any source code kept in the ANTLR repo under github.com/antlr/antlr4/runtime/Go/antlr. If you are using the code without modules, then sync the code from the new release repo.

Documentation

Prior to this release, the godocs were essentially unusable as the go doc code was essentially copied without change, from teh Java runtime. The godocs are now properly formatted for Go and pkg.dev.

Please feel free to raise an issue if you find any remaining mistakes. Or submit a PR (remember - not to the new repo).

... (truncated)

Commits
  • 0ae86c2 [maven-release-plugin] prepare release 4.13.0
  • 37585e4 Update js package-lock.json
  • 5dc2a29 Update version in more files to 4.13.0
  • ffe0eef Merge branch 'master' of github.com:antlr/antlr4
  • c630cb6 Update version in many files to 4.13.0
  • a9639d0 Merge branch 'dev'
  • 134eda9 bump version to 4.13.0-SNAPSHOT in poms, regen XPath lexers.
  • 6e03105 doc: Make sure that we are using the latest LICENSE file inthe go module
  • 29cf908 feat: Use the latest version of x/exp
  • bb63105 fix: Remove go.mod from v1 tree - it wasn't being found anyway
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [antlr4-runtime](https://github.com/antlr/antlr4) from 4.9.2 to 4.13.0.
- [Release notes](https://github.com/antlr/antlr4/releases)
- [Changelog](https://github.com/antlr/antlr4/blob/master/doc/go-changes.md)
- [Commits](antlr/antlr4@4.9.2...4.13.0)

---
updated-dependencies:
- dependency-name: org.antlr:antlr4-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 May 22, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 5, 2023

Superseded by #346.

@dependabot dependabot bot closed this Sep 5, 2023
@dependabot dependabot bot deleted the dependabot/maven/org.antlr-antlr4-runtime-4.13.0 branch September 5, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants