Skip to content

2.0.0

Compare
Choose a tag to compare
@odan odan released this 04 Sep 23:12
· 8 commits to master since this release

Breaking Changes

  • Make all CakeValidationConverter method non static

Migration from v1 to v2

use Selective\Validation\Converter\CakeValidationConverter;
// ...

// Old
$validationResult = CakeValidationConverter::createValidationResult($errors);

// New
$validationResult = (new CakeValidationConverter())->createValidationResult($errors);

Added

  • Add ValidationConverterInterface

Removed

  • Dropped support for symfony/validator (not used)