Releases: huggingface/hf-hub
Releases · huggingface/hf-hub
v0.4.3
What's Changed
- Simplify deps by letting reqwest deal with rustls (ring vs aws-lc-rs). by @Narsil in #88
- Flock lock by @Narsil in #90
- Forcing a flush due to tokio::fs semantics. by @Narsil in #89
- Fix minor syntax typo in the readme by @DavidJFelix in #91
- feat: Allow custom user-agent when interacting with Hub. by @Hugoch in #96
- Patch release. by @Narsil in #97
- fix: handle response status code-based errors in
ApiRepo.infobefore deserialization by @shadeMe in #109 - Update README.md by @Propfend in #101
- Fix readme typos. by @zhanluxianshen in #98
- Changes ApiRepo::download_with_progress in sync API to propagate Lock… by @august99us in #106
- Fixing the redirect missing the auth header. by @Narsil in #110
- Adding LICENSE file by @Narsil in #111
- Upgrade version. by @Narsil in #112
- Upgrade deps by @Narsil in #113
New Contributors
- @DavidJFelix made their first contribution in #91
- @Hugoch made their first contribution in #96
- @shadeMe made their first contribution in #109
- @Propfend made their first contribution in #101
- @zhanluxianshen made their first contribution in #98
- @august99us made their first contribution in #106
Full Changelog: v0.4.1...v0.4.3
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_HOMEis not read by default anymore.ApiBuilder::from_env()andCache::from_envnow read it instead of::new()and they also readHF_ENDPOINTto align withhuggingface_hub. Reading environment variable should be opted-in, not defaults. - BREAKING CHANGE:
tokiobackend 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
ModelInfoup and rename asRepoInfo. by @Narsil in #4 - Improving DL speed in the non
tokiofeature by @Narsil in #5 - Revamping a lot of the API around using
ApiRepoinstead 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_cachemethod. 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-tlsfeature 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