Releases: jline/jline3
Releases · jline/jline3
JLine 3.26.3
What's Changed
Bug fixes
- The Diag tool should display the full stack trace (fixes #1020) by @gnodet in #1024
- Correcting invocation of ScrollConsoleScreenBufferW - using pointers instead of values. by @lahodaj in #1038
- Fix windows-arm64 DLL name by @gnodet in #1031
- IndexOutOfBoundsException in console-ui when header exceeds size of the terminal, fixes #1025 by @mattirn in #1026
Dependencies
- Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.2 to 3.4.0 by @dependabot in #1023
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 by @dependabot in #1022
- Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.0 by @dependabot in #1019
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 by @dependabot in #1017
- Bump sshd.version from 2.12.1 to 2.13.1 by @dependabot in #1027
- Bump groovy.version from 4.0.21 to 4.0.22 by @dependabot in #1030
- Bump junit.version from 5.10.2 to 5.10.3 by @dependabot in #1029
- Bump org.apache.maven.plugins:maven-dependency-plugin from 3.7.0 to 3.7.1 by @dependabot in #1028
- Bump org.graalvm.sdk:graal-sdk from 24.0.1 to 24.0.2 by @dependabot in #1039
- Bump org.apache.maven.plugins:maven-release-plugin from 3.1.0 to 3.1.1 by @dependabot in #1037
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 by @dependabot in #1032
Full Changelog: jline-parent-3.26.2...jline-parent-3.26.3
JLine 3.26.2
What's Changed
Bug fixes
- Add some doc for boolean provider methods in TerminalBuider (fixes #979) by @gnodet in #981
- INVALID_HANDLE_VALUE is a long by @gnodet in #1015
- Restore the use of Integer.MAX_VALUE for display colums when size is zero (fixes #982, see #975) by @gnodet in #1011
- Cursor badly positioned after creating Status bar, fixes #977 by @mattirn in #978
- Build with Cmd on Windows by @puskarpeter in #976
Dependencies
- Bump org.codehaus.mojo:exec-maven-plugin from 3.0.0 to 3.2.0 by @dependabot in #984
- Bump info.picocli:picocli-codegen from 4.5.2 to 4.7.6 by @dependabot in #987
- Bump groovy.version from 4.0.18 to 4.0.21 by @dependabot in #983
- Bump slf4j.version from 2.0.9 to 2.0.13 by @dependabot in #986
- Bump org.apache.maven.plugins:maven-wrapper-plugin from 3.3.0 to 3.3.1 by @dependabot in #985
- Bump junit.version from 5.10.1 to 5.10.2 by @dependabot in #992
- Bump sshd.version from 2.12.0 to 2.12.1 by @dependabot in #991
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.3 by @dependabot in #990
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.2 by @dependabot in #988
- Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #989
- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.1 to 3.1.2 by @dependabot in #997
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.4 by @dependabot in #993
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 by @dependabot in #995
- Bump org.apache.maven.plugins:maven-site-plugin from 4.0.0-M13 to 4.0.0-M15 by @dependabot in #1000
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 by @dependabot in #1001
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.4.1 to 3.5.0 by @dependabot in #1002
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.1 by @dependabot in #1004
- Bump org.apache.maven.plugins:maven-wrapper-plugin from 3.3.1 to 3.3.2 by @dependabot in #1003
- Bump org.codehaus.mojo:build-helper-maven-plugin from 3.5.0 to 3.6.0 by @dependabot in #1006
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 by @dependabot in #1007
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.3 to 3.6.0 by @dependabot in #1008
- Bump com.mycila:license-maven-plugin from 4.3 to 4.5 by @dependabot in #1005
- Bump org.codehaus.mojo:exec-maven-plugin from 3.2.0 to 3.3.0 by @dependabot in #1010
- Bump org.graalvm.sdk:graal-sdk from 23.1.2 to 24.0.1 by @dependabot in #996
- Bump org.apache.maven.plugins:maven-dependency-plugin from 3.6.1 to 3.7.0 by @dependabot in #1014
- Bump org.easymock:easymock from 5.2.0 to 5.3.0 by @dependabot in #1013
New Contributors
- @puskarpeter made their first contribution in #976
Full Changelog: jline-parent-3.26.1...jline-parent-3.26.2
JLine 3.26.1
JLine 3.26.0
What's Changed
- Update GitHub Actions by @eed3si9n in #955
- In maven-wrapper.properties, sync maven version with pom.xml by @dattasid in #961
- Update maven to 3.9.6 (fixes #944) by @gnodet in #950
- Fixing the FfmTerminal to run on JDK 22 and on Linux. by @lahodaj in #945
- Provide jdk8 jar by excluding the FFM support (fixes #937) by @gnodet in #949
- Exclude directories when locating
tty
,test
etc by @lrytz in #948 - Return early from LineReaderImpl.doList if no possibilities or rows (fixes #941) by @VerKWer in #942
- Fix native image compilation (fixes #954) by @translatenix in #959
- Use default sort order when custom sort order is identical by @valepakh in #957
- Disable Quick Edit Mode with mouse support by @jvalkeal in #965
- Don't change keybindings to emacs for dumb terminals by @hvesalai in #953
- Merge ConsoleUI project into JLine (fixes #841) by @gnodet in #935
- Don't attempt line break at last line by @jvalkeal in #966
- Fix remote terminal on linux/bsd (fixes #962) by @gnodet in #968
- Warn when using a deprecated provider by @gnodet in #967
- Improve status bar drawing mechanism (fixes #939) by @gnodet in #969
- Upgrade maven wrapper by @gnodet in #972
- Switch the nativeSignals boolean to true by default by @gnodet in #971
- Simplify graal demo by @gnodet in #970
New Contributors
- @eed3si9n made their first contribution in #955
- @lahodaj made their first contribution in #945
- @lrytz made their first contribution in #948
- @VerKWer made their first contribution in #942
- @translatenix made their first contribution in #959
- @valepakh made their first contribution in #957
- @jvalkeal made their first contribution in #965
Full Changelog: jline-parent-3.25.1...jline-parent-3.26.0
JLine 3.25.1
What's Changed
- Fix source jars required for bundles by @gnodet in #932
- Native libraries are not embedded in JLine bundle (fixes #927) by @gnodet in #928
- Fix NPE on windows with missing jna/jansi (fixes #930) by @gnodet in #933
- Fix native image metadata (fixes #923) by @gnodet in #931
Full Changelog: jline-parent-3.25.0...jline-parent-3.25.1
JLine 3.25.0
What's Changed
- Merge Jansi library into JLine by @gnodet in #871
- Fix missing native libraries in JLine bundle by @gnodet in #894
- Avoid JDK warning when checking the exec provider by @gnodet in #895
- Improve the message when a provider cannot be used by doing an early check and restore compatibility with Jansi 1.17 (fixes #904) by @gnodet in #906
- Provide a new Terminal InputFlag INORMEOL to normalize end of lines (fixes #899) by @gnodet in #900
- Add the ability to clear internal buffers (fixes #910) by @gnodet in #915
- Use logger instead of writing to stderr (fixes #907) by @gnodet in #916
- Fix FFM provider loading of openpty on linux (fixes #911) by @gnodet in #919
- Add some doc about Signal.QUIT which cannot be caught by the JVM (fixes #912) by @gnodet in #921
Full Changelog: jline-parent-3.24.1...jline-parent-3.25.0
JLine 3.24.1
This release is a bug fix release for 3.24.0 mainly to restore JDK 8 compatibility at runtime.
What's Changed
b63acbcc29c
Fix broken javadoc generation by @gnodet in #8924c4dbdc2ce3
Restore JDK 8 runtime compatibility, fixes #888 by @gnodet in #89347f1ec914b2
Restore partial failure handling with stty, fixes #889 by @gnodet in #891ecbc73a58c6
Fix git line endings by @gnodet in #887
Full Changelog: jline-parent-3.24.0...jline-parent-3.24.1
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...