(Discuss about the release [in our Community Tab](https://huggingface.co/spaces/Wauplin/huggingface_hub/discussions/3). Feedback welcome!! 🤗)
🔐 Authentication
Authentication has been greatly improved in **Google Colab**. The best way to authenticate in a Colab notebook is to define a `HF_TOKEN` secret in your personal secrets. When a notebook tries to reach the Hub, a pop-up will ask you if you want to share the `HF_TOKEN` secret with this notebook -as an opt-in mechanism. This way, no need to call `huggingface_hub.login` and copy-paste your token anymore! 🔥🔥🔥
In addition to the Google Colab integration, the login guide has been revisited to focus on security. It is recommended to authenticate either using `huggingface_hub.login` or the `HF_TOKEN` environment variable, rather than passing a hardcoded token in your scripts. Check out the new guide [here](https://huggingface.co/docs/huggingface_hub/quick-start#login).
* Login/authentication enhancements by Wauplin in 1895
* Catch `SecretNotFoundError` in google colab login by Wauplin in 1912
🏎️ Faster `HfFileSystem`
`HfFileSystem` is a pythonic [fsspec](https://filesystem-spec.readthedocs.io/en/latest/)-compatible file interface to the Hugging Face Hub. Implementation has been greatly improved to optimize `fs.find` performances.
Here is a quick benchmark with the [bigcode/the-stack-dedup](https://huggingface.co/datasets/bigcode/the-stack-dedup) dataset: