Skip to content

Commit ef7d5dc

Browse files
authored
Merge pull request #32 from ipfs-shipyard/rel/0.5.0
Release 0.5.0. Added missing Name property to IFileSystemNode.
2 parents 39e87d1 + 48a5a91 commit ef7d5dc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/IFileSystemNode.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ public interface IFileSystemNode : IMerkleNode<IFileSystemLink>
1313
/// it is some type of a file.
1414
/// </value>
1515
bool IsDirectory { get; }
16+
17+
/// <summary>
18+
/// The file name of the IPFS node.
19+
/// </summary>
20+
public string Name { get; }
1621
}
1722
}

src/IpfsCore.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<LangVersion>12.0</LangVersion>
99

1010
<!-- https://semver.org/spec/v2.0.0.html -->
11-
<Version>0.4.0</Version>
11+
<Version>0.5.0</Version>
1212
<AssemblyVersion>$(Version)</AssemblyVersion>
1313

1414
<!-- Nuget specs -->
@@ -30,6 +30,10 @@
3030
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
3131
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3232
<PackageReleaseNotes>
33+
--- 0.5.0 ---
34+
[Breaking]
35+
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.
36+
3337
--- 0.4.0 ---
3438
[Breaking]
3539
Added Mfs property to ICoreApi of type IMfsApi. The interface was added in a previous update, but it was not added to ICoreApi.

0 commit comments

Comments
 (0)