Skip to content

Conversation

@Arlodotexe
Copy link
Collaborator

[Breaking]
Pin API aligned with modern Kubo:
IPinApi.ListAsync now returns IAsyncEnumerable{PinListItem} added ListAsync(PinListOptions).
IPinApi.AddAsync now takes PinAddOptions (replaces the recursive boolean parameter).
DAG API: Use POST for export; respect Kubo default for dag import (pin-roots default).

[New]
Pin add progress via IProgress{BlocksPinnedProgress} overload.
Named pins support: PinAddOptions.Name for add; PinListItem.Name; PinListOptions.Name filter (and Names toggle).
AddFileOptions.PinName mapped to pin-name in file adds.

[Improvements]
HTTP client parses pin responses using typed records/DTOs (replaces JObject handling).
Honor AddFileOptions.Pin during file add (pin=true/false).
DAG import tolerant to missing lines on some Kubo versions; export/import roundtrip coverage.
Fixed hash parameter formatting and fscache flag mapping in HTTP layer.

[Dependencies]
Updated to IpfsShipyard.Ipfs.Core 0.8.0.

[CI]
Use .NET 9 SDK in CI and retarget tests to net9.0; resolves PolySharp POLYSPCFG0001 on older SDKs.

[Breaking]
Pin API aligned with modern Kubo:
IPinApi.ListAsync now returns IAsyncEnumerable{PinListItem} added ListAsync(PinListOptions).
IPinApi.AddAsync now takes PinAddOptions (replaces the recursive boolean parameter).
DAG API: Use POST for export; respect Kubo default for dag import (pin-roots default).

[New]
Pin add progress via IProgress{BlocksPinnedProgress} overload.
Named pins support: PinAddOptions.Name for add; PinListItem.Name; PinListOptions.Name filter (and Names toggle).
AddFileOptions.PinName mapped to pin-name in file adds.

[Improvements]
HTTP client parses pin responses using typed records/DTOs (replaces JObject handling).
Honor AddFileOptions.Pin during file add (pin=true/false).
DAG import tolerant to missing lines on some Kubo versions; export/import roundtrip coverage.
Fixed hash parameter formatting and fscache flag mapping in HTTP layer.

[Dependencies]
Updated to IpfsShipyard.Ipfs.Core 0.8.0.

[CI]
Use .NET 9 SDK in CI and retarget tests to net9.0; resolves PolySharp POLYSPCFG0001 on older SDKs.
@Arlodotexe Arlodotexe merged commit f34a399 into main Aug 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants