Releases: I-RzR-I/AggregatedGenericResultMessage-Web
Release list
v3.1.0.7713
What's Changed
- Unify MVC and Minimal-API problem-details responses.
Full Changelog: v3.0.0.7978...v3.1.0.7713
v3.0.0.7978
What's Changed
-
[DEV] (RzR) -> [BREAKING] Rename
additionInformation→additionalInformationacross all public APIs:ResultProblemDetailsContext.AdditionalInformation,WebResultException.AdditionalInformation,ResultToProblemDetailsoverloads,ResultToHttpResultoverloads,ResultMessageHttpResults.Fromoverloads,ResultProblemDetailsHelperoverloads,DefaultProblemDetailsResultFactory,WebResultExceptionFilter,WebResultExceptionMiddleware(14 files total). -
[DEV] (RzR) -> Add
net5.0target framework: addnet5.0to<TargetFrameworks>with<FrameworkReference Include="Microsoft.AspNetCore.App" />alongside the existing net6.0–net9.0 targets. -
[DEV] (RzR) -> Add
ResultMessageProblemDetailsConverter(net5.0+): customSystem.Text.JsonJsonConverter<ResultMessageProblemDetails>that serializesExtensionsentries under a nested"extensions"JSON property instead of the top-level promotion performed by the inheritedProblemDetailsJsonConverter. Applied via[JsonConverter]attribute onResultMessageProblemDetailsfor net5.0+. -
[DEV] (RzR) ->
WebResultExceptionFilter: implementIAsyncExceptionFilteralongsideIExceptionFilter. Extracted handling logic intoprivate static HandleException; ASP.NET Core always dispatches the async path when both interfaces are present, avoiding unnecessary thread-pool blocking in high-throughput scenarios. -
[FIX] (RzR) -> Fix docs: rename
additionInformation→additionalInformationindocs/usage.md(4 occurrences) anddocs/migration-v2.md(2 occurrences). -
[FIX] (RzR) -> Fix
ResultMessageProblemDetails.Extensionsshadow property: guard the property declaration with#if NETSTANDARD2_1sinceMicrosoft.AspNetCore.Mvc 2.1.3(netstandard2.1 target) does not exposeProblemDetails.Extensions; net5.0+ already has it on the base class.
Full Changelog: v2.0.0.7588...v3.0.0.7978
v2.0.0.7588
What's Changed
- Change namespace from
AggregatedGenericResultMessage.WebtoRzR.ResultMessage.Web. - Multi-target:
netstandard2.1/net6.0/net7.0/net8.0/net9.0from a single package. - Pluggable
IResultStatusCodeMapper— centralize status-code resolution, swap globally viaAddWebResultMessageMapper(...). - Pluggable
IProblemDetailsResultFactory— control ProblemDetailstype/title/detail/instance/ extensions in one place, swap viaAddProblemDetailsResultFactory(...). - MVC exception filter (
AddWebResultExceptionFilter()) + generalized middleware (UseResultExceptionMiddleware()) — auto-translate unhandled exceptions (includingWebResultException) to ProblemDetails, no per-actiontry/catch. - Minimal-API adapters (net6.0+):
IResult.ToHttpResult(...)andResultMessageHttpResults.From(...)— identical wire format as MVC. - Automatic correlation:
traceIdemitted fromHttpContext.TraceIdentifierunless explicitly overridden by the caller.
Full Changelog: v1.2.1.8615...v2.0.0.7588
v1.2.1.8615
What's Changed
Full Changelog: v1.2.0.8001...v1.2.1.8615
v1.2.0.8001
What's Changed
-
Fix name from
AsToProblemDetailstoAsProblemDetails. -
Upgrade reference package version.
-
Add new script for version gen.
Full Changelog: v1.1.0.0...v1.2.0.8001
v1.1.0.0
v1.0.5.5444
Merge pull request #5 from I-RzR-I/fix/CVE-2024-43485 Update reference package version, fixing CVE
v1.0.4.7652
Merge pull request #4 from I-RzR-I/feature/UpgradeLibFixWarning Upgrade lib vers, fix some warnings.
v1.0.3.6912
Merge pull request #3 from I-RzR-I/feature/UpdateLibVersion221223 Update lib version and adjust shell code.
v1.0.2.1322
Full Changelog: v1.0.1.546...v1.0.2.1322