Skip to content

Upgrading huggingface-hub 0.28 to 0.29

Breaking0.28.1 → 0.29.3Breaking1Security1Deprecated1New14Changed5Fixed12Other11

BreakingUpgrade verdict

1 breaking change and a security fix.

  • Renames extra_parameters to extra_body in InferenceClient.
  • A token meant only for the staging environment is no longer sent to production servers.
  • Deprecates hf-inference specific features: wait-for-model header, task override, get_model_status, list_deployed_models.
3 items need code or config changes
Breaking1
Renames extra_parameters to extra_body in InferenceClient.
InferenceClientextra_parametersextra_body
Security1
Stops sending the staging token to production.
Deprecated1
Deprecates hf-inference specific features: wait-for-model header, task override, get_model_status, list_deployed_models.
get_model_statuslist_deployed_modelswait-for-model