Releases: jline/jline3
Releases · jline/jline3
JLine 3.24.0
JLine 3.24.0 contains a number of new features, enhancements and bug fixes.
Warning
This release did unfortunately break JDK 8 compatibility at runtime. This is fixed in 3.24.1.
New features and enhancements
d4bf37c7564
Add forced-out and forcer-err to force the system console to use the output / error stream (fixes #856) (#884)b8084cf1b27
Add a field / setter for the forced provider7cbba19b6ce
Support providing default values for line reader variables using system properties (#821)8da980b39d1
Support automatic parsing of an inputrc file in jline reader (#821)2af16d8e4e0
Add a property to customize the tab width (fixes #861) (#880)a20ba4b5b13
Force creation of a dumb terminal if TERM starts with dumb871706532ac
New JNI providere3112b48b9c
Switch to junit 5a2ab0474a02
Require JDK 11 and support JDK 21 at build timeb85d2e5085a
Enable spotless on JDK 2105ee05dbc7b
Support building on JDK 21
Bug fixes
9a216cab00a
Make sure the thread is not in an interrupted state when cleanup up (fixes #590) (#883)421bf59653d
Fix cr/lf support in dumb terminals (#877)77283f8c7d2
AIX issue with non english locales (#881)2c8891ab363
Add a property to force a given provider405f8fe0b47
org.jline.util.PumpReader signed byte problem (#879)7aa9c5e17c7
Fix possible OOM caused by huge repetitions of inserts (fixes #863) (#878)8805647bc12
Improve toString() terminal rendering60c9297c161
Use simplified keymap for dumb terminal (#874)58fd8f9701c
Improve robustness of initial cleanup (fixes jansi#255)60de93175f2
Add missing space in SunOS-sparcv9_CCFLAGS (fixes jansi#249)7ca9dc20e3c
Fix history trim for non-timestamped files (#873)cde17f7fc15
Fix build on linux arm64 and add riscv6460bfd792915
Fix eolcb1762621fe
Clean a bit TerminalBuilder8685b2a6f2a
Add TerminalExt interfaced0e1ce16e9c
FFM support3a51fd98705
Break dependency between org.jline.terminal.impl and org.jline.terminal.impl.exec package2f0218340b9
Close Files streams using try-with-resources (#840)ceda3c4f765
Fix illegal reflective access in exec provider (fixes #862) (#868)a11001ab191
Make sure libraries are binaries97fca810df1
Simplify CIbd9536644c5
Builtin Less has an IndexOutOfBoundsException when seeking to the end of the file, fixes #86077e9da7b50b
LineReader Bug (Open or Close Parenthesis), fixes #859ffd0de4076a
Add a warning when using the ExecTerminalProvider on recent JDKs1ac766fef65
Fix detection of utilities (fixes #839)d138c9c136d
Fix shell output going to stderr rather than stdout (fixes #845)3c93ea7d7b0
Fix TerminalProvider sortingdb731c2a601
Use Objects.hashCode instead of Objects.hash to avoid vararg array creation (fixes #849)ccfb8c54fd9
spotless: set the line endings to
Dependency upgrades
cb226ce3909
Upgrade various plugins0a8f369e2d8
Upgrade ivy from 2.5.1 to 2.5.2cfbbb7ee562
Upgrade graal from 22.3.0 to 23.1.1bae5fb5f587
Upgrade slf4j from 2.0.6 to 2.0.977626a8013c
Upgrade easymock from 5.1.0 to 5.2.0d0b6273668b
Upgrade sshd from 2.9.2 to 2.11.00f01e4ce2ec
Upgrade jansi from 2.4.0 to 2.4.12e9e2232bd7
Update changelog for 3.24.0 release
JLine 3.23.0
What's Changed
- Optimize Styles.isStylePattern() to avoid StackOverflowError by @exceptionfactory in #817
- Use a native library to create FileDescriptors if reflection does not allow access by @gnodet in #825
- Allow custom sort of providers, and prefer jansi by default by @gnodet in #827
- Fix restoration of Terminal at close, fixes #819 by @gnodet in #830
- Decode alternate charset in/out sequences when building AttributedString, fixes #805 by @gnodet in #828
- Fix AltGr+Shift characters, fixes #747 by @gnodet in #832
- Add missing ConEmu capabilities, fixes #800 by @gnodet in #831
- Ioctl improvements by @gnodet in #833
- Refine color support in various environments, fixes #814 by @gnodet in #829
- Fix signal processing on windows, fixes #822 by @gnodet in #834
- Add autoformat using spotless by @gnodet in #835
New Contributors
- @exceptionfactory made their first contribution in #817
Full Changelog: jline-parent-3.22.0...jline-parent-3.23.0
JLine 3.22.0
Enhancements and new features
- command less: manage object arguments #811
- prnt command: add option --multiColumns (#813)
- Support for comments in DefaultParser (#731)
- SyntaxHighlighter: add parser to tokenize string literals and comments, fixes #746
- Theme System: use token names in highlight configurations in place of hard coded colors
- Support for out or err stream for the terminal, fixes #787
- Make readBuffered blocking and add more readBuffered methods, fixes #757
Bugs
- Standard escape character (\) doesn't seems to be handled correctly, fixes #798
- Infinite loop in TerminalLine constructor, fixes #751
- Less method run(Source... sources) throws UnsupportedOperationException, fixes #810
- less pager does not work well when using InputStreamSource, fixes #812
- Scroll forward of the cli cause tailtips to collide with text, fixes #738
- Mandatory import of sun.misc, fixes #758
- Candidates customized order lost when tabbing through candidates, fixes #763
- LineReader Candidate: tests for sorting and potential int overflow fix (#762)
- Tab candidate menu list exceeds from visible terminal display, fixes #759
- Error in custom command line highlighter let readLine() method in an unusable state, fixes #741
- Fix last line not displayed when scrolling using Display, fixes #737
- nano editor fails to highlight block comments, fixes #753
- Nano SyntaxHighlighter fails to highlight the line after the block comment, fixes #743
- Nano SyntaxHighlighter fails to highlight strings with line delimiters, fixes #742
- lsStyle resolver defined as static field, fixes #764
- Fix Parser javadoc of ParseContext.SPLIT_LINE, fixes #733
- Groovy REPL: methods print and println appear twice in tab completion candidate list, fixes #749
- 3.20.0 Regression - Groovy REPL highlight syntax errors while typing is broken, fixes #748
- Groovy REPL: tab-completion does not complete all methods even if allMethodsCompletion=true, fixes #745
- Groovy REPL: prnt command parameter completion does not work well, fixes #744
Breaking changes
SyntaxHighlighter
has been moved fromorg.jline.builtins.Nano.SyntaxHighlighter
toorg.jline.builtins.SyntaxHighlighter
Full change log
dd697ee0
Remove compilation warnings (#816)e00a8370
Appveyor fix (#815)87f7e576
Upgrade all plugins to latest version (#740)d6e84da4
Support for out or err stream for the terminal (fixes #787) (#788)c2a0c9e8
Avoid redundant Map.containsKey call (#781)77f1cea0
Make readBuffered blocking and add more readBuffered methods, fixes #757 (#782)4f57697f
Replace AtomicBoolean with volatile boolean field. (#796)6e94df5f
Upgrade Groovy to 4.0.7b82a347c
Scroll forward of the cli cause tailtips to collide with text, fixes #738fcc8ce61
Bump ivy from 2.5.0 to 2.5.1751a7d7c
prnt command: add option --multiColumnsade7806f
Less: eliminate a couple of source.lines() calls239d6e04
less pager does not work well when using InputStreamSource, fixes #812181279c0
Standard escape character () doesn't seem to be handled correctly, fixes #7981579fc04
command less: manage object arguments, fixes #8119243e6db
add CONSOLE_OPTIONS boolean variable redirectColor to switch on/off redirect colors9711716b
Less method run(Source... sources) throws UnsupportedOperationException, fixes #8102c4a1923
Upgrade maven-enforcer-plugin to 3.1.058dccf72
Upgrade Graal to 22.1.0396a39e1
Upgrade Groovy to 4.0.34dac9b0c
Infinite loop in TerminalLine constructor, fixes #7518b89ff5f
Console example fix NPE9706eadf
Builtins command registry: Add null check for configpath parameter1cf2cda9
Upgrade Groovy to 4.0.2ed6cef30
Add a simple example of printAboved75b4f18
Groovy REPL: add tab-completion for groovy array methods0959a40b
Upgrade Groovy to 4.0.1c8fcdda6
Simplify String operations (#776)fe1a6ff4
Docs typo:Columns separated
->Colon separated
(#775)f9b267f6
Option to disable Undo in LineReader0bb26e99
SystemHighlighter: command line parsed twiced3aa7dc6
nanorc parser: the reader is not closed if exception is thrownf988d35f
args.nanorc: improve options highlighting4b743231
SystemHighlighter: fix subcommand highlightingac26d10c
lsStyle resolver defined as static field, fixes #764bfcc415b
Candidates customized order lost when tabbing through candidates, fixes #763cea9632b
LineReader Candidate: tests for sorting and potential int overflow fix (#762)aa11f6ee
REPL demo: add nanorctheme.template (#761)233a6cce
gron.nanorc: improve *_COLORS variable value highlightc70d3272
REPL demo refactoring: add nanorc directory43127122
REPL demo: add light.nanorctheme and rename default theme to darkf72694f6
DefaultPrinter: add @SuppressWarnings("serial") in highlighters cache map51c0399d
SystemHighlighter refresh() refresh also external syntaxHighlighters652d7a19
GroovyEngine & DefaultPrinter: add s...