All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.10.1 - 2026-03-04
- Updated various dependencies.
v0.10.0 - 2025-12-19
- Added a
progress-barfeature to enable theindicatifdependency.
v0.9.0 - 2025-08-25
- Updated
reqwestdependency from 0.11 to 0.12.
v0.8.1 - 2025-07-01
- Updated
indicatifdependency from 0.16 to 0.17.11
v0.8.0 - 2025-05-21
- Support
.tar.xzand.tar.lzmaarchives
- Infer archive type from bytes instead of filename extension
v0.7.0 - 2025-05-14
- Added
forceoption to force downloading a resource even if there's a cache hit.
v0.6.2 - 2025-05-07
- Fixed some issues with old dependencies.
- Fixed a bug causing cache misses.
v0.6.1 - 2023-02-24
- Fixed
RUSTSEC-2020-0071
v0.6.0 - 2022-12-19
- Consolidated HTTP error variants into a single variant,
HttpError, which sources directly from the underlyingreqwest::Errorfor better error messages.
v0.5.3 - 2022-03-07
- Added feature flag
rustls-tlsto make use ofrustls-tlsovernative-tlsinreqwest.
v0.5.2 - 2022-03-07
v0.5.1 - 2020-03-29
v0.5.0 - 2020-01-29
- Switched to
color-eyrefor error handling in the CLI. - Improved full download progress bar.
Some(ProgressBar::Full)is now the default for the library.- Upgraded
reqwestdependency to0.11.
v0.4.5 - 2020-09-15
- Added a method
CacheBuilder::progress_barto set the progress bar type, or to disable the progess bar entirely. The options areProgressBar::LightandProgressBar::Full. The default when usingcached-pathas a library isProgressBar::Light, while the default from the command-line isProgressBar::Full. You can also disable the progress bar from the command-line by passing the "-q" / "--quietly" flag.
v0.4.4 - 2020-09-13
- Added a method
Cache::cached_path_with_optionsand a correspondingOptionsstruct. - Added ability to automatically extract archives through the
Cache::cached_path_with_optionsmethod. - Added integration tests.
- Added spinner progress bar to downloads.
Metastruct is no longer public.Cache::cached_path_in_subdiris now deprecated.httpmockupdated and tests refactored.
- Removed the
only_keep_latestsetting for theCache.
v0.4.3 - 2020-09-11
- Updated the download method to stream the response into the target file.
v0.4.2 - 2020-09-11
cached-pathnow compiles on Windows.
v0.4.1 - 2020-09-10
- Added a method
Cache::cached_path_in_subdirto use a specified subdirectory of the cache root.
- Ensure cache directory exists every time
Cache::cached_pathorCache::cached_path_in_subdiris called.
v0.4.0 - 2020-09-10
- Fixed default timeout of
None. Metais now written to file before the tempfile of a downloaded resource is moved to its final cache location. This avoids a bug (albeit, an unlikely one) where the cache could be corrupted if writing theMetato file fails.
v0.4.0-rc1 - 2020-09-09
- Switched to using
thiserrorandanyhowfor error handling.
v0.3.0 - 2020-06-13
- API is now syncronous
rootconfiguration option renamed todir.
- Added a file lock mechanism to make guard against parallel downloads of the same file.
- Added an "offline" mode.
- Minor improvements to internal logic that make caching more robust.