Releases: valantic/pimcore-forms
Releases · valantic/pimcore-forms
v3.0.1
v3.0.0
v3.0.0-beta.3
- hotfix for 5d267af
v3.0.0-beta.2
- Repository for Choices #20
v3.0.0-beta.1
- Pimcore 11 compatibility #19
v2.2.1
v2.2.0
v2.1.0
v2.0.0
Breaking Changes
#13 OutputResponse
- Previously, output handlers (implementing
\Valantic\PimcoreFormsBundle\Form\Output\OutputInterface) would returnboolinhandle(). Now a\Valantic\PimcoreFormsBundle\Model\OutputResponseis passed tohandle()and also returned by it. To migrate to v2, you can calladdStatus()onOutputResponsewith the old boolean return value. See e.g. 9ae9286#diff-61d28d355a99d814b3c8e7e07b1eda62287f842c0e007bb3371fb054c4342001 for the change in\Valantic\PimcoreFormsBundle\Form\Output\LogOutput. \Valantic\PimcoreFormsBundle\Http\ApiResponse::MESSAGE_TYPES(and related constants) are now in\Valantic\PimcoreFormsBundle\Constant\MessageConstants::MESSAGE_TYPES
#14 Housekeeping
- Return type added to
\Valantic\PimcoreFormsBundle\Form\Output\EmailOutput::getDocument - Argument types added to
\Valantic\PimcoreFormsBundle\Form\Type\ChoicesInterface- If code is extending
\Valantic\PimcoreFormsBundle\Form\Type\AbstractChoices, this shouldn't be a breaking change
- If code is extending
Features
#13 OutputResponse
By calling \Valantic\PimcoreFormsBundle\Model\OutputResponse::addMessage, messages can be added to the API response (\Valantic\PimcoreFormsBundle\Http\ApiResponse) from within an output handler.
Other changes
#14 Housekeeping
- Proper Symfony 5 compatibility
- Throw exceptions when JSON encoding/decoding fails
- Test against PHP 8.1
- Update code style rules for PHP 8.0
- Refactor deprecated code