Releases: DamianEdwards/MiniValidation
v0.9.2
Available on NuGet: https://www.nuget.org/packages/MiniValidation/0.9.2
What's Changed
New Contributors
Full Changelog: v0.9.1...v0.9.2
v0.9.1
Available on NuGet: https://www.nuget.org/packages/MiniValidation/0.9.1
What's Changed
- Fix enumerable not getting IServiceProvider by @DamianEdwards in #62
- Refactor async checks to avoid CA2012 & other cleanup by @DamianEdwards in #63
- Tweak test that verifies exception when sync validation goes async by @DamianEdwards in #65
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Available on NuGet: https://www.nuget.org/packages/MiniValidation/0.9.0
What's Changed
New Contributors
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Available on NuGet at https://www.nuget.org/packages/MiniValidation/0.8.0
What's Changed
- Make
ValidationContext
supportIServiceProvider
. by @maliming in #48 - Use TypedResults in web sample by @DamianEdwards in #49
- Update README.md by @DamianEdwards in #50
New Contributors
Full Changelog: v0.7.4...v0.8.0
v0.7.4
What's Changed
- Don't validate properties of primitive system types by @DamianEdwards in #47
Full Changelog: v0.7.3...v0.7.4
Available on NuGet: https://www.nuget.org/packages/MiniValidation/0.7.4
v0.7.3
What's Changed
- Handle ByRef type parameters in type constructors by @DamianEdwards in #45
Full Changelog: v0.7.2...v0.7.3
Available on NuGet: https://www.nuget.org/packages/MiniValidation/0.7.3
v0.7.2
What's Changed
- Handle types with inherited primary constructors by @DamianEdwards in #43
Full Changelog: v0.7.1...v0.7.2
Available at https://www.nuget.org/packages/MiniValidation/0.7.2
v0.7.1
- Earlier exit if validation goes async from sync call sites w/o allowAsync=true
Full Changelog: v0.7.0...v0.7.1
Available at https://www.nuget.org/packages/MiniValidation/0.7.1
v0.7.0
- Updates for .NET 7.0.0 GA
- Dropped prerelease suffix
- Drops specific support for .NET Core 3.1 (out of support in December 2022)
- Library includes targets for
netstandard2.0
so can be installed in .NET Core 3.1 projects but I no longer test on .NET Core 3.1
- Library includes targets for
- Validation behavior now matches ASP.NET Core MVC Model Validation behavior WRT to recursive validation
- Adds support for async validation for objects that implement new interface
IAsyncValidatableObject
- Adds support for validation attributes defined on parameters of record type primary constructors, e.g.:
public record Todo(int Id, [Required] string Title)
- Available on NuGet:
v0.6.0-pre.20220527.55
- Adds method that determines if there's anything to validate for a given type
- Available on NuGet: