Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

v0.7.0

Choose a tag to compare

@Byron Byron released this 15 Dec 11:29
· 25 commits to main since this release
c265744

This release makes iterator creation fallible to avoid potential hangs when there is no available thread to process
any of the iterator work.

New Features

  • WalkDirGeneric::try_into_iter() for early error handling.
    If we can't instantiate the iterator due to a busy thread-pool,
    we can now abort early instead of yielding a fake-entry just to
    show an error occurred. This is the preferred way to instantiate
    a jwalk iterator.

New Features (BREAKING)

  • Detect possible deadlocks when instantiating a parallel iterator.
    Deadlocks can happen if the producer for results doesn't start as there
    is no free thread on the rayon pool, and the only way for it to become free
    is if the iterator produces results.

    We now offer a busy_timeout in the relevant variants of the
    Parallelism enumeration to allow controlling how long we will wait
    until we abort with an error.

Commit Statistics

  • 6 commits contributed to the release.
  • 1 day passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • Uncategorized
    • prepare changelog prior to release (67364f9)
    • refactor (a94d14b)
    • thanks clippy (7e300c6)
    • WalkDirGeneric::try_into_iter() for early error handling. (7d5b8b8)
    • Detect possible deadlocks when instantiating a parallel iterator. (3bf1bc2)
    • fix various IDE warnings (cc0009f)