From 31d2e51d39bed3d8c5635386bc87f6b3e5ba7219 Mon Sep 17 00:00:00 2001 From: David De Smet <2607383+daviddesmet@users.noreply.github.com> Date: Wed, 15 May 2024 20:14:54 -0600 Subject: [PATCH] chore: bump packages and add .net 8 --- global.json | 2 +- .../Exceptions/PaserkInvalidException.cs | 7 ------ .../Exceptions/PaserkNotSupportedException.cs | 7 ------ .../Exceptions/PasetoBuilderException.cs | 7 ------ src/Paseto/Exceptions/PasetoException.cs | 7 ------ .../Exceptions/PasetoInvalidClaimException.cs | 7 ------ .../Exceptions/PasetoInvalidException.cs | 7 ------ .../Exceptions/PasetoNotSupportedException.cs | 7 ------ src/Paseto/Paserk.cs | 2 +- src/Paseto/Paseto.csproj | 6 ++--- tests/Paseto.Tests/Paseto.Tests.csproj | 22 +++++++++---------- 11 files changed, 16 insertions(+), 65 deletions(-) diff --git a/global.json b/global.json index 6bb3335..d11faaf 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "7.0.202", + "version": "8.0.101", "rollForward": "latestFeature" } } diff --git a/src/Paseto/Exceptions/PaserkInvalidException.cs b/src/Paseto/Exceptions/PaserkInvalidException.cs index 44fe800..4a801d2 100644 --- a/src/Paseto/Exceptions/PaserkInvalidException.cs +++ b/src/Paseto/Exceptions/PaserkInvalidException.cs @@ -23,11 +23,4 @@ public PaserkInvalidException(string message) : base(message) { } /// The exception message /// The inner exception public PaserkInvalidException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PaserkInvalidException(SerializationInfo info, StreamingContext context) : base(info, context) { } } \ No newline at end of file diff --git a/src/Paseto/Exceptions/PaserkNotSupportedException.cs b/src/Paseto/Exceptions/PaserkNotSupportedException.cs index 235392e..537d41a 100644 --- a/src/Paseto/Exceptions/PaserkNotSupportedException.cs +++ b/src/Paseto/Exceptions/PaserkNotSupportedException.cs @@ -23,11 +23,4 @@ public PaserkNotSupportedException(string message) : base(message) { } /// The exception message /// The inner exception public PaserkNotSupportedException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PaserkNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } \ No newline at end of file diff --git a/src/Paseto/Exceptions/PasetoBuilderException.cs b/src/Paseto/Exceptions/PasetoBuilderException.cs index 62da052..f3e8c32 100644 --- a/src/Paseto/Exceptions/PasetoBuilderException.cs +++ b/src/Paseto/Exceptions/PasetoBuilderException.cs @@ -23,11 +23,4 @@ public PasetoBuilderException(string message) : base(message) { } /// The exception message /// The inner exception public PasetoBuilderException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PasetoBuilderException(SerializationInfo info, StreamingContext context) : base(info, context) { } } diff --git a/src/Paseto/Exceptions/PasetoException.cs b/src/Paseto/Exceptions/PasetoException.cs index 4125ebc..aaebf6c 100644 --- a/src/Paseto/Exceptions/PasetoException.cs +++ b/src/Paseto/Exceptions/PasetoException.cs @@ -23,11 +23,4 @@ public PasetoException(string message) : base(message) { } /// The exception message /// The inner exception public PasetoException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PasetoException(SerializationInfo info, StreamingContext context) : base(info, context) { } } diff --git a/src/Paseto/Exceptions/PasetoInvalidClaimException.cs b/src/Paseto/Exceptions/PasetoInvalidClaimException.cs index b40f353..a8ea8bb 100644 --- a/src/Paseto/Exceptions/PasetoInvalidClaimException.cs +++ b/src/Paseto/Exceptions/PasetoInvalidClaimException.cs @@ -23,11 +23,4 @@ public PasetoInvalidClaimException(string message) : base(message) { } /// The exception message /// The inner exception public PasetoInvalidClaimException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PasetoInvalidClaimException(SerializationInfo info, StreamingContext context) : base(info, context) { } } \ No newline at end of file diff --git a/src/Paseto/Exceptions/PasetoInvalidException.cs b/src/Paseto/Exceptions/PasetoInvalidException.cs index 91d9bcd..0c602f6 100644 --- a/src/Paseto/Exceptions/PasetoInvalidException.cs +++ b/src/Paseto/Exceptions/PasetoInvalidException.cs @@ -23,11 +23,4 @@ public PasetoInvalidException(string message) : base(message) { } /// The exception message /// The inner exception public PasetoInvalidException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PasetoInvalidException(SerializationInfo info, StreamingContext context) : base(info, context) { } } \ No newline at end of file diff --git a/src/Paseto/Exceptions/PasetoNotSupportedException.cs b/src/Paseto/Exceptions/PasetoNotSupportedException.cs index 6509e59..a181282 100644 --- a/src/Paseto/Exceptions/PasetoNotSupportedException.cs +++ b/src/Paseto/Exceptions/PasetoNotSupportedException.cs @@ -23,11 +23,4 @@ public PasetoNotSupportedException(string message) : base(message) { } /// The exception message /// The inner exception public PasetoNotSupportedException(string message, Exception inner) : base(message, inner) { } - - /// - /// Creates a new instance of . - /// - /// The SerializationInfo - /// The streaming context - protected PasetoNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } \ No newline at end of file diff --git a/src/Paseto/Paserk.cs b/src/Paseto/Paserk.cs index 931c9c1..8677a9a 100644 --- a/src/Paseto/Paserk.cs +++ b/src/Paseto/Paserk.cs @@ -11,7 +11,7 @@ /// PASERK (Platform-Agnostic Serialized Keys) extension. /// /// -// TODO Refactor Paserk and PAserkHelpers +// TODO Refactor Paserk and PaserkHelpers public static class Paserk { private const string PARSEK_HEADER_K = "k"; diff --git a/src/Paseto/Paseto.csproj b/src/Paseto/Paseto.csproj index 08f5c37..edc15e7 100644 --- a/src/Paseto/Paseto.csproj +++ b/src/Paseto/Paseto.csproj @@ -1,7 +1,7 @@  - net5.0;net6.0;net7.0 + net5.0;net6.0;net7.0;net8.0 latest true @@ -10,7 +10,7 @@ David De Smet A Paseto (Platform-Agnostic Security Tokens) implementation for .NET - Copyright © 2018-2023 David De Smet + Copyright © 2018-2024 David De Smet Paseto.Core paseto paserk tokens cryptography dotnet dotnet-core netstandard MIT @@ -44,7 +44,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Paseto.Tests/Paseto.Tests.csproj b/tests/Paseto.Tests/Paseto.Tests.csproj index 406e867..b8d109c 100644 --- a/tests/Paseto.Tests/Paseto.Tests.csproj +++ b/tests/Paseto.Tests/Paseto.Tests.csproj @@ -1,13 +1,13 @@  - net6.0;net7.0 - net6.0;net7.0 + net6.0;net7.0;net8.0 + net6.0;net7.0;net8.0 latest false true David De Smet - Copyright © 2019 David De Smet + Copyright © 2018-2024 David De Smet https://opensource.org/licenses/MIT paseto dotnet dotnet-core netstandard https://github.com/idaviddesmet/paseto-dotnet @@ -169,24 +169,24 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive