Releases: feO2x/Light.PortableResults
Releases · feO2x/Light.PortableResults
0.3.0 🛠️ Microsoft.Extensions.Configuration Validation
Light.PortableResults 0.3.0
- Validate Microsoft.Extensions.Configuration options with
Validator<T> - breaking: streamlined validator API - remove
TryValidatefrom all, removeCheckForErrorsfromValidator<TSource, TValidated>
What's Changed
Full Changelog: 0.2.0...0.3.0
0.2.0 Validation 🛡️
Light.PortableResults 0.2.0
- Introduces Light.PortableResults.Validation which provides
ValidationContext,Validator<T>,AsyncValidator<T>and a rich suite of assertions to simplify creation of errors. - Write rich anti-corruption layers with
Validator<TSource, TValidated>andAsyncValidator<TSource, TValidated>.
What's Changed
- Validation Foundations by @feO2x in #25
- Error Definitions by @feO2x in #27
- Child validator refactoring by @feO2x in #29
- Validation target redesign by @feO2x in #31
- Validation Checks by @feO2x in #33
Full Changelog: 0.1.0...0.2.0
0.1.0 Initial Release 🥳🚀🍻
Light.PortableResults 0.1.0
- Light.PortableResults contains core functionality: Results, Errors, Metadata, Functional Extensions, and JSON serialization support for HTTP and CloudEvents. Compatible with Native AOT.
- Light.PortableResults.AspNetCore.MinimalApis integration provides
LightResultandLightResult<T>and corresponding extension methods to turn result instances into HTTP success responses or RFC 9457 (and RFC 7807) compatible Problem Details responses. Easy integration into ASP.NET Core's composition root viaIServiceCollection.AddPortableResultsForMinimalApis. Compatible with Native AOT. - Light.PortableResults.AspNetCore.Mvc provides
LightActionResultandLightActionResult<T>and corresponding extension methods to turn result instances into HTTP success responses or RFC 9457 (and RFC 7807) compatible Problem Details responses. Easy integration into ASP.NET Core's composition root viaIServiceCollection.AddPortableResultsForMvc.
What's Changed
- Serializable Metadata by @feO2x in #2
- Optimization of Result and Errors by @feO2x in #4
- Functional Extensions by @feO2x in #6
- Initial Minimal API Integration by @feO2x in #8
- Revised Minimal API integration by @feO2x in #10
- HttpResponseMessage Integration by @feO2x in #12
- ASP.NET Core MVC Integration by @feO2x in #14
- CloudEvents Integration by @feO2x in #16
- HTTP Writing Streamlining by @feO2x in #18
- Fix review feedback: spelling, package tags, readme casing, NuGet push flag by @Copilot in #21
- Release preparations 0.1.0 by @feO2x in #20
- Rename to Light.PortableResults by @feO2x in #23
New Contributors
Full Changelog: https://github.com/feO2x/Light.PortableResults/commits/0.1.0