Skip to content

Commit 64b6bf3

Browse files
committed
Package 0.15.0 version and update CHANGELOG.md.
1 parent b1eb32d commit 64b6bf3

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.15.0
2+
3+
- Introduced validation failure for `null` root instances instead of throwing FluentValidation exceptions.
4+
- Introduce abstract `ValidationProfile<T>` class.
5+
- Added an optional `Action<T>` `onSuccessValidation` parameter to `ExpressValidatorBuilder<TObj, TOptions>.AddFunc` for handling successful validation of `Func` result.
6+
- Refactor `ExpressValidatorBuilder<TObj, TOptions>.Build` to remove dependency on `ExpressValidator<TObj, TOptions>`.
7+
- Deprecate the `ExpressValidator<TObj, TOptions>` class.
8+
- Add internal `PropertyValidationProcessor<TObj, T>` class.
9+
- Switch to using `PropertyValidationProcessor<TObj, T>` in `ExpressPropertyValidator<TObj, T>` and `ExpressPropertyValidator<TObj, TOptions, T>`.
10+
- Refactor `ExpressPropertyValidator<TObj, T>` to set `IsAsync` in the constructor.
11+
- Add internal utility `TypeHelper<T>` class with `IsNull` method and use it in `TypeValidatorBase<T>`.
12+
- Introduce internal utility `TypeTraits<T>` class.
13+
- Update to FluentValidation 12.1.1.
14+
- Add internal static `ValidationFallbackProvider` class representing validation failure for a `null` instance.
15+
- Add ExpressValidator.Tests.Net8.csproj for testing ExpressValidator when TargetFramework is net8.0.
16+
- Update tests to System.ValueTuple 4.6.2.
17+
- Improve test coverage for null handling.
18+
- Update NuGet.md and README.md.
19+
20+
121
## 0.12.2
222

323
- Move the instance field `TypeValidatorBase._shouldBeComparedToNull` to a static readonly field (renamed to `_canBeNull`) to cache the reflection result per `TypeValidatorBase<T>` type and eliminate redundant per-instance evaluations.

src/ExpressValidator/ExpressValidator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6-
<Version>0.12.2</Version>
6+
<Version>0.15.0</Version>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<Authors>Andrey Kolesnichenko</Authors>
99
<Description>ExpressValidator is a library that provides the ability to validate objects using the FluentValidation library, but without object inheritance from `AbstractValidator`.</Description>
@@ -15,7 +15,7 @@
1515
<PackageIcon>ExpressValidator.png</PackageIcon>
1616
<PackageReadmeFile>NuGet.md</PackageReadmeFile>
1717
<PackageIconUrl />
18-
<AssemblyVersion>0.12.2.0</AssemblyVersion>
18+
<AssemblyVersion>0.15.0.0</AssemblyVersion>
1919
<FileVersion>0.0.0.0</FileVersion>
2020
</PropertyGroup>
2121

0 commit comments

Comments
 (0)