Skip to content

Commit

Permalink
Merge pull request #646 from creative-commoners/pulls/5/depr-valid
Browse files Browse the repository at this point in the history
DOC Deprecations for validators
  • Loading branch information
GuySartorelli authored Dec 9, 2024
2 parents 5152341 + a6f4dd7 commit f30b9b2
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 @@ -204,6 +204,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 f30b9b2

Please sign in to comment.