github Byron/dua-cli v2.25.0

latest releases: v2.29.4, v2.29.3, v2.29.2...
10 months ago

Chore

  • remove obsolete tui-shared feature

New Features

  • add --log-file flag to keep track of some debug info, which includes panics.
    Previously, when dua i was used, panics would be hard to observe, if at all,
    as they would print to the alternate screen. Now, when the --log-file dua.log
    is specified, the panic will be emitted into the log file instead and thus won't
    be lost anymore.

    This may help with debugging in future.

Bug Fixes

  • --ignore-dirs now work as expected.
    Previously they would need to be specified as relative to the traversal root, which
    was unintuitive and would lead to ignores not working for many.

    Even though this was done for performance to avoid canonicalization, we do now
    perform a more performance version of canonicalization so the overall performance
    should be acceptable nonetheless.

    Also note that ignored directories are now logged when using a --log-file.

  • consistent language across the application and improved style of the Help pane.
    Generally, what was called entry is now called item, consistently.

Other

  • clarify that (and why) termion isn't supported anymore in README.md
    This was triggered by crossterm essentially breaking event handling
    on Windows, which is when I decided to just use the seemingly more
    powerful crossterm events natively.

    Overall, this made event handling more complex, but also allows users of
    crosstermion (the crate that actually dropped termion support) to
    write even more interactive applications without worrying about
    the always out-of-date intermediate layer.

    Interestingly, the crosstermion crate adds some useful features around event handling,
    but also optimizes build times thanks to termion, which is something that
    on my current machine I don't notice anymore, so the value of it diminished greatly.

Commit Statistics

  • 13 commits contributed to the release over the course of 7 calendar days.
  • 7 days passed between releases.
  • 5 commits were understood as conventional.
  • 2 unique issues were worked on: #196, #208

Commit Details

view details
  • #196
    • --ignore-dirs now work as expected. (49f98f5)
  • #208
    • Remove obsolete tui-shared feature (e992659)
    • Clarify that (and why) termion isn't supported anymore in README.md (729e7e9)
  • Uncategorized
    • Use gix-path for more control and performance. (93f0f61)
    • Refactor (7905b48)
    • Fix ignore dirs wip (e2d5a34)
    • Merge branch 'logging' (196f0d6)
    • Add --log-file flag to keep track of some debug info, which includes panics. (6fbe17f)
    • Enforce Rust 2021 style (45d886a)
    • Merge branch 'help-language-consistency' (0a0dfe6)
    • Consistent language across the application and improved style of the Help pane. (20e85c1)
    • Option to enable debug logs (4482e1d)
    • Keep consistent language/punctuation/case throughout the app. (1e6db58)

Don't miss a new dua-cli release

NewReleases is sending notifications on new releases.