Skip to content

Commit

Permalink
Update changelog in preparation for 9.0-preview2
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremySkinner committed Feb 20, 2020
1 parent 76160de commit 44f1a8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ PropertyValidator.ShouldValidateAsync reanamed to ShouldValidateAsynchronously t
PropertyValidatorContext.Instance renamed to InstanceToValidate for consistency with ValidationContext.
Removed various methods from MessageFormatter that were deprecated in 8.x
Added Slovenian translations of default error messages.
Added WithMessageArgument to the test helpers.

8.6.0 - 4 December 2019
Add support for ASP.NET Core 3.1
Expand Down
5 changes: 4 additions & 1 deletion docs/upgrading-to-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Renamed the `PropertyValidator.ShouldValidateAsync` method to `ShouldValidateAsy

### Removal of WithLocalizedMessage

If you use strongly-typed resource wrappers for localization, older versions of FluentValidation allowed the use of specifying a resource name and resource type in a call to `WithLocalizedMessage`:
This is only relevant if you use RESX-based localization with strongly-typed wrapper classes generated by Visual Studio. Older versions of FluentValidation allowed the use of specifying a resource name and resource type in a call to `WithLocalizedMessage`:

```csharp
RuleFor(x => x.Surname).NotNull().WithLocalizedMessage(typeof(MyLocalizedMessages), "SurnameRequired");
Expand Down Expand Up @@ -117,3 +117,6 @@ Several other methods/properties that were deprecated in FluentValidation 8 have
- `ResourceName` has been removed from `ValidationFailure`.
- `Instance` was removed from `PropertyValidatorContext` - use `InstanceToValidate` instead.
- `DelegatingValidator` has been removed
- `FluentValidation.Internal.Comparer` has been removed
- `FluentValidation.Internal.TrackingCollection` is now internal

1 change: 1 addition & 0 deletions src/FluentValidation/FluentValidation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Changes in 9.0.0:
* ComparisonProperty placeholder is now formatted like PropertyName
* Translations of default error messages into other languages are now lazily-loaded
* Added Slovenian translations of default error messages.
* Added WithMessageArgument to the test helpers.

Full release notes can be found at https://github.com/JeremySkinner/FluentValidation/blob/master/Changelog.txt
</PackageReleaseNotes>
Expand Down

0 comments on commit 44f1a8f

Please sign in to comment.