Skip to content

Commit

Permalink
DOC Deprecations for validators
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 8, 2024
1 parent abf9f5f commit a6f4dd7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions en/08_Changelogs/5.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ The `SilverStripe\CMS\Model\SiteTree.DESCRIPTION` localisation key (along with t
- [`RemoteFileModalExtension::getSchemaResponse()`](api:SilverStripe\AssetAdmin\Extensions\RemoteFileModalExtension::getSchemaResponse()) has been deprecated. It will be replaced with `RemoteFileModalExtension::getOwner()->getSchemaResponse()`.
- [`InternalLinkModalExtension`](api:SilverStripe\CMS\Forms\InternalLinkModalExtension) has been deprecated. It will be replaced with configuration on [`ModalController`](api:SilverStripe\Admin\ModalController).
- [`FormField::validate()`](api:SilverStripe\Forms\FormField::validate()) will take zero arguments and return a ValidationResult object instead of a boolean in CMS 6.0.0.
- [`FieldsValidator`](api:SilverStripe\Forms\FieldsValidator) has been deprecated. It will be replaced with functionality inside [`Form::validate()`](api:Silverstripe\Forms\Form::validate()).
- [`Validator`](api:SilverStripe\Forms\Validator) has been deprecated. It will be renamed to `SilverStripe\Forms\Validation\Validator`.
- [`RequiredFields`](api:SilverStripe\Forms\RequiredFields) has been deprecated. It will be renamed to `SilverStripe\Forms\Validation\RequiredFieldsValidator`.
- [`CompositeValidator`](api:SilverStripe\Forms\CompositeValidator) has been deprecated. It will be renamed to `SilverStripe\Forms\Validation\CompositeValidator`.
- [`UserFormsRequiredFields`](api:SilverStripe\UserForms\Form\UserFormsRequiredFields) has been deprecated. It will be renamed to `SilverStripe\UserForms\Form\UserFormsRequiredFieldsValidator`.
- [`AWRequiredFields`](api:Symbiote\AdvancedWorkflow\Forms\AWRequiredFields) has been deprecated. It will be renamed to `Symbiote\AdvancedWorkflow\Forms\AWRequiredFieldsValidator`.

## Bug fixes

Expand Down

0 comments on commit a6f4dd7

Please sign in to comment.