Repository navigation
feat!: target .NET 10 and update dependencies - #30
Merged
Merged
Conversation
- Target net10.0 only (drop net8.0; remove dead net7.0 conditions) - NetDevPack.Security.Jwt.AspNetCore 8.2.2 -> 10.0.0, Microsoft.* 10.0.15, System.IdentityModel.Tokens.Jwt 8.23.0; pin patched System.Security.Cryptography.Xml/Pkcs 10.0.15 (high severity advisories) - Central Package Management, NuGet Audit as errors, global.json, .editorconfig, dependabot - Sample: Swashbuckle 7 -> 10.3.1 (Microsoft.OpenApi 2 security requirement API) - Add NetDevPack.Identity.Tests (xunit.v3 + AwesomeAssertions): access token claims and signature, user lookup by id/username/email, one-time refresh tokens - CI: actions/checkout v7, setup-dotnet v6; publish now restores, builds and tests before releasing; vulnerable package check; pack/push only on new release - Package metadata: repository/project URL pointed to EduardoPires/NetDevPack, duplicated Authors, README now packed; LangVersion follows the SDK BREAKING CHANGE: the package now targets .NET 10 only and depends on NetDevPack.Security.Jwt 10. Stay on 8.x for .NET 8.
3 tasks done
Same fix as #31 (8.x): signed rt+jwt tokens only, last JWKS keys or SecretKey, same issuer logic as creation, deleted users rejected, lockout check fixed (IsLockedOutAsync), async validation. Adds RefreshTokenSecurityTests.
Same JwksIntegrationTests as #31: /jwks publishes public keys only, a third party validates the access token with the published JWKS, refresh tokens are signed with the JWKS key. Test parallelization disabled (static in-memory key store).
Brings 8.0.1 and the trusted publishing workflow; the publish workflow keeps the .NET 10 version from this branch with NuGet/login added.
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 18, 2026
## [9.0.0](v8.0.1...v9.0.0) (2026-11-18) ### ⚠ BREAKING CHANGES * the package now targets .NET 10 only and depends on NetDevPack.Security.Jwt 10. Stay on 8.x for .NET 8. * fix: point package URLs to Security.Identity * ci: use conventionalcommits release preset * fix: validate refresh token signature and type ### Features * target .NET 10 and update dependencies ([#30](#30)) ([9af62e2](9af62e2)), closes [#31](#31) [#31](#31)
|
🎉 This PR is included in version 9.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernizes NetDevPack.Identity for .NET 10 (LTS). .NET 8 reached end of support on 2026-11-10.
Breaking change (release 9.0.0)
net10.0only. Consumers on .NET 8 stay on 8.x.Security
System.Security.Cryptography.XmlandPkcs8.0.0.NetDevPack.Security.Jwt10.0.0, the version on nuget.org, still pullsSystem.Security.Cryptography.Xml/Pkcs10.0.12, which also have high severity advisories.NetDevPack.Security.Jwt11 (feat!: target .NET 10 only Security.Jwt#81).Dependencies
Directory.Packages.props). NuGet Audit with NU1901-NU1904 as errors. Addedglobal.json,.editorconfigand Dependabot.System.IdentityModel.Tokens.Jwt8.23.0.SwaggerConfigwas updated. The sample stays onNetDevPack8.0.2 until NetDevPack 9 (feat!: target .NET 10 and update dependencies NetDevPack#65) is published.Tests (new)
The repository had no tests. The new
tests/NetDevPack.Identity.Testsproject uses xunit.v3 on Microsoft.Testing.Platform, AwesomeAssertions and EF Core InMemory. It covers:typ=at+jwtplus the sub, email, role and user claims.UserResponseis filled in.CI
actions/checkout@v7andactions/setup-dotnet@v6, with the SDK taken fromglobal.json.Package metadata
RepositoryUrlandPackageProjectUrlpointed toEduardoPires/NetDevPack. They now point to this repository (NetDevPack/Security.Identity).Authors. The README is now packed.LangVersion 10.0; the repo useslatest.CopyHooktarget is skipped on CI.Test plan
dotnet build -c Release: 0 errors. The remaining warnings already existed: obsoleteSecretKey/JwtBuilderusage and the syncJsonWebTokenHandler.ValidateToken.dotnet test -c Release: 5/5 passeddotnet list package --vulnerable --include-transitive: no vulnerable packagesdotnet pack: a singlenet10.0group, with README and correct repository metadata