Change8

Migrating to HuggingFace Hub v1.6.0

Version v1.6.0 introduces 1 breaking change. This guide details how to update your code.

Released: 3/6/2026

1
Breaking Changes
1
Migration Steps
13
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

hf spaces dev-modehf discussionshf webhookshf datasets parquethf datasets sqlhf repos duplicateHfFileSystemhffs.lshffs.openhffs.read_texthf extensions installhf --helpInferenceClient

Breaking Changes

Issue #1

Removed the deprecated `direction` argument from `list_models`, `list_datasets`, and `list_spaces` functions/commands. Users should update calls to use the replacement argument if one exists, or remove the argument if it was fully deprecated.

Migration Steps

  1. 1
    If you were using the deprecated `direction` argument in model, dataset, or space listing functions/commands, remove it from your calls.

Release Summary

This release introduces significant new CLI functionality for managing Spaces, Discussions, Webhooks, and Datasets, alongside major enhancements to file system support with the addition of Bucket integration in HfFileSystem and pip installable CLI extensions.

Need More Details?

View the full release notes and all changes for HuggingFace Hub v1.6.0.

View Full Changelog