8000 Tags · huggingface/swift-huggingface · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Decode commit authors from the Hub (#101)

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 1.0.0 (#94)

0.13.0

Toggle 0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Move OAuth authentication into a HuggingFaceOAuth product (#84)

0.12.0

Toggle 0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add fileProgressHandler through separate downloadSnapshot overloads (#80

)

0.11.0

Toggle 0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Report intermediate Xet download progress (#77)

* Report intermediate Xet download progress

* Complete progress for empty Xet downloads

* Require swift-xet 0.3.0

* Isolate Replay tests from concurrent Xet requests

0.10.2

Toggle 0.10.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add recorded Hub tag tests with Replay (#73)

* Add recorded Hub tag tests with Replay

* Fix replay tests on Linux and with Xet

* Use LF line endings for replay fixtures

0.10.1

Toggle 0.10.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Decode tags-by-type responses as the Hub sends them (#71)

* Decode tags-by-type responses as the Hub sends them

The Hub answers /api/models-tags-by-type and /api/datasets-tags-by-type
with the tag groups at the top level, keyed by type, and no wrapper object.
Tags decoded a "tags" key instead, so getModelTags() and getDatasetTags()
failed on every real response. The mocks wrapped the answer the same way,
which is why the tests passed.

Decode and encode the bare dictionary through a single-value container,
change the mocks to the Hub's own shape, and add round-trip tests for Tags.

* Keep decoding the legacy wrapped Tags shape

Earlier releases encoded Tags inside a "tags" wrapper object.
Fall back to that shape when the bare dictionary fails to decode,
so previously persisted data still loads.

* Surface decoding errors from inside the legacy Tags wrapper

When the legacy "tags" wrapper is present but its contents are invalid,
rethrow that error rather than the one from the bare-dictionary attempt,
so the coding path points at the field that is actually wrong.

* Match DecodingError directly in the legacy Tags test

* Cast before matching DecodingError in the legacy Tags test

Matching the enum case directly against the thrown error
crashes the Swift 6.0 type checker inside the throwing #expect closure.
Cast to DecodingError first, then match the case.

0.10.0

Toggle 0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Give persisted download temp files a recognizable name (#66)

The download bridge introduced in #50 moves each finished download to a
bare UUID in the temporary directory. Name it hf-download-<uuid>.tmp
instead so stray files are easy to attribute, and have the temp-file
cleanup tests watch for that prefix as well as CFNetworkDownload_*.

Follow-up to #50 and #52.

0.9.0

Toggle 0.9.0's commit message

Verified

This commit was signed with the committer’s verified signature.
mattt Mattt
Bump version to 0.9.0

0.8.1

Toggle 0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix different files referring to the same blob being copied incorrect…

…ly in a snapshot download (#42)

* Fix an issue where different files referring to the same blob could be copied incorrectly in a snapshot download.

* Incorporate feedback from review

* Add clarifying code comments to downloadFile implementation

* Incorporate feedback from review

* swift format -i --recursive .

---------

Co-authored-by: Mattt Zmuda <mattt@me.com>
0