Skip to content

Commit

Permalink
v.6.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Nov 13, 2024
1 parent f0d72ab commit 5aaca50
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 18 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ jobs:
runs-on: windows-latest
steps:
# Checkout the code
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Install .NET Core SDK
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
# Install .NET SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-quality: 'preview'
dotnet-version: '9.0.x'

# Perform unit tests
- name: Perform unit tests
Expand Down
8 changes: 4 additions & 4 deletions IPAddressRange.Test/IPAddressRange.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0;net462</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net462</TargetFrameworks>
<LangVersion>7.0</LangVersion>
<IsPackable>false</IsPackable>
<RootNamespace>IPRange.Test</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.3" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
8 changes: 4 additions & 4 deletions IPAddressRange/IPAddressRange.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard1.4;netstandard2.1;net462;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard1.4;netstandard2.1;net462;net5.0;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<NoWarn>$(NoWarn);1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
Expand All @@ -14,8 +14,8 @@
<PackageTags>IPAddress</PackageTags>
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
<NuspecFile>IPAddressRange.nuspec</NuspecFile>
<Copyright>Copyright © 2012-2023 J.Sakamoto, Mozilla Public License 2.0</Copyright>
<Version>6.0.0</Version>
<Copyright>Copyright © 2012-2024 J.Sakamoto, Mozilla Public License 2.0</Copyright>
<Version>6.1.0</Version>
<Authors>J.Sakamoto</Authors>
<Company />
<Product>IPAddressRange</Product>
Expand Down Expand Up @@ -90,7 +90,7 @@ $(Description)]]>
<PropertyGroup>
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
<PackageReleaseNotes>$([System.Text.RegularExpressions.Regex]::Match($(PackageReleaseNotes), "^(v\.[\d\.]+.+?)v\.[\d\.]+", System.Text.RegularExpressions.RegexOptions.Singleline).Groups[1].Value)</PackageReleaseNotes>
<PackageReleaseNotes>$(PackageReleaseNotes)%0a%0aTo see all the change logs, please visit the following URL.%0a- https://github.com/jsakamoto/IPAddressRange/blob/master/RELEASE-NOTES.txt</PackageReleaseNotes>
<PackageReleaseNotes>$(PackageReleaseNotes)%0aTo see all the change logs, please visit the following URL.%0a- https://github.com/jsakamoto/IPAddressRange/blob/master/RELEASE-NOTES.txt</PackageReleaseNotes>
<NuspecProperties>releaseNotes=$(PackageReleaseNotes);$(NuspecProperties)</NuspecProperties>
<SharedNuspecProperties>releaseNotes=$(PackageReleaseNotes);$(SharedNuspecProperties)</SharedNuspecProperties>
</PropertyGroup>
Expand Down
6 changes: 5 additions & 1 deletion IPAddressRange/IPAddressRange.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<group targetFramework="net6.0" />
<group targetFramework="net7.0" />
<group targetFramework="net8.0" />
<group targetFramework="net9.0" />
<group targetFramework=".NETFramework4.6.2" />
<group targetFramework=".NETStandard1.4">
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
Expand All @@ -46,7 +47,10 @@

<file src="bin\Release\net8.0\IPAddressRange.dll" target="lib\net8.0" />
<file src="bin\Release\net8.0\IPAddressRange.XML" target="lib\net8.0" />


<file src="bin\Release\net9.0\IPAddressRange.dll" target="lib\net9.0" />
<file src="bin\Release\net9.0\IPAddressRange.XML" target="lib\net9.0" />

<file src="bin\Release\net462\IPAddressRange.dll" target="lib\net462" />
<file src="bin\Release\net462\IPAddressRange.XML" target="lib\net462" />

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ IPAddressRange Class Library [![tests](https://github.com/jsakamoto/ipaddressran
This library allows you to parse range of IP address string such as "192.168.0.0/24" and "192.168.0.0/255.255.255.0" and "192.168.0.0-192.168.0.255", and can contains check.
This library supports both IPv4 and IPv6.

Example
-------
Examples
--------

```csharp
using NetTools;
Expand Down
3 changes: 3 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v.6.1.0
- Add support for .NET 9.0

v.6.0.0
- Update the target frameworks (Drop the support for .NET4.5.2)
- Fix: Enumerating never breaks if the end of the IPv4 address range is "255.255.255.255" (Issue #80)
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.0",
"version": "9.0.0",
"allowPrerelease": true,
"rollForward": "latestMinor"
}
Expand Down

0 comments on commit 5aaca50

Please sign in to comment.