Skip to content

JLine 4.4.8

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Oct 20:19
72c9a4c

JLine 4.4.8 is a bugfix and enhancement release addressing an AnsiConsole stream-routing bug and improving command help output.

The AnsiConsole fix corrects a long-standing issue where ansiStream() used terminal.output() for both stdout and stderr, causing the non-terminal-backed stream to be silently redirected to the wrong file descriptor (for example, stderr output going to stdout when the terminal was selected via SysOut). The fix routes each stream to its correct fd: the terminal-backed stream goes through terminal.output(), while the other writes to the original system stream. ANSI mode for the non-terminal-backed stream is now auto-detected per-fd (preserving colors when it is a tty, stripping when redirected), with jansi.out.mode/jansi.err.mode properties still honoured as overrides. The enhancement from @FSeidinger makes detailed command help richer: it now displays every non-empty line of the main description via CommandDescription#describe(), argument descriptions appear alongside argument names, and additional description lines are indented beneath the first for easier reading.

🐛 Bug Fixes

  • fix: AnsiConsole.systemInstall() no longer redirects the non-terminal stream to the wrong fd (#2317) @gnodet

✨ Enhancements

  • feat: use detailed command description via describe() in command help (#2318) @FSeidinger

📦 Dependency Updates

  • chore: bump release-drafter/release-drafter from 7.7.0 to 7.9.0 (#2313) @dependabot[bot]
  • chore: bump com.palantir.javaformat:palantir-java-format from 2.101.0 to 2.102.0 (#2314, #2315) @dependabot[bot]

Full Changelog: 4.4.7...4.4.8