maksit-results/CHANGELOG.md

79 lines
3.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.3] - 2026-06-28
### Added
- `Result<T>.ToActionResult()` now returns `RedirectResult` when the status code is a redirection (300303, 307308) and `Value` is a non-empty URL string.
- Added `MaksIT.Results.Mvc.RedirectResult` for 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.json` paths for this repo.
## [2.0.1] - 2026-03-08
### Added
- Tests for `AddJsonOptions` integration: `ObjectResult` respects `JsonSerializerOptions.DefaultIgnoreCondition` (e.g. `WhenWritingNull`) when configured via `AddControllers().AddJsonOptions(...)`.
- Test project reorganized to mirror library structure: `ResultTests`, `ResultToActionResultTests`, and `Mvc/ObjectResultTests`.
### Fixed
- `ObjectResult` now uses the app-configured JSON options from `IOptions<JsonOptions>` when serializing response bodies; previously it always used internal defaults.
- `ObjectResult` no longer throws when `HttpContext.RequestServices` is 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 `Result` and `Result<T>` APIs.
### Changed
- Updated core and test dependencies, including migration to `xunit.v3`.
- Included `README.md`, `LICENSE.md`, and `CHANGELOG.md` in 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 `Common` and `Extended Or Less Common` regions 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 `ProblemDetails` JSON serialization with explicit field names, deterministic output order, null omission for optional fields, and extension-data serialization.
### Removed
- Removed `.NET 8` target support; package now targets `.NET 10` only.
<!--
Template for new releases:
## v1.x.x
### Added
- New features
### Changed
- Changes in existing functionality
### Deprecated
- Soon-to-be removed features
### Removed
- Removed features
### Fixed
- Bug fixes
### Security
- Security improvements
-->