3.0 KiB
3.0 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[2.0.3] - 2026-06-28
Added
Result<T>.ToActionResult()now returnsRedirectResultwhen the status code is a redirection (300–303, 307–308) andValueis a non-empty URL string.- Added
MaksIT.Results.Mvc.RedirectResultfor HTTP redirect responses.
Changed
- Updated ASP.NET Core and Microsoft.Extensions package references.
[2.0.2] - 2026-06-02
Changed
- Updated ASP.NET Core and Microsoft.Extensions package references.
- Migrated repository utilities to the shared engine and plugin layout; corrected engine
scriptSettings.jsonpaths for this repo.
[2.0.1] - 2026-03-08
Added
- Tests for
AddJsonOptionsintegration:ObjectResultrespectsJsonSerializerOptions.DefaultIgnoreCondition(e.g.WhenWritingNull) when configured viaAddControllers().AddJsonOptions(...). - Test project reorganized to mirror library structure:
ResultTests,ResultToActionResultTests, andMvc/ObjectResultTests.
Fixed
ObjectResultnow uses the app-configured JSON options fromIOptions<JsonOptions>when serializing response bodies; previously it always used internal defaults.ObjectResultno longer throws whenHttpContext.RequestServicesis null (e.g. in unit tests without a service provider).
[2.0.0] - 2026-02-22
Added
- Added contribution guidelines and documented release workflow.
- Added shared PowerShell utility modules for configuration, logging, git operations, and test execution.
- Added automation scripts for release publishing, force-amending tagged commits, and coverage badge generation.
- Added generated coverage badge assets.
- Added missing client-error factory methods for standard 4xx status codes in
ResultandResult<T>APIs.
Changed
- Updated core and test dependencies, including migration to
xunit.v3. - Included
README.md,LICENSE.md, andCHANGELOG.mdin NuGet package content. - Added coverage badges to the README and linked badge assets from
assets/badges/. - Updated solution metadata for newer Visual Studio format.
- Organized HTTP status factory methods into
CommonandExtended Or Less Commonregions across informational, success, client-error, and server-error result files for improved readability. - Updated package target framework to
.NET 10(net10.0).
Fixed
- Improved RFC 7807
ProblemDetailsJSON serialization with explicit field names, deterministic output order, null omission for optional fields, and extension-data serialization.
Removed
- Removed
.NET 8target support; package now targets.NET 10only.