Skip to content

Commit 83a0f74

Browse files
committed
Bump version to [v1.0.0]
Resolves: No entry
1 parent ff2b174 commit 83a0f74

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [1.0.0] - 2024-02-19
88
### Added
99
- Added .NET 8 support
1010
- Added support for SourceLink (GitHub)
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Changed parameter type of `Luhn.IsValid`, `Luhn.ComputeLuhnNumber` and `Luhn.ComputeCheckDigit` methods from `string` to `ReadOnlySpan<char>`.
1515

1616
### Deprecated
17-
- `Luhn.Compute()` method is EOL and will be deleted in the next version. Use `Luhn.ComputeCheckDigit()` or `Luhn.ComputeLuhanNumber() instead`.
17+
- `Luhn.Compute()` method is EOL and will be deleted in the next version. Use `Luhn.ComputeCheckDigit()` or `Luhn.ComputeLuhanNumber()` instead.
1818

1919
## [0.2.0] - 2022-12-18
2020
### Added
@@ -38,6 +38,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3838
### Added
3939
- Added initial version of LuhnDotNet
4040

41-
[Unreleased]: https://github.com/shinji-san/LuhnDotNet/compare/v0.1.0...HEAD
41+
[1.0.0]: https://github.com/shinji-san/LuhnDotNet/compare/v0.2.0...v1.0.0
4242
[0.2.0]: https://github.com/shinji-san/LuhnDotNet/compare/v0.1.0..v0.2.0
4343
[0.1.0]: https://github.com/shinji-san/LuhnDotNet/releases/tag/v0.1.0

README.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ An C# implementation of the Luhn algorithm.
1313
</thead>
1414
<tbody>
1515
<tr>
16-
<td rowspan=9><a href ="https://github.com/shinji-san/LuhnDotNet/actions?query=workflow%3A%22LuhnDotNet+%28All+supported+TFM%29%22" target="_blank"><img src="https://github.com/shinji-san/LuhnDotNet/workflows/LuhnDotNet%20(All%20supported%20TFM)/badge.svg" alt="Build status"/></a></td>
17-
<td rowspan=9><code>LuhnDotNet.sln</code></td>
18-
<td rowspan=9>SDK</td>
16+
<td rowspan=10><a href ="https://github.com/shinji-san/LuhnDotNet/actions?query=workflow%3A%22LuhnDotNet+%28All+supported+TFM%29%22" target="_blank"><img src="https://github.com/shinji-san/LuhnDotNet/workflows/LuhnDotNet%20(All%20supported%20TFM)/badge.svg" alt="Build status"/></a></td>
17+
<td rowspan=10><code>LuhnDotNet.sln</code></td>
18+
<td rowspan=10>SDK</td>
1919
<td>Standard 2.0</td>
2020
</tr>
2121
<tr>
@@ -42,6 +42,9 @@ An C# implementation of the Luhn algorithm.
4242
<tr>
4343
<td>.NET 7</td>
4444
</tr>
45+
<tr>
46+
<td>.NET 8</td>
47+
</tr>
4548
</tbody>
4649
</table>
4750

@@ -58,14 +61,17 @@ An C# implementation of the Luhn algorithm.
5861
</thead>
5962
<tbody>
6063
<tr>
61-
<td rowspan=9><a href="https://github.com/shinji-san/LuhnDotNet/actions?query=workflow%3A%22LuhnDotNet+NuGet%22" target="_blank"><img src="https://github.com/shinji-san/LuhnDotNet/workflows/LuhnDotNet%20NuGet/badge.svg?branch=v0.2.0" alt="LuhnDotNet NuGet"/></a></td>
62-
<td rowspan=9><a href="https://badge.fury.io/nu/LuhnDotNet" target="_blank"><img src="https://badge.fury.io/nu/LuhnDotNet.svg" alt="NuGet Version 0.2.0"/></a></td>
63-
<td rowspan=9><a href="https://github.com/shinji-san/LuhnDotNet/tree/v0.2.0" target="_blank"><img src="https://img.shields.io/badge/LuhnDotNet-0.2.0-green.svg?logo=github&logoColor=959da5&color=2ebb4e&labelColor=2b3137" alt="Tag"/></a></td>
64+
<td rowspan=10><a href="https://github.com/shinji-san/LuhnDotNet/actions?query=workflow%3A%22LuhnDotNet+NuGet%22" target="_blank"><img src="https://github.com/shinji-san/LuhnDotNet/workflows/LuhnDotNet%20NuGet/badge.svg?branch=v1.0.0" alt="LuhnDotNet NuGet"/></a></td>
65+
<td rowspan=10><a href="https://badge.fury.io/nu/LuhnDotNet" target="_blank"><img src="https://badge.fury.io/nu/LuhnDotNet.svg" alt="NuGet Version 1.0.0"/></a></td>
66+
<td rowspan=10><a href="https://github.com/shinji-san/LuhnDotNet/tree/v1.0.0" target="_blank"><img src="https://img.shields.io/badge/LuhnDotNet-1.0.0-green.svg?logo=github&logoColor=959da5&color=2ebb4e&labelColor=2b3137" alt="Tag"/></a></td>
6467
<td>.NET 6</td>
6568
</tr>
6669
<tr>
6770
<td>.NET 7</td>
6871
</tr>
72+
<tr>
73+
<td>.NET 8</td>
74+
</tr>
6975
<tr>
7076
<td>Standard 2.0</td>
7177
</tr>
@@ -94,10 +100,10 @@ An C# implementation of the Luhn algorithm.
94100

95101
1. Open a console and switch to the directory, containing your project file.
96102

97-
2. Use the following command to install version 0.2.0 of the LuhnDotNet package:
103+
2. Use the following command to install version 1.0.0 of the LuhnDotNet package:
98104

99105
```dotnetcli
100-
dotnet add package LuhnDotNet -v 0.2.0 -f <FRAMEWORK>
106+
dotnet add package LuhnDotNet -v 1.0.0 -f <FRAMEWORK>
101107
```
102108
103109
3. After the completition of the command, look at the project file to make sure that the package is successfuly installed.
@@ -106,7 +112,7 @@ An C# implementation of the Luhn algorithm.
106112
107113
```xml
108114
<ItemGroup>
109-
<PackageReference Include="LuhnDotNet" Version="0.2.0" />
115+
<PackageReference Include="LuhnDotNet" Version="1.0.0" />
110116
</ItemGroup>
111117
```
112118
## Remove LuhnDotNet package
@@ -206,7 +212,7 @@ namespace Example4
206212

207213
# CLI building instructions
208214
For the following instructions, please make sure that you are connected to the internet. If necessary, NuGet will try to restore the [xUnit](https://xunit.net/) packages.
209-
## Using dotnet to build for .NET 6, .NET 7 and .NET FX 4.x
215+
## Using dotnet to build for .NET 6, .NET 7, .NET 8 and .NET FX 4.x
210216
Use one of the following solutions with `dotnet` to build [LuhnDotNet](#luhndotnet):
211217
* `LuhnDotNet.sln` (all, [see table](#build--test-status-of-default-branch))
212218

src/LuhnDotNet.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
<Authors>Sebastian Walther</Authors>
1111
<PackageId>LuhnDotNet</PackageId>
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13+
<PackageReleaseNotes>Changelog: https://github.com/shinji-san/LuhnDotNet/blob/v1.0.0/CHANGELOG.md</PackageReleaseNotes>
1314
<PackageDescription>An C# implementation of the Luhn algorithm</PackageDescription>
1415
<PackageReadmeFile>README.md</PackageReadmeFile>
1516
<PackageTags>luhn;luhn-algorithm</PackageTags>
1617
<PackageProjectUrl>https://github.com/shinji-san/LuhnDotNet</PackageProjectUrl>
1718
<RepositoryUrl>https://github.com/shinji-san/LuhnDotNet</RepositoryUrl>
1819
<RepositoryType>git</RepositoryType>
19-
<Version>0.2.0</Version>
20+
<Version>1.0.0</Version>
2021
<Authors>Sebastian Walther</Authors>
2122
<Company>Private Person</Company>
2223
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
[assembly: Guid("bba40d96-b58d-4a8f-b6fc-3699e0addf98")]
1717

18-
[assembly: AssemblyVersion("0.2.0")]
19-
[assembly: AssemblyFileVersion("0.2.0")]
18+
[assembly: AssemblyVersion("1.0.0")]
19+
[assembly: AssemblyFileVersion("1.0.0")]
2020
[assembly: NeutralResourcesLanguage("en")]
2121

2222
[assembly: System.CLSCompliant(true)]

0 commit comments

Comments
 (0)