Releases: smdn/Smdn.Fundamentals
Smdn.MSBuild.ProjectAssets.Common version 1.4.1
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-10-23 update package version
- 2024-10-23 add default path to git cli for Windows
- 2024-10-23 make the path to git cli configurable
Full changes
Full changes in this release:
diff --git a/src/Smdn.MSBuild.ProjectAssets.Common/Smdn.MSBuild.ProjectAssets.Common.csproj b/src/Smdn.MSBuild.ProjectAssets.Common/Smdn.MSBuild.ProjectAssets.Common.csproj
index 45646932..8d8cebcb 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Common/Smdn.MSBuild.ProjectAssets.Common.csproj
+++ b/src/Smdn.MSBuild.ProjectAssets.Common/Smdn.MSBuild.ProjectAssets.Common.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
<Import Project="$(MSBuildThisFileDirectory)..\..\eng\ProjectSettings.NoAssembliesNoBuild.props" />
<PropertyGroup>
- <VersionPrefix>1.4.0</VersionPrefix>
+ <VersionPrefix>1.4.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<DevelopmentDependency>true</DevelopmentDependency>
<NoWarn>NU5110;NU5111;$(NoWarn)</NoWarn>
diff --git a/src/Smdn.MSBuild.ProjectAssets.Common/project/targets/GetRepositoryProperties.targets b/src/Smdn.MSBuild.ProjectAssets.Common/project/targets/GetRepositoryProperties.targets
index 1d83d1e5..92cd8402 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Common/project/targets/GetRepositoryProperties.targets
+++ b/src/Smdn.MSBuild.ProjectAssets.Common/project/targets/GetRepositoryProperties.targets
@@ -4,15 +4,21 @@ SPDX-License-Identifier: MIT
-->
<Project>
<Target Name="GetRepositoryProperties">
- <CallTarget Targets="GetRepositoryProperties_OSUnixLike_Git" Condition="$([MSBuild]::IsOSUnixLike()) and ('$(RepositoryType)' == 'git')"/>
+ <CallTarget Targets="GetRepositoryProperties_Git" Condition="'$(RepositoryType)' == 'git'"/>
<CallTarget Targets="GetRepositoryProperties_VersionOrRepositoryTypeNotSupported"/>
</Target>
- <Target Name="GetRepositoryProperties_OSUnixLike_Git">
- <Exec Command="git branch --show-current" Condition="'$(RepositoryBranch)' == ''" ConsoleToMSBuild="true" EchoOff="true" StandardOutputImportance="Low">
+ <Target Name="GetRepositoryProperties_Git">
+ <PropertyGroup Condition="'$(GitCommandLineInterfacePath)' == ''">
+ <GitCommandLineInterfacePath Condition="$([MSBuild]::IsOsPlatform('Windows'))">"$(ProgramFiles)\Git\cmd\git.exe"</GitCommandLineInterfacePath>
+ <GitCommandLineInterfacePath Condition="$([MSBuild]::IsOSUnixLike())">git</GitCommandLineInterfacePath>
+ <GitCommandLineInterfacePath Condition="'$(GitCommandLineInterfacePath)' == ''">git</GitCommandLineInterfacePath>
+ </PropertyGroup>
+
+ <Exec Command="$(GitCommandLineInterfacePath) branch --show-current" Condition="'$(RepositoryBranch)' == ''" ConsoleToMSBuild="true" EchoOff="true" StandardOutputImportance="Low">
<Output TaskParameter="ConsoleOutput" PropertyName="RepositoryBranch" />
</Exec>
- <Exec Command="git rev-parse HEAD" Condition="'$(RepositoryCommit)' == ''" ConsoleToMSBuild="true" EchoOff="true" StandardOutputImportance="Low">
+ <Exec Command="$(GitCommandLineInterfacePath) rev-parse HEAD" Condition="'$(RepositoryCommit)' == ''" ConsoleToMSBuild="true" EchoOff="true" StandardOutputImportance="Low">
<Output TaskParameter="ConsoleOutput" PropertyName="RepositoryCommit" />
</Exec>
</Target>
Notes
Full Changelog: releases/Smdn.MSBuild.ProjectAssets.Common-1.4.0...releases/Smdn.MSBuild.ProjectAssets.Common-1.4.1
Smdn.Fundamental.ControlPicture version 3.0.1
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-10-17 update assembly version
- 2024-10-17 add target framework net8.0
- 2024-10-17 reduce copying buffers using with String.Create
- 2023-12-19 disable warning CS1591
- 2023-05-11 compliant IDE0030; empty the root namespace so that the namespace is determined only by the directory name
- 2023-01-05 drop net5.0 from target frameworks
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net45.apilist.cs
index 822a4f9d..c5a3e725 100644
--- a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net45.apilist.cs
@@ -1,34 +1,34 @@
-// Smdn.Fundamental.ControlPicture.dll (Smdn.Fundamental.ControlPicture-3.0.0.1)
+// Smdn.Fundamental.ControlPicture.dll (Smdn.Fundamental.ControlPicture-3.0.1)
// Name: Smdn.Fundamental.ControlPicture
-// AssemblyVersion: 3.0.0.1
-// InformationalVersion: 3.0.0.1+dc20ebef71437f6ae0e2cacb43e17d83d13c8ef0
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+1d6abeeaf6f311d1bb60ddb613a71de6c47dc6a8
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
// Referenced assemblies:
// System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Text.Encodings.Web, Version=4.0.3.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
using System;
using System.Buffers;
namespace Smdn.Text.Unicode.ControlPictures {
public static class ReadOnlySequenceExtensions {
public static string ToControlCharsPicturizedString(this ReadOnlySequence<byte> sequence) {}
public static bool TryPicturizeControlChars(this ReadOnlySequence<byte> sequence, Span<char> destination) {}
}
public static class ReadOnlySpanExtensions {
public static string ToControlCharsPicturizedString(this ReadOnlySpan<byte> span) {}
public static string ToControlCharsPicturizedString(this ReadOnlySpan<char> span) {}
public static bool TryPicturizeControlChars(this ReadOnlySpan<byte> span, Span<char> destination) {}
public static bool TryPicturizeControlChars(this ReadOnlySpan<char> span, Span<char> destination) {}
}
public static class StringExtensions {
public static string ToControlCharsPicturized(this string str) {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.1.7.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net461.apilist.cs b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net461.apilist.cs
index 85ac95f0..398ddab3 100644
--- a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net461.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net461.apilist.cs
@@ -1,34 +1,34 @@
-// Smdn.Fundamental.ControlPicture.dll (Smdn.Fundamental.ControlPicture-3.0.0.1)
+// Smdn.Fundamental.ControlPicture.dll (Smdn.Fundamental.ControlPicture-3.0.1)
// Name: Smdn.Fundamental.ControlPicture
-// AssemblyVersion: 3.0.0.1
-// InformationalVersion: 3.0.0.1+dc20ebef71437f6ae0e2cacb43e17d83d13c8ef0
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+1d6abeeaf6f311d1bb60ddb613a71de6c47dc6a8
// TargetFramework: .NETFramework,Version=v4.6.1
// Configuration: Release
// Referenced assemblies:
// System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
using System;
using System.Buffers;
namespace Smdn.Text.Unicode.ControlPictures {
public static class ReadOnlySequenceExtensions {
public static string ToControlCharsPicturizedString(this ReadOnlySequence<byte> sequence) {}
public static bool TryPicturizeControlChars(this ReadOnlySequence<byte> sequence, Span<char> destination) {}
}
public static class ReadOnlySpanExtensions {
public static string ToControlCharsPicturizedString(this ReadOnlySpan<byte> span) {}
public static string ToControlCharsPicturizedString(this ReadOnlySpan<char> span) {}
public static bool TryPicturizeControlChars(this ReadOnlySpan<byte> span, Span<char> destination) {}
public static bool TryPicturizeControlChars(this ReadOnlySpan<char> span, Span<char> destination) {}
}
public static class StringExtensions {
public static string ToControlCharsPicturized(this string str) {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.1.7.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net6.0.apilist.cs b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net6.0.apilist.cs
index 7c2b061c..19b2d776 100644
--- a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net6.0.apilist.cs
@@ -1,33 +1,34 @@
-// Smdn.Fundamental.ControlPicture.dll (Smdn.Fundamental.ControlPicture-3.0.0.1)
+// Smdn.Fundamental.ControlPicture.dll (Smdn.Fundamental.ControlPicture-3.0.1)
// Name: Smdn.Fundamental.ControlPicture
-// AssemblyVersion: 3.0.0.1
-// InformationalVersion: 3.0.0.1+dc20ebef71437f6ae0e2cacb43e17d83d13c8ef0
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+1d6abeeaf6f311d1bb60ddb613a71de6c47dc6a8
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+// System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
using System;
using System.Buffers;
namespace Smdn.Text.Unicode.ControlPictures {
public static class ReadOnlySequenceExtensions {
public static string ToControlCharsPicturizedString(this ReadOnlySequence<byte> sequence) {}
public static bool TryPicturizeControlChars(this ReadOnlySequence<byte> sequence, Span<char> destination) {}
}
public static class ReadOnlySpanExtensions {
public static string ToControlCharsPicturizedString(this ReadOnlySpan<byte> span) {}
public static string ToControlCharsPicturizedString(this ReadOnlySpan<char> span) {}
public static bool TryPicturizeControlChars(this ReadOnlySpan<byte> span, Span<char> destination) {}
public static bool TryPicturizeControlChars(this ReadOnlySpan<char> span, Span<char> destination) {}
}
public static class StringExtensions {
public static string ToControlCharsPicturized(this string str) {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.1.7.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net5.0.apilist.cs b/doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net8.0.apilist.cs
similarity index 60%
rename from doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net5.0.apilist.cs
rename to doc/api-list/Smdn.Fundamental.ControlPicture/Smdn.Fundamental.ControlPicture-net8.0.apilist.cs
index a558aefd..e6af8209 100644
--- a/doc/api-list/Smdn.Fundamental.C...
Smdn.MSBuild.ProjectAssets.Library version 1.7.3
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-10-09 update package version
- 2024-10-09 bump Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks up to 1.4.1
- 2024-10-09 bump NUnit.Analyzers up to 4.3.0
Full changes
Full changes in this release:
diff --git a/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj b/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj
index 7220f2a1..693ef616 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj
+++ b/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
<Import Project="$(MSBuildThisFileDirectory)..\..\eng\ProjectSettings.NoAssembliesNoBuild.props" />
<PropertyGroup>
- <VersionPrefix>1.7.2</VersionPrefix>
+ <VersionPrefix>1.7.3</VersionPrefix>
<VersionSuffix></VersionSuffix>
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>
diff --git a/src/Smdn.MSBuild.ProjectAssets.Library/project/ApiListGenerator.targets b/src/Smdn.MSBuild.ProjectAssets.Library/project/ApiListGenerator.targets
index ded17049..2e50ebd7 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Library/project/ApiListGenerator.targets
+++ b/src/Smdn.MSBuild.ProjectAssets.Library/project/ApiListGenerator.targets
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
<PropertyGroup Label="API list generator">
<!-- default configurations -->
<APIListOutputBaseDirectory Condition=" '$(APIListOutputBaseDirectory)' == '' ">api-list\</APIListOutputBaseDirectory>
- <APIListPackageVersion Condition=" '$(APIListPackageVersion)' == '' ">1.2.1</APIListPackageVersion>
+ <APIListPackageVersion Condition=" '$(APIListPackageVersion)' == '' ">1.4.1</APIListPackageVersion>
<APIListLoadIntoReflectionOnlyContext Condition=" '$(APIListLoadIntoReflectionOnlyContext)' == '' ">false</APIListLoadIntoReflectionOnlyContext>
<_APIListDoGenerate>$(APIListEnableGenerating)</_APIListDoGenerate>
diff --git a/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.NUnitAnalyzers.props b/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.NUnitAnalyzers.props
index 0414f1f5..a741253c 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.NUnitAnalyzers.props
+++ b/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.NUnitAnalyzers.props
@@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT
-->
<Project>
<ItemGroup Label="NUnit Analyzers code analysis">
- <PackageReference Include="NUnit.Analyzers" Version="3.10.0">
+ <PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Notes
Full Changelog: releases/Smdn.MSBuild.ProjectAssets.Library-1.7.2...releases/Smdn.MSBuild.ProjectAssets.Library-1.7.3
Smdn.MSBuild.ProjectAssets.Library version 1.7.2
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-29 update package version
- 2024-03-29 bump StyleCop.Analyzers up to 1.2.0-beta.556
Full changes
Full changes in this release:
diff --git a/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj b/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj
index 703e800a..7220f2a1 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj
+++ b/src/Smdn.MSBuild.ProjectAssets.Library/Smdn.MSBuild.ProjectAssets.Library.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
<Import Project="$(MSBuildThisFileDirectory)..\..\eng\ProjectSettings.NoAssembliesNoBuild.props" />
<PropertyGroup>
- <VersionPrefix>1.7.1</VersionPrefix>
+ <VersionPrefix>1.7.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>
diff --git a/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.StyleCop.props b/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.StyleCop.props
index 45fa960c..57dce75e 100644
--- a/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.StyleCop.props
+++ b/src/Smdn.MSBuild.ProjectAssets.Library/project/CodeAnalysis.StyleCop.props
@@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT
-->
<Project>
<ItemGroup Label="StyleCop code analysis">
- <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507">
+ <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Notes
Full Changelog: releases/Smdn.MSBuild.ProjectAssets.Library-1.7.1...releases/Smdn.MSBuild.ProjectAssets.Library-1.7.2
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.4.8
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-28 add CollectionExtensions.CopyTo
- 2024-03-28 add CollectionExtensions.AddRange/InsertRange
- 2024-03-28 update package version
- 2024-03-28 add UdpClient.ReceiveAsync(CancellationToken)
- 2024-03-28 add UdpClient.Send/SendAsync(ReadOnlyMemory<byte>)
- 2024-03-28 add TcpClient.ConnectAsync(IPEndPoint)
- 2024-03-28 add TcpClient.ConnectAsync(CancellationToken)
Notes
Full Changelog: releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.7...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.8
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.4.7
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-28 update package version
- 2024-03-28 add CancellationTokenSource.CancelAsync
- 2024-03-28 fix ordering
- 2024-03-28 add Enumerable.TryGetNonEnumeratedCount
- 2024-03-12 add TextWriter.FlushAsync(CancellationToken)
Notes
Full Changelog: releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.6...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.7
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.4.6
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-11 update package version
- 2024-03-11 add System.Xml.XmlWriter.DisposeAsync
Notes
Full Changelog: releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.5...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.6
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.4.5
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-11 update package version
- 2024-03-11 add System.Xml.Linq.XNode.WriteToAsync
Notes
Full Changelog: releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.4...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.4.5
Smdn.Fundamental.Xml.Xhtml version 3.1.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-12 implement IAsyncDisposable
- 2024-03-11 update assembly version
- 2024-03-11 implement FlushAsync()
- 2024-03-11 implement XmlWriter's async operations
- 2024-03-11 bump Smdn.Fundamental.Xml.Linq up to 3.1.0
- 2024-03-10 enable nullable for PolyglotHtml5Writer
- 2023-12-19 fix warning IDE1006: Naming rule violation
- 2023-12-19 disable warning CS1591
- 2023-05-11 compliant IDE0030; empty the root namespace so that the namespace is determined only by the directory name
- 2023-05-10 validate the parameter is non-null before using it
- 2023-05-10 specify StringComparison for clarity
- 2023-01-22 update package reference for Smdn.Fundamental.Shim
- 2023-01-15 replace ProjectReference with ReferenceAssemblyVersion to ProjectOrPackageReference
- 2023-01-12 set ReferenceAssemblyVersion to the ProjectReferences
- 2023-01-12 use ReferencePackageVersion instead of VersionRange
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.Xml.Xhtml/Smdn.Fundamental.Xml.Xhtml-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.Xml.Xhtml/Smdn.Fundamental.Xml.Xhtml-net45.apilist.cs
index fd232574..41cf38e9 100644
--- a/doc/api-list/Smdn.Fundamental.Xml.Xhtml/Smdn.Fundamental.Xml.Xhtml-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Xml.Xhtml/Smdn.Fundamental.Xml.Xhtml-net45.apilist.cs
@@ -1,274 +1,298 @@
-// Smdn.Fundamental.Xml.Xhtml.dll (Smdn.Fundamental.Xml.Xhtml-3.0.1)
+// Smdn.Fundamental.Xml.Xhtml.dll (Smdn.Fundamental.Xml.Xhtml-3.1.0)
// Name: Smdn.Fundamental.Xml.Xhtml
-// AssemblyVersion: 3.0.1.0
-// InformationalVersion: 3.0.1+c848761b03aeddaf02bfeb277f3f5672e904cf60
+// AssemblyVersion: 3.1.0.0
+// InformationalVersion: 3.1.0+b5413ee3943c96bf97583eb7971556b337be4f02
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
// Referenced assemblies:
-// Smdn.Fundamental.Shim, Version=3.1.2.0, Culture=neutral
-// Smdn.Fundamental.Xml.Linq, Version=3.0.0.0, Culture=neutral
+// Smdn.Fundamental.Shim, Version=3.1.4.0, Culture=neutral
+// Smdn.Fundamental.Xml.Linq, Version=3.1.0.0, Culture=neutral
// System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
+using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using Smdn.Xml.Xhtml;
namespace Smdn.Xml.Linq.Xhtml {
public static class Extensions {
public static XElement GetElementById(this XContainer container, string id) {}
public static bool HasHtmlClass(this XElement element, IEnumerable<string> classList) {}
public static bool HasHtmlClass(this XElement element, string @class) {}
}
public static class XHtmlAttributeNames {
public static readonly XName AccessKey; // = "accesskey"
public static readonly XName Alt; // = "alt"
public static readonly XName Cite; // = "cite"
public static readonly XName Class; // = "class"
public static readonly XName ContentEditable; // = "contenteditable"
public static readonly XName Dir; // = "dir"
public static readonly XName Download; // = "download"
public static readonly XName Draggable; // = "draggable"
public static readonly XName Hidden; // = "hidden"
public static readonly XName Href; // = "href"
public static readonly XName HrefLang; // = "hreflang"
public static readonly XName Id; // = "id"
public static readonly XName Lang; // = "lang"
public static readonly XName Media; // = "media"
public static readonly XName Rel; // = "rel"
public static readonly XName SpellCheck; // = "spellcheck"
public static readonly XName Src; // = "src"
public static readonly XName Style; // = "style"
public static readonly XName TabIndex; // = "tabindex"
public static readonly XName Target; // = "target"
public static readonly XName Title; // = "title"
public static readonly XName Translate; // = "translate"
public static readonly XName Type; // = "type"
}
public class XHtmlClassAttribute : XAttribute {
public static string JoinClassList(IEnumerable<string> classList) {}
public XHtmlClassAttribute(IEnumerable<string> classList) {}
public XHtmlClassAttribute(params string[] classList) {}
public XHtmlClassAttribute(string @class) {}
}
public static class XHtmlElementNames {
public static readonly XName A; // = "{http://www.w3.org/1999/xhtml}a"
public static readonly XName Abbr; // = "{http://www.w3.org/1999/xhtml}abbr"
public static readonly XName Address; // = "{http://www.w3.org/1999/xhtml}address"
public static readonly XName Area; // = "{http://www.w3.org/1999/xhtml}area"
public static readonly XName Article; // = "{http://www.w3.org/1999/xhtml}article"
public static readonly XName Aside; // = "{http://www.w3.org/1999/xhtml}aside"
public static readonly XName Audio; // = "{http://www.w3.org/1999/xhtml}audio"
public static readonly XName B; // = "{http://www.w3.org/1999/xhtml}b"
public static readonly XName BR; // = "{http://www.w3.org/1999/xhtml}br"
public static readonly XName Base; // = "{http://www.w3.org/1999/xhtml}base"
public static readonly XName Blockquote; // = "{http://www.w3.org/1999/xhtml}blockquote"
public static readonly XName Body; // = "{http://www.w3.org/1999/xhtml}body"
public static readonly XName Button; // = "{http://www.w3.org/1999/xhtml}button"
public static readonly XName Canvas; // = "{http://www.w3.org/1999/xhtml}canvas"
public static readonly XName Caption; // = "{http://www.w3.org/1999/xhtml}caption"
public static readonly XName Cite; // = "{http://www.w3.org/1999/xhtml}cite"
public static readonly XName Code; // = "{http://www.w3.org/1999/xhtml}code"
public static readonly XName Col; // = "{http://www.w3.org/1999/xhtml}col"
public static readonly XName ColGroup; // = "{http://www.w3.org/1999/xhtml}colgroup"
public static readonly XName DBI; // = "{http://www.w3.org/1999/xhtml}dbi"
public static readonly XName DBO; // = "{http://www.w3.org/1999/xhtml}dbo"
public static readonly XName DD; // = "{http://www.w3.org/1999/xhtml}dd"
public static readonly XName DL; // = "{http://www.w3.org/1999/xhtml}dl"
public static readonly XName DT; // = "{http://www.w3.org/1999/xhtml}dt"
public static readonly XName Data; // = "{http://www.w3.org/1999/xhtml}data"
public static readonly XName DataList; // = "{http://www.w3.org/1999/xhtml}datalist"
public static readonly XName Del; // = "{http://www.w3.org/1999/xhtml}del"
public static readonly XName Details; // = "{http://www.w3.org/1999/xhtml}details"
public static readonly XName Dfn; // = "{http://www.w3.org/1999/xhtml}dfn"
public static readonly XName Dialog; // = "{http://www.w3.org/1999/xhtml}dialog"
public static readonly XName Div; // = "{http://www.w3.org/1999/xhtml}div"
public static readonly XName EM; // = "{http://www.w3.org/1999/xhtml}em"
public static readonly XName Embed; // = "{http://www.w3.org/1999/xhtml}embed"
public static readonly XName FieldSet; // = "{http://www.w3.org/1999/xhtml}fieldset"
public static readonly XName FigCaption; // = "{http://www.w3.org/1999/xhtml}figcaption"
public static readonly XName Figure; // = "{http://www.w3.org/1999/xhtml}figure"
public static readonly XName Footer; // = "{http://www.w3.org/1999/xhtml}footer"
public static readonly XName Form; // = "{http://www.w3.org/1999/xhtml}form"
public static readonly XName H1; // = "{http://www.w3.org/1999/xhtml}h1"
public static readonly XName H2; // = "{http://www.w3.org/1999/xhtml}h2"
public sta...
Smdn.Fundamental.Xml.Linq version 3.1.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-11 update assembly version
- 2024-03-11 use symbols defined by Smdn.MSBuild.DefineConstants.NETSdkApi instead
- 2024-03-11 fix to reject null or empty for the name of entity reference
- 2024-03-11 enable nullable
- 2024-03-11 fix XEntityReference to support async operation
- 2023-12-19 disable warning CS1591
- 2023-05-11 compliant IDE0030; empty the root namespace so that the namespace is determined only by the directory name
- 2023-05-10 validate the parameter is non-null before using it
- 2023-01-05 drop net5.0 from target frameworks
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net45.apilist.cs
index 227338d7..88e95ce9 100644
--- a/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net45.apilist.cs
@@ -1,36 +1,37 @@
-// Smdn.Fundamental.Xml.Linq.dll (Smdn.Fundamental.Xml.Linq-3.0.1)
+// Smdn.Fundamental.Xml.Linq.dll (Smdn.Fundamental.Xml.Linq-3.1.0)
// Name: Smdn.Fundamental.Xml.Linq
-// AssemblyVersion: 3.0.1.0
-// InformationalVersion: 3.0.1+31a6e8af75b332a596dca9d2c754455314498e91
+// AssemblyVersion: 3.1.0.0
+// InformationalVersion: 3.1.0+e34f21bacc4532dd418d4d17faf2e22cf6f32d65
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
// Referenced assemblies:
// System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+#nullable enable annotations
using System;
using System.Xml;
using System.Xml.Linq;
namespace Smdn.Xml.Linq {
public static class Extensions {
- public static TValue GetAttributeValue<TValue>(this XElement element, XName attributeName, Converter<string, TValue> converter) {}
- public static string GetAttributeValue(this XElement element, XName attributeName) {}
+ public static TValue GetAttributeValue<TValue>(this XElement element, XName attributeName, Converter<string?, TValue> converter) {}
+ public static string? GetAttributeValue(this XElement element, XName attributeName) {}
public static bool HasAttribute(this XElement element, XName name) {}
- public static bool HasAttribute(this XElement element, XName name, out string @value) {}
+ public static bool HasAttribute(this XElement element, XName name, out string? @value) {}
public static bool HasAttributeWithValue(this XElement element, XName attributeName, Predicate<string> predicate) {}
public static bool HasAttributeWithValue(this XElement element, XName attributeName, string @value) {}
public static string TextContent(this XContainer container) {}
- public static bool TryGetAttribute(this XElement element, XName attributeName, out XAttribute attribute) {}
+ public static bool TryGetAttribute(this XElement element, XName attributeName, out XAttribute? attribute) {}
}
public class XEntityReference : XText {
public XEntityReference(string name) {}
public override void WriteTo(XmlWriter writer) {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.1.7.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net5.0.apilist.cs b/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net5.0.apilist.cs
deleted file mode 100644
index 5d914b56..00000000
--- a/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net5.0.apilist.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// Smdn.Fundamental.Xml.Linq.dll (Smdn.Fundamental.Xml.Linq-3.0.1)
-// Name: Smdn.Fundamental.Xml.Linq
-// AssemblyVersion: 3.0.1.0
-// InformationalVersion: 3.0.1+31a6e8af75b332a596dca9d2c754455314498e91
-// TargetFramework: .NETCoreApp,Version=v5.0
-// Configuration: Release
-
-using System;
-using System.Xml;
-using System.Xml.Linq;
-
-namespace Smdn.Xml.Linq {
- public static class Extensions {
- public static TValue GetAttributeValue<TValue>(this XElement element, XName attributeName, Converter<string, TValue> converter) {}
- public static string GetAttributeValue(this XElement element, XName attributeName) {}
- public static bool HasAttribute(this XElement element, XName name) {}
- public static bool HasAttribute(this XElement element, XName name, out string @value) {}
- public static bool HasAttributeWithValue(this XElement element, XName attributeName, Predicate<string> predicate) {}
- public static bool HasAttributeWithValue(this XElement element, XName attributeName, string @value) {}
- public static string TextContent(this XContainer container) {}
- public static bool TryGetAttribute(this XElement element, XName attributeName, out XAttribute attribute) {}
- }
-
- public class XEntityReference : XText {
- public XEntityReference(string name) {}
-
- public override void WriteTo(XmlWriter writer) {}
- }
-}
diff --git a/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net6.0.apilist.cs b/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net6.0.apilist.cs
index 1cd5e190..317074e8 100644
--- a/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Xml.Linq/Smdn.Fundamental.Xml.Linq-net6.0.apilist.cs
@@ -1,36 +1,41 @@
-// Smdn.Fundamental.Xml.Linq.dll (Smdn.Fundamental.Xml.Linq-3.0.1)
+// Smdn.Fundamental.Xml.Linq.dll (Smdn.Fundamental.Xml.Linq-3.1.0)
// Name: Smdn.Fundamental.Xml.Linq
-// AssemblyVersion: 3.0.1.0
-// InformationalVersion: 3.0.1+31a6e8af75b332a596dca9d2c754455314498e91
+// AssemblyVersion: 3.1.0.0
+// InformationalVersion: 3.1.0+e34f21bacc4532dd418d4d17faf2e22cf6f32d65
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Xml.XDocument, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+#nullable enable annotations
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Threading;
+using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace Smdn.Xml.Linq {
public static class Extensions {
- public static TValue GetAttributeValue<TValue>(this XElement element, XName attributeName, Converter<string, TValue> converter) {}
- public static string GetAttributeValue(this XElement element, XName attributeName) {}
+ public static TValue GetAttributeValue<TValue>(this XElement element, XName attributeName, Converter<string?, TValue> converter) {}
+ public static string? GetAttributeValue(this XElement element, XName attributeName) {}
public static bool HasAttribute(this XElement element, XName name) {}
- public static bool HasAttribute(this XElement element, XName name, out string @value) {}
+ public static bool HasAttribute(this XElement element, XName name, [NotNullWhen(true)] out string? @value) {}
public static bool HasAttributeWithValue(this XElement element, XName attributeName, Predicate<string> predicate) {}
public static bool HasAttributeWithValue(this XElement element, XName attributeName, string @value) {}
public static string TextContent(this XContainer container) {}
- public static bool TryGetAttribute(this XElement element, XName attributeName, out XAttribute attribute) {}
+ public static bool TryGetAttribute(this XElement element, XName attributeName, [NotNullWhen(true)] out XAttribute? attribute) {}
}
public class XEntityReference : XText {
public XEntityReference(string name) {}
public override void WriteTo(XmlWriter writer) {}
+ public override Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.1.7.0.
-// Smdn.Reflection.ReverseGenerating.L...