π·οΈ Auto-named Jobs on creation
Jobs now get an automatic name when you don't provide one explicitly, derived from the Docker image (or UV script) plus a short hash of the command line. This means reruns of the same command share a consistent name, while different commands get distinct names β making it much easier to find and group related jobs in the UI or CLI. Names follow the server-side character rules: :, / and . in image tags are replaced with - so python:3.12 foo --truc becomes python-3-12-7c6db949. Explicit --name still takes precedence.
>>> hf jobs run --detach python:3.12 foo --truc
id: 6a60b85c13e6ef894d54b949
Hint: Job auto-named 'python-3-12-7c6db949'. Pass `--name` or run `hf jobs labels <id> --name` to rename.π Documentation: Jobs guide, CLI guide
π§ Other QoL Improvements
- Add timeout parameter to safetensors metadata methods by @go-bai in #4378
- [Download] [Fix] Update file-count progress bar on completion by @Wauplin in #4560
- [Cache] Warn on inconsistency in cache by @Wauplin in #4551 β docs
π Documentation
- Document the 150-character limit on collection descriptions by @davanstrien in #4553 β docs
- [Docs] Fix compromised DO_NOT_TRACK URL by @Wauplin in #4545
- Add SECURITY.md file by @Wauplin in #4541
π Bug and typo fixes
- [Repocard] Fix catastrophic backtracking (ReDoS) in REGEX_YAML_BLOCK by @sohumt123 in #4526
- Fix Windows crash when downloading into a deep local_dir by @askalf in #4546
- [Fix] Do not fail on create space if exists_ok=True and 402 Payment required error by @Wauplin in #4539
- [Repocard] Preserve order of appended keys in CardData.to_yaml by @rahulrshetty45 in #4561
- [HfFileSystem] Raise FileNotFoundError when streaming a missing file by @rahulrshetty45 in #4562
- [Upload] Forward token in _final_commit_info repo_info lookup by @Wauplin in #4572