TL;DR: We are planning to release huggingface_hub 1.0 in the coming weeks! 🔥🔥🔥
After nearly 5 years of development, huggingface_hub has become a robust and stable library that serves as the foundation for the Hugging Face Python ecosystem. With over 25M weekly downloads, 1.4B+ total downloads, and 200k+ dependent repositories, it's used by millions of developers worldwide every day. This major release marks our commitment to API stability and the maturity of the library.
This issue exists to track progress of tasks we want to complete before the release. Feel free to comment on it if you have any suggestion or remark to make. Goal is to have a stable release candidate by end of September and an official release in the following weeks.
This issue tracks all tasks that we want to complete before the 1.0 release. Feedback is very much welcomed. Please feel free to comment with any suggestions, concerns, or remarks you may have. Our goal is to have a stable release candidate ready by the end of September, with the official release following in the subsequent weeks.
In practice, we started a v1.0-release branch to which PRs will be merged. If a new feature or bug-fix is merged to main, we will rebase to the v1.0-release branch as well. Once the v1.0 will be released, we will publish a last 0.x release (likely 0.35.0). This 0.x package will be maintained for critical bug fixes and security issues but won't get any new features. We will provide a guide to migrate external libraries from 0.x to 1.x, hoping that the problematic breaking changes will remain minimal.
Improvements
Documentation
Clean up / breaking changes
Internals
Compatibility with HF ecosystem
TL;DR: We are planning to release
huggingface_hub1.0 in the coming weeks! 🔥🔥🔥After nearly 5 years of development,
huggingface_hubhas become a robust and stable library that serves as the foundation for the Hugging Face Python ecosystem. With over 25M weekly downloads, 1.4B+ total downloads, and 200k+ dependent repositories, it's used by millions of developers worldwide every day. This major release marks our commitment to API stability and the maturity of the library.This issue exists to track progress of tasks we want to complete before the release. Feel free to comment on it if you have any suggestion or remark to make. Goal is to have a stable release candidate by end of September and an official release in the following weeks.
This issue tracks all tasks that we want to complete before the 1.0 release. Feedback is very much welcomed. Please feel free to comment with any suggestions, concerns, or remarks you may have. Our goal is to have a stable release candidate ready by the end of September, with the official release following in the subsequent weeks.
In practice, we started a
v1.0-releasebranch to which PRs will be merged. If a new feature or bug-fix is merged tomain, we will rebase to thev1.0-releasebranch as well. Once the v1.0 will be released, we will publish a last 0.x release (likely0.35.0). This 0.x package will be maintained for critical bug fixes and security issues but won't get any new features. We will provide a guide to migrate external libraries from 0.x to 1.x, hoping that the problematic breaking changes will remain minimal.Improvements
curl https://hf.co/install-cli | bashAdd cross-platform CLI Installers #3378hfcommands / address existing CLI tickets Add new HF commands #3384huggingface-cli? Removehuggingface-clientirely in favor ofhf#3404rich_markup_mode=Noneto disable rich in all cases https://github.com/huggingface/huggingface_hub/pull/3365https://typer.tiangolo.com/tutorial/commands/help/#rich-markdown-and-markupDocumentation
git_vs_http.mdpage [v1.0] Update "HTTP backend" docs +git_vs_httpguide #3357git_vs_httpguide #3357Clean up / breaking changes
upload_file/upload_folderreturn links to files/folders) [v1.0] Remove more deprecated stuff #3345login/interpreter_login/notebook_login: remove deprecated arguments [v1.0] Remove more deprecated stuff #3345loginmethods: renamenew_session=Falsetoskip_if_logged_in=True(from internal slack thread) [v1.0] Remove more deprecated stuff #3345hf_hub_download: removeforce_filenameandresume_endpointparameters [v1.0] Remove more deprecated stuff #3345list_models: remove deprecated arguments [v1.0] Remove more deprecated stuff #3345build_hf_headers: removeis_write_actionparameter [v1.0] Remove more deprecated stuff #3345Repositoryclass [v1.0] RemoveRepositoryclass #3346InferenceAPIclass [v1.0] RemoveHfFolderandInferenceAPIclasses #3344HfFolderclass [v1.0] RemoveHfFolderandInferenceAPIclasses #3344update_repo_visibilitymethod [v1.0] Remove more deprecated stuff #3345get_token_permissionmethod [v1.0] Remove more deprecated stuff #3345constants.hf_cache_home(legacy) [v1.0] Remove more deprecated stuff #3345_deprecate_positional_args[v1.0] Remove_deprecate_positional_argson login methods #3349Internals
dictinstead oftyping.Dict) Bump minimal version to Python3.9 #3343# noqa: F401 # kept for backward compatibilityfrom import sections [v1.0] Remove imports kept only for backward compatibility #3350Compatibility with HF ecosystem