Skip to content

3.0.0

Choose a tag to compare

@GuySartorelli GuySartorelli released this 13 Jun 01:14
· 1 commit to 3.0 since this release
1014fcc

What's Changed

Breaking changes include:

  • RegexFieldsValidator removed. Use ConstraintsValidator with a Regex constraint instead.
  • SimpleFieldsValidator removed. Form::validate() will call FormField::validate() without the need for an additional validator. See AjaxCompositeValidator docs for how to omit fields from AJAX validation.
  • RequiredFieldsValidator removed - use the RequiredFieldsValidator from framework instead.
  • GridFieldMessagesExtension removed as it's no longer necessary.
  • DataObjectDefaultAjaxExtension removed - use injector configuration instead.
  • FormFieldExtension removed - we can't control when validate() is called on fields anymore, since that's happening directly in the form.
  • Added strong typing
  • Extension hook methods are now protected so can't be called directly on the object being extended

Full Changelog: 2.3.0...3.0.0