Skip to content

Releases: jline/jline3

JLine 3.24.0

25 Oct 16:03
Compare
Choose a tag to compare

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

Bug fixes

Dependency upgrades

JLine 3.23.0

24 Oct 04:18
Compare
Choose a tag to compare

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

Full Changelog: jline-parent-3.22.0...jline-parent-3.23.0

JLine 3.22.0

17 Jan 17:21
Compare
Choose a tag to compare

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 from org.jline.builtins.Nano.SyntaxHighlighter to org.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.7
  • b82a347c Scroll forward of the cli cause tailtips to collide with text, fixes #738
  • fcc8ce61 Bump ivy from 2.5.0 to 2.5.1
  • 751a7d7c prnt command: add option --multiColumns
  • ade7806f Less: eliminate a couple of source.lines() calls
  • 239d6e04 less pager does not work well when using InputStreamSource, fixes #812
  • 181279c0 Standard escape character () doesn't seem to be handled correctly, fixes #798
  • 1579fc04 command less: manage object arguments, fixes #811
  • 9243e6db add CONSOLE_OPTIONS boolean variable redirectColor to switch on/off redirect colors
  • 9711716b Less method run(Source... sources) throws UnsupportedOperationException, fixes #810
  • 2c4a1923 Upgrade maven-enforcer-plugin to 3.1.0
  • 58dccf72 Upgrade Graal to 22.1.0
  • 396a39e1 Upgrade Groovy to 4.0.3
  • 4dac9b0c Infinite loop in TerminalLine constructor, fixes #751
  • 8b89ff5f Console example fix NPE
  • 9706eadf Builtins command registry: Add null check for configpath parameter
  • 1cf2cda9 Upgrade Groovy to 4.0.2
  • ed6cef30 Add a simple example of printAbove
  • d75b4f18 Groovy REPL: add tab-completion for groovy array methods
  • 0959a40b Upgrade Groovy to 4.0.1
  • c8fcdda6 Simplify String operations (#776)
  • fe1a6ff4 Docs typo: Columns separated -> Colon separated (#775)
  • f9b267f6 Option to disable Undo in LineReader
  • 0bb26e99 SystemHighlighter: command line parsed twice
  • d3aa7dc6 nanorc parser: the reader is not closed if exception is thrown
  • f988d35f args.nanorc: improve options highlighting
  • 4b743231 SystemHighlighter: fix subcommand highlighting
  • ac26d10c lsStyle resolver defined as static field, fixes #764
  • bfcc415b Candidates customized order lost when tabbing through candidates, fixes #763
  • cea9632b 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 highlight
  • c70d3272 REPL demo refactoring: add nanorc directory
  • 43127122 REPL demo: add light.nanorctheme and rename default theme to dark
  • f72694f6 DefaultPrinter: add @SuppressWarnings("serial") in highlighters cache map
  • 51c0399d SystemHighlighter refresh() refresh also external syntaxHighlighters
  • 652d7a19 GroovyEngine & DefaultPrinter: add s...
Read more