Skip to content

Releases: dimo414/bkt

0.8.2

28 Sep 09:31
Compare
Choose a tag to compare

Bookkeeping release, no changes from 0.8.1.

0.8.1

26 Sep 09:31
Compare
Choose a tag to compare

What's Changed

  • Separate cache directories are now used per-user, avoiding permission issues on multi-user systems, #35

Full Changelog: 0.8.0...0.8.1

0.8.0

24 Jan 09:47
Compare
Choose a tag to compare

What's Changed

  • --ttl is now a required flag. Historically it arbitrarily defaulted to one minute; to preserve this behavior you can set BKT_TTL=1m in the environment that's executing bkt (#48 and #27)
  • Resolved an 'overflow when subtracting duration from instant' panic observed on certain platforms (#45)
  • Scopes now support names that don't happen to be valid file names (#51)
  • Improve error message on permission failures (#35)

API Changes

  • CacheStatus::Hit(Instant) has been replaced with CacheStatus::Hit(SystemTime)

Full Changelog: 0.7.1...0.8.0

0.7.1

28 Aug 17:59
Compare
Choose a tag to compare

Patch release to pick up the fix for #44 which was a regression introduced in 0.7.0.

Full Changelog: 0.7.0...0.7.1

0.7.0

27 Aug 07:53
Compare
Choose a tag to compare

What's Changed

  • stdout/stderr are now streamed as the subprocess is executing, rather than output only once the subprocess completes (#43).
  • NotFound errors during cleanup are now ignored (#42).
  • Improved error handling for malformed executables (#37).

API Changes

  • New methods Bkt::retrieve_streaming and Bkt::refresh_streaming have been added for library users that want to stream output, however these methods are subject to change and should be treated as experimental

Full Changelog: 0.6.1...0.7.0

0.6.1

13 Apr 07:58
Compare
Choose a tag to compare

Patch release adjusting how --help's output is wrapped.

Full Changelog: 0.6.0...0.6.1

0.6.0

02 Apr 09:48
Compare
Choose a tag to compare

What's Changed

  • Support environment variables BKT_TTL, BKT_SCOPE, and BKT_CACHE_DIR as alternatives for flags --ttl, --scope, and --cache-dir, respectively (#15).
  • Added support for keying the cache off one or more files' last-modified time via the --modtime flag (#10).
  • --discard_failures is included in the cache key, meaning bkt -- foo and bkt --discard_failures -- foo will be cached separately.
  • Updated to Clap v4 (#25).
  • Added CI test coverage of feature="debug" behavior.
  • Fixed flaky tests that relied unnecessarily on how file modtimes change (#14).

API Changes

  • Bkt::discard_failures() is now set on CommandDesc, and affects the cache key.
  • Added a CommandState type, making CommandDesc safe to persist and pass around. Environment details like the working directory and environment variables are captured when the CommandState instance is constructed.
  • Bkt::retrieve and Bkt::refresh now return more metadata about the cache state (e.g. whether there was a cache hit or miss).

Full Changelog: 0.5.4...0.6.0

0.5.4

05 Apr 18:56
Compare
Choose a tag to compare

Patch release to aid packaging for Debian (see #12). No new functionality vs. 0.5.2

0.5.3

14 Mar 02:57
Compare
Choose a tag to compare

Patch release to aid packaging for Debian (see #12). No new functionality vs. 0.5.2.

0.5.2

07 Feb 01:45
Compare
Choose a tag to compare

Handle (i.e. ignore) BrokenPipe errors, which indicate stdout/stderr were closed without reading all output.