Skip to content

Releases: feO2x/Light.PortableResults

0.5.0 🌐 OpenAPI Support

02 May 10:14
d62fbb5

Choose a tag to compare

Light.PortableResults 0.5.0

  • Light.PortableResults.Validation.OpenApi for an easier way to define OpenAPI schemas with built in Validation Error Definitions
  • Light.PortableResults.AspNetCore.OpenApi provides foundations for the previous package - also for user-defined error definitions.

What's Changed

Full Changelog: 0.4.0...0.5.0

0.4.0 🧹 Cleanup

17 Apr 05:13
8bc03fb

Choose a tag to compare

Light.PortableResults 0.4.0

  • ValidateItems and ValidateItemsAsync now performs automatic null checking on both the collection as well as each item depending on ValidationContextOptions.AutomaticNullErrorProvider.
  • BREAKING: ValidationContextOptions are no longer registered using the Options Pattern. They are immutable and thus cannot meaningfully participate in services.Configure or IOptionsBuilder<T> calls. The class is now simply registered as a singleton.
  • BREAKING: All Module classes were renamed so that they have speaking names

What's Changed

Full Changelog: 0.3.0...0.4.0

0.3.0 🛠️ Microsoft.Extensions.Configuration Validation

14 Apr 11:04
b538c4a

Choose a tag to compare

Light.PortableResults 0.3.0

  • Validate Microsoft.Extensions.Configuration options with Validator<T>
  • breaking: streamlined validator API - remove TryValidate from all, remove CheckForErrors from Validator<TSource, TValidated>

What's Changed

  • Microsoft.Extensions.Configuration integration by @feO2x in #35

Full Changelog: 0.2.0...0.3.0

0.2.0 Validation 🛡️

13 Apr 05:20
6d5f65a

Choose a tag to compare

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> and AsyncValidator<TSource, TValidated>.

What's Changed

Full Changelog: 0.1.0...0.2.0

0.1.0 Initial Release 🥳🚀🍻

25 Feb 05:39
07687cc

Choose a tag to compare

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 LightResult and LightResult<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 via IServiceCollection.AddPortableResultsForMinimalApis. Compatible with Native AOT.
  • Light.PortableResults.AspNetCore.Mvc provides LightActionResult and LightActionResult<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 via IServiceCollection.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

  • @feO2x made their first contribution in #2
  • @Copilot made their first contribution in #21

Full Changelog: https://github.com/feO2x/Light.PortableResults/commits/0.1.0