Skip to content

Commit

Permalink
Merge pull request #32 from ipfs-shipyard/rel/0.5.0
Browse files Browse the repository at this point in the history
Release 0.5.0. Added missing Name property to IFileSystemNode.
  • Loading branch information
Arlodotexe authored Apr 10, 2024
2 parents 39e87d1 + 48a5a91 commit ef7d5dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/IFileSystemNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ public interface IFileSystemNode : IMerkleNode<IFileSystemLink>
/// it is some type of a file.
/// </value>
bool IsDirectory { get; }

/// <summary>
/// The file name of the IPFS node.
/// </summary>
public string Name { get; }
}
}
6 changes: 5 additions & 1 deletion 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.4.0</Version>
<Version>0.5.0</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>

<!-- Nuget specs -->
Expand All @@ -30,6 +30,10 @@
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
--- 0.5.0 ---
[Breaking]
Added missing Name property to IFileSystemNode. This property was already present in the Ipfs.Http.FileSystemNode class, and is used in the MfsApi to get the name of the node. This is a breaking change, but it is unlikely that anyone has implemented this interface in their own code. If you have, you will need to add the Name property to your implementation.

--- 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.
Expand Down

0 comments on commit ef7d5dc

Please sign in to comment.