Releases: bvdcode/EasyExtensions
Releases · bvdcode/EasyExtensions
Release 3.0.55
Refactor IHttpError to use ProblemDetails for errors - Move IHttpError to AspNetCore.Abstractions and update GetErrorModel to return ProblemDetails with optional traceId and path. - Remove SetTraceIdentifier; trace ID is now handled in error model generation. - Update WebApiException to generate ProblemDetails/ValidationProblemDetails with traceId, path, and extra context. - Make AddTraceId public and document its usage in ControllerBaseExtensions. - Update exception handler middleware to use new GetErrorModel signature and set content type to application/problem+json. - Standardize on ProblemDetails for error responses throughout the codebase.
Release 3.0.54
Merge branch 'main' of https://github.com/bvdcode/EasyExtensions
Release 3.0.53
Merge branch 'main' of https://github.com/bvdcode/EasyExtensions
Release 3.0.52
Update dependencies and add EasyVault secret control Upgraded NuGet packages across projects for security and compatibility. Added UseSecretVault property and UseSecrets(bool) method to EasyStackOptions for flexible EasyVault secret usage. EasyVault integration now respects UseSecretVault flag. Refactored Mediator for improved null checking and code clarity.
Release 3.0.51
Add optional useCookies param to AddJwt extension Add useCookies parameter to AddJwt for reading JWT from cookies if not found in query string. Update XML docs and token extraction logic to support this behavior.
Release 3.0.50
Rename string encrypt/decrypt methods; add byte[] overloads Renamed Encrypt/Decrypt to EncryptString/DecryptString for clarity. Added Encrypt and Decrypt extension methods for byte arrays. All methods use MemoryStream and await async cipher operations.
Release 3.0.49
Fix possible null exception in login by using GetValueOrDefault Replaced userId.Value with userId.GetValueOrDefault() in OnUserLoggingInAsync call to prevent potential exceptions when userId is null. This change improves code safety without altering existing logic.
Release 3.0.48
Support access token in cookies and centralize param name Introduce AccessTokenParamName constant to avoid hardcoding the access token parameter name. Update JWT authentication to check for the token in both query string and cookies, improving flexibility and maintainability.
Release 3.0.47
Add XML docs and widen access for token methods Added detailed XML documentation to CreateAccessToken and AddRefreshTokenToCookie in BaseAuthController. Changed their access modifiers from private protected to internal protected for broader accessibility within the assembly. No functional changes were made.
Release 3.0.46
Merge branch 'main' of https://github.com/bvdcode/EasyExtensions