From 30b48a72f3be8924587bdb83b26e1650ce74b62f Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 3 Dec 2024 18:17:58 +1300 Subject: [PATCH] DOC Deprecations for Validators --- en/08_Changelogs/5.4.0.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/en/08_Changelogs/5.4.0.md b/en/08_Changelogs/5.4.0.md index 6bb43bf6..cc35ced1 100644 --- a/en/08_Changelogs/5.4.0.md +++ b/en/08_Changelogs/5.4.0.md @@ -203,6 +203,10 @@ 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) will be renamed to `SilverStripe\Forms\FormFieldsValidator`. +- [`RequiredFields`](api:SilverStripe\Forms\FieldsValidator) will be renamed to `SilverStripe\Forms\RequiredFieldsValidator`. +- [`UserFormsRequiredFields`](api:SilverStripe\UserForms\Form\UserFormsRequiredFields) will be renamed to `SilverStripe\UserForms\Form\UserFormsRequiredFieldsValidator`. +- [`AWRequiredFields`](api:Symbiote\AdvancedWorkflow\Forms\AWRequiredFields) will be renamed to `Symbiote\AdvancedWorkflow\Forms\AWRequiredFieldsValidator`. ## Bug fixes