Changelog¶
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.
Unreleased¶
v1.0.2 - 2021-12-23¶
Fixed¶
Fixed snapshot downloads from HuggingFace Hub.
v1.0.1 - 2021-12-02¶
Added¶
Added support for latest version of
huggingface-hub
(v0.2.0).
v1.0.0 - 2021-11-29¶
Removed¶
Removed dependency on the
overrides
package
v0.3.4 - 2021-11-19¶
v0.3.3 - 2021-11-17¶
Changed¶
filelock >= 3.4
required.
v0.3.2 - 2021-11-03¶
Changed¶
Updated HuggingFace Hub requirement to support 0.1.0.
v0.3.1 - 2021-10-07¶
Fixed¶
Fixed
FileLock
issue thatoverrides
was complaining about.
v0.3.0 - 2021-09-23¶
Changed¶
Renamed
SchemeClient.connection_error_types
torecoverable_errors
, and includedrequests.exceptions.Timeout
.HttpClient
now considers 502, 503, and 504 asrecoverable_errors
.
v0.2.0 - 2021-09-22¶
Added¶
Added function
set_cache_dir
for overriding the global default cache directory.Added function
get_cache_dir
for getting the global default cache directory.Added function
add_scheme_client
for extendingcached_path
to handle more URL schemes.Added function
file_friendly_logging
to turn file friendly logging on globally.
Changed¶
_Meta
dataclass renamed toMeta
.FileLock
moved tocached_path.file_lock
.CacheFile
moved tocached_path.cache_file
.The download progress bar uses 1024 instead of 1000 as the unit scale.
AWS S3 and Google Cloud Storage downloads now have a progress bar.
Fixed¶
For HTTP resources, when the server returns a 404
cached_path()
now raisesFileNotFoundError
for consistency.Fixed fetching ETag / MD5 hash for Google Cloud Storage resources.
Made Google Cloud Storage requests more robust by adding a retry policy and checking MD5 sums.
v0.1.0 - 2021-09-09¶
Added¶
Added code for a file utility library that provides a unified, simple interface for accessing both local and remote files. This can be used behind other APIs that need to access files agnostic to where they are located.