Document breaking changes coming in 11.0
See original GitHub issueThis issue tracks breaking changes coming in 11.0 that will need to be documented:
Supported platform changes
- Removal of netcore2.1 (MS official support ends 21 August 2021)
cascade mode changes
Public API
- Asynchronous validators will now throw an exception when invoked synchronously, rather than silently running synchronously.
- OnFailure/OnAnyFailure removed
- Remove backwards compatibility property validator layer
Test Helper
- Remove deprecated test helper methods
Internal API
-
IValidationRule<T,TProperty>.CurrentValidator
has been removed (use theCurrent
property instead) -
IValidationRule<T,TProperty>.Current
now returns anIRuleComponent<T,TProperty>
interface instead ofRuleComponent<T,TProperty>
(necessary to support variance) -
IValidationRule<T,TProperty>.MessageBuilder
’s argument is now anIMessageBuilderContext<T,TProperty>
interface instead ofMessageBuilderContext<T,TProperty>
class (necessary to support variance) -
IValidationRule<T,TProperty>.MessageBuilder
is now set-only, and has no getter exposed (needed to support variance), meaning you can only have one message builder per rule chain. -
IRuleComponent<T,TProperty>.CustomStateProvider
is now set-only to support variance -
IRuleComponent<T,TProperty>.SeverityProvider
is now set-only to support variance -
GetErrorMessage
is no longer exposed onIRuleComponent<T,TProperty>
- Remove deprecated
Options
property from RuleComponent - MemberAccessor removed
Aspnet integration
- Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Upcoming breaking changes in Azure PowerShell
Learn about upcoming breaking changes to the Azure Az PowerShell module. ... DockerBridgeCidr parameter will be deprecated in Az 11.0.0 ...
Read more >Breaking changes in CMS 11
Describes breaking changes for Optimizely Content Management System (CMS 11) in relation to previous version 10, and the steps needed to update affected...
Read more >Behavior changes: Apps targeting Android 11
Like earlier releases, Android 11 includes behavior changes that may affect your app. The following behavior changes apply exclusively to apps that are ......
Read more >Breaking changes | ArcGIS Maps SDK for JavaScript 4.27
A comprehensive guide to all breaking changes for the ArcGIS Maps SDK for JavaScript , ordered by release version. This guide is helpful...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think you’ll also need to bring across the
MemberAccessor
class (or at least, the parts of it that dynamically build property setters)Hi, Why are you deprecating this way of writing validation? This
looks so much better than
Plus it allowed us to write extensions methods to test multiple values at once like e.g.: