Skip to content

Commit 28bb2dc

Browse files
committed
Release 0.7.0. See release notes or expand full commit message.
[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.
1 parent d22821c commit 28bb2dc

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/IpfsHttpClient.csproj

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1010

1111
<!-- https://semver.org/spec/v2.0.0.html -->
12-
<Version>0.6.0</Version>
12+
<Version>0.7.0</Version>
1313
<AssemblyVersion>$(Version)</AssemblyVersion>
1414
<LangVersion>12.0</LangVersion>
1515

@@ -41,6 +41,30 @@
4141
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
4242
<AllowedOutputExtensionsInPackageBuildOutputFolder>.pdb;$(AllowedOutputExtensionsInPackageBuildOutputFolder)</AllowedOutputExtensionsInPackageBuildOutputFolder>
4343
<PackageReleaseNotes>
44+
--- 0.7.0 ---
45+
[Breaking]
46+
Pin API aligned with modern Kubo:
47+
IPinApi.ListAsync now returns IAsyncEnumerable{PinListItem} added ListAsync(PinListOptions).
48+
IPinApi.AddAsync now takes PinAddOptions (replaces the recursive boolean parameter).
49+
DAG API: Use POST for export; respect Kubo default for dag import (pin-roots default).
50+
51+
[New]
52+
Pin add progress via IProgress{BlocksPinnedProgress} overload.
53+
Named pins support: PinAddOptions.Name for add; PinListItem.Name; PinListOptions.Name filter (and Names toggle).
54+
AddFileOptions.PinName mapped to pin-name in file adds.
55+
56+
[Improvements]
57+
HTTP client parses pin responses using typed records/DTOs (replaces JObject handling).
58+
Honor AddFileOptions.Pin during file add (pin=true/false).
59+
DAG import tolerant to missing lines on some Kubo versions; export/import roundtrip coverage.
60+
Fixed hash parameter formatting and fscache flag mapping in HTTP layer.
61+
62+
[Dependencies]
63+
Updated to IpfsShipyard.Ipfs.Core 0.8.0.
64+
65+
[CI]
66+
Use .NET 9 SDK in CI and retarget tests to net9.0; resolves PolySharp POLYSPCFG0001 on older SDKs.
67+
4468
--- 0.6.0 ---
4569
[Breaking]
4670
Fixed WebRTC-Direct support added in Kubo 0.30.0.

0 commit comments

Comments
 (0)