-
Notifications
You must be signed in to change notification settings - Fork 25.6k
QL: Update dependency - JLine - to v 3.21.0 #83767
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
QL: Update dependency - JLine - to v 3.21.0 #83767
Conversation
Previous JLine versions have a dependenency from an old JAnsi version that could lead to problems to terminal detection on new hardware (eg. M1/Silicon) See elastic#83575
|
💚 CLA has been signed |
|
Pinging @elastic/es-ql (Team:QL) |
|
Hi @luigidellaquila, I've created a changelog YAML for you. |
|
Hi @luigidellaquila, I've updated the changelog YAML for you. |
1 similar comment
|
Hi @luigidellaquila, I've updated the changelog YAML for you. |
|
@elasticmachine retest this please |
Luegg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, and congrats to your inaugural ES PR 🎊
astefan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bpintea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
costin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Can you confirm that jansi 2.4+ or higher is used?
|
Good point @costin, given #83575 I thought it was the case. I also checked the pom of the 3.21.0 tag and it depends on jansi 2.4 indeed (see https://github.com/jline/jline3/blob/jline-parent-3.21.0/pom.xml#L86). The problem (and the only thing I did not realise) is that we are using |
|
Since we're already down this path, please take a look at the JNA dependency since version 5.10 contains a nice fix by @DaveCTurner. |
|
Unfortunately I don't have an M1 (yet...), so I cannot test it. |
|
As a side note, running |
|
Thanks for checking, I'm fine with closing the issue. |
|
Do you mean closing the PR (without merging) and closing #83575 ? |
|
Closing, since not really relevant to the issue we were addressing. |
|
@elasticmachine update branch |
|
Tested on Apple M1, it seems also JNA implementation has problems (see #83575 (comment) ). With JLine v 3.21.0 the problem is fixed (Tested on a MBP M1 Max) |
|
👍 |
Previous JLine versions have a dependency from an old JAnsi version
that could lead to problems to terminal detection on new hardware (eg. M1/Silicon).
Fixes #83575