Changelog
Notable changes in each release.
All notable changes to ArturRios.Validation are recorded in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
2.0.1 - 2026-10-29
Changed
- The package’s project URL is the documentation site’s new address,
https://docs.artur-rios.tech/dotnet-validation, since the site moved from GitHub Pages.
Fixed
removeSpecialCharsstrips only the quoting apostrophes and the sentence-ending full stops FluentValidation puts in its messages. It used to remove every'and., which changed what a message said:'Amount' must be greater than '0.5'.came out asAmount must be greater than 05. An apostrophe between two letters (can't) and a full stop followed by anything but whitespace (0.5,example.org) are now kept; FluentValidation’s default messages come out exactly as before.- A failure whose message is blank, or blank once
removeSpecialCharshas run, is reported asThe specified condition was not met for '<property>'.instead of being dropped byProcessOutput.AddErrors— which leftValidateAndReturnProcessOutputandValidateAndReturnDataOutput(and their asynchronous counterparts) reportingSuccessfor an invalid model.
2.0.0 - 2026-08-24
Added
ValidateAndReturnErrorsAsync,ValidateAndReturnProcessOutputAsyncandValidateAndReturnDataOutputAsync, taking aCancellationToken, so a validator declaring an asynchronous rule (MustAsync,CustomAsync) can use the helpers.- XML documentation for every public type, method and parameter; the package used to ship an empty documentation file.
- The NuGet listing carries the project URL and package tags.
Changed
- Breaking:
IFluentValidator<T>gainsValidateAndReturnProcessOutput,ValidateAndReturnErrorsAsyncandValidateAndReturnProcessOutputAsync. Anyone implementing the interface directly has to add them; anyone deriving fromFluentValidator<T>needs no change. - The special-character regex used by
removeSpecialCharsis source-generated, with a 100 ms match timeout. ArturRios.Outputupdated from 3.1.0 to 3.2.0.
1.1.0 - 2026-08-19
Changed
ArturRios.Outputupdated from 2.0.1 to 3.1.0.
1.0.0 - 2026-07-17
Added
FluentValidator<T>, a FluentValidationAbstractValidator<T>with helpers that return the validation errors as a string array, aProcessOutputor aDataOutput<T>, optionally stripping quotes and periods from the messages.IFluentValidator<T>, the abstraction over it.