Releases: huggingface/hf-hub
Releases · huggingface/hf-hub
v0.4.1
v0.4.0
New in 0.4.0
- Rest of the changes are auto-generated an do not reflect things new in 0.4.0.
- BREAKING CHANGE:
HF_HOME
is not read by default anymore.ApiBuilder::from_env()
andCache::from_env
now read it instead of::new()
and they also readHF_ENDPOINT
to align withhuggingface_hub
. Reading environment variable should be opted-in, not defaults. - BREAKING CHANGE:
tokio
backend now uses a single task with multiple chunks to go easy on user's desktop connections. Instead usingApiBuilder::new().high()
should be used if you want to saturate the connection by using many concurrent tasks to saturate connections (for instance S3) - Downloads will resume automatically by @Narsil in #84
- Choice of TLS backend. Choose your backend for TLS support with
["ureq", "tokio"] X ["native-tls", "rustls-tls"]
features cross product. Remember to deactivate default features to select only the features you're interested in.
What's Changed
- Fixing token location. by @Narsil in #3
- Move
ModelInfo
up and rename asRepoInfo
. by @Narsil in #4 - Improving DL speed in the non
tokio
feature by @Narsil in #5 - Revamping a lot of the API around using
ApiRepo
instead of alwaysapi.fn(&repo, ...)
by @Narsil in #6 - Upgrading to new minor (breaking change with ApiRepo). by @Narsil in #7
- feat(api): add lfs metadata by @McPatate in #8
- Stop using tmp dir by @Narsil in #11
- Add logging in project based on 'log' library. by @evgenyigumnov in #12
- Add cache repo by @Narsil in #14
- Symlink human readable error by @Narsil in #15
- Update new datasets layout. by @Narsil in #16
- Fixing tests. by @Narsil in #19
- Expose token reading. by @Narsil in #24
- Adding
ApiBuilder::from_cache
method. by @Narsil in #27 - Work without any features. by @Narsil in #25
- Update tests by @Narsil in #31
- New version with
from_cache
. by @Narsil in #32 - Add proxy from env. by @wh7f in #34
- fix: use relative redirects by @OlivierDehaene in #36
derive(Debug)
in most places. by @MarcusDunn in #40- Optional native tls. by @Narsil in #53
- feat: add
tokio-rustls-tls
feature by @McPatate in #55 - Add flake + update test. by @Narsil in #67
- Set endpoint value from env var by @Adamska1008 in #50
- Add builder with_endpoint to allow setting alternate HF Hub endpoints by @rajatarya in #78
- Revamp the features to have cross product. by @Narsil in #79
- feat(ci): run CI on every push to main by @McPatate in #74
- Feat/sync retry download by @benedikt-schaber in #23
- Changing log around. by @Narsil in #82
- Adding a socks example. by @Narsil in #81
- Custom progressbar. Using a trait without fat pointer. by @Narsil in #80
- Hotfix the progress calls for
sync
. by @Narsil in #83 - Adding options for environment variables. by @Narsil in #85
- Resumable downloads. by @Narsil in #84
New Contributors
- @Narsil made their first contribution in #3
- @McPatate made their first contribution in #8
- @evgenyigumnov made their first contribution in #12
- @wh7f made their first contribution in #34
- @OlivierDehaene made their first contribution in #36
- @MarcusDunn made their first contribution in #40
- @Adamska1008 made their first contribution in #50
- @rajatarya made their first contribution in #78
- @benedikt-schaber made their first contribution in #23
Full Changelog: https://github.com/huggingface/hf-hub/commits/v0.4.0