Skip to content

Commit

Permalink
Release 0.4.0. Added Mfs property to ICoreApi of type IMfsApi.
Browse files Browse the repository at this point in the history
The interface was added in a previous update, but it was not added to ICoreApi.
See also https://github.com/ipfs-shipyard/net-ipfs-core/pull/13/files
  • Loading branch information
Arlodotexe committed Apr 10, 2024
1 parent 9ab383e commit bb78e8a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
8 changes: 8 additions & 0 deletions src/CoreApi/ICoreApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ public interface ICoreApi
/// </value>
IFileSystemApi FileSystem { get; }

/// <summary>
/// Provides access to the Mfs API.
/// </summary>
/// <value>
/// An object that implements <see cref="IMfsApi"/>.
/// </value>
IMfsApi Mfs { get; }

/// <summary>
/// Provides access to the Generic API.
/// </summary>
Expand Down
16 changes: 10 additions & 6 deletions src/IpfsCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<LangVersion>12.0</LangVersion>

<!-- https://semver.org/spec/v2.0.0.html -->
<Version>0.3.0</Version>
<Version>0.4.0</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>

<!-- Nuget specs -->
Expand All @@ -30,6 +30,10 @@
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
--- 0.4.0 ---
[Breaking]
Added Mfs property to ICoreApi of type IMfsApi. The interface was added in a previous update, but it was not added to ICoreApi.

--- 0.3.0 ---
A full analysis of the Bitswap API was made to bring it in line with Kubo's RPC API.

Expand Down Expand Up @@ -60,17 +64,17 @@ Added missing IFileSystemApi.ListAsync. Doesn't fully replace the removed IFileS
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.21.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Google.Protobuf" Version="3.26.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5" />
<PackageReference Include="SimpleBase" Version="1.3.1" />
<PackageReference Include="Grpc.Tools" Version="2.46.3" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Grpc.Tools" Version="2.62.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions test/IpfsCoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" PrivateAssets="all" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" PrivateAssets="all" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" PrivateAssets="all" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" PrivateAssets="all" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit bb78e8a

Please sign in to comment.