Summary
Release 2.3.1 is a patch release focused on hardening centralized Problem Details exception classification.
This release changes the default handling of plain ArgumentException so broad internal/developer argument failures are treated as internal server faults instead of being classified as client bad-request traffic. Explicit request-level malformed input failures continue to use BadHttpRequestException and remain mapped to HTTP 400.
Changed
- Changed centralized Problem Details exception mapping so plain
ArgumentExceptionnow maps to HTTP 500 Internal Server Error. - Preserved
BadHttpRequestExceptionmapping to HTTP 400 Bad Request for request-level malformed input failures. - Updated Problem Details tests to verify status code, title, and production detail-hiding behavior for both request-level and internal exception paths.
- Updated release metadata, package README examples, template packaging documentation, citation metadata, and Zenodo metadata for
2.3.1.
Compatibility
This is a patch release. It does not change the package identity, template identity, template short name, template options, or default scaffold purpose.
Existing consumers can update from 2.3.0 to 2.3.1 without changing template installation or scaffold commands.
Install
dotnet new install NetCoreApplicationTemplate::2.3.1Update
dotnet new install NetCoreApplicationTemplate::2.3.1Notes
This release strengthens diagnostics and production-safe error classification by ensuring internal argument failures contribute to server-error visibility instead of being silently treated as client-side bad requests.