Skip to content

Commit

Permalink
chore: bump packages and add .net 8
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddesmet committed May 16, 2024
1 parent b752c8d commit 31d2e51
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 65 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "7.0.202",
"version": "8.0.101",
"rollForward": "latestFeature"
}
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PaserkInvalidException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PaserkInvalidException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PaserkInvalidException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PaserkInvalidException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PaserkInvalidException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PaserkNotSupportedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PaserkNotSupportedException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PaserkNotSupportedException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PaserkNotSupportedException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PaserkNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PasetoBuilderException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PasetoBuilderException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PasetoBuilderException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PasetoBuilderException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PasetoBuilderException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PasetoException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PasetoException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PasetoException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PasetoException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PasetoException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PasetoInvalidClaimException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PasetoInvalidClaimException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PasetoInvalidClaimException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PasetoInvalidClaimException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PasetoInvalidClaimException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PasetoInvalidException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PasetoInvalidException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PasetoInvalidException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PasetoInvalidException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PasetoInvalidException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
7 changes: 0 additions & 7 deletions src/Paseto/Exceptions/PasetoNotSupportedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,4 @@ public PasetoNotSupportedException(string message) : base(message) { }
/// <param name="message">The exception message</param>
/// <param name="inner">The inner exception</param>
public PasetoNotSupportedException(string message, Exception inner) : base(message, inner) { }

/// <summary>
/// Creates a new instance of <see cref="PasetoNotSupportedException" />.
/// </summary>
/// <param name="info">The SerializationInfo</param>
/// <param name="context">The streaming context</param>
protected PasetoNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
2 changes: 1 addition & 1 deletion src/Paseto/Paserk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/// PASERK (Platform-Agnostic Serialized Keys) extension.
/// </summary>
///
// TODO Refactor Paserk and PAserkHelpers
// TODO Refactor Paserk and PaserkHelpers
public static class Paserk
{
private const string PARSEK_HEADER_K = "k";
Expand Down
6 changes: 3 additions & 3 deletions src/Paseto/Paseto.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Label="Build">
<TargetFrameworks>net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand All @@ -10,7 +10,7 @@
<Authors>David De Smet</Authors>
<Company />
<Description>A Paseto (Platform-Agnostic Security Tokens) implementation for .NET</Description>
<Copyright>Copyright © 2018-2023 David De Smet</Copyright>
<Copyright>Copyright © 2018-2024 David De Smet</Copyright>
<PackageId>Paseto.Core</PackageId>
<PackageTags>paseto paserk tokens cryptography dotnet dotnet-core netstandard</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down Expand Up @@ -44,7 +44,7 @@

<ItemGroup Label="Package References">
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.1.1" />
<PackageReference Include="MinVer" Version="4.3.0">
<PackageReference Include="MinVer" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
22 changes: 11 additions & 11 deletions tests/Paseto.Tests/Paseto.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net6.0;net7.0;net8.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<Authors>David De Smet</Authors>
<Copyright>Copyright © 2019 David De Smet</Copyright>
<Copyright>Copyright © 2018-2024 David De Smet</Copyright>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<PackageTags>paseto dotnet dotnet-core netstandard</PackageTags>
<PackageProjectUrl>https://github.com/idaviddesmet/paseto-dotnet</PackageProjectUrl>
Expand Down Expand Up @@ -169,24 +169,24 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.categories" Version="2.0.6" />
<PackageReference Include="xunit.runner.console" Version="2.4.2">
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.categories" Version="2.0.8" />
<PackageReference Include="xunit.runner.console" Version="2.8.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 31d2e51

Please sign in to comment.