Skip to content

Releases: valantic/pimcore-forms

v3.0.1

08 May 10:28

Choose a tag to compare

Re-licensed under GPLv3, see README#License.

v3.0.0

05 Mar 14:16

Choose a tag to compare

v3.0.0-beta.3

26 Feb 13:30

Choose a tag to compare

v3.0.0-beta.3 Pre-release
Pre-release

v3.0.0-beta.2

15 Feb 09:11

Choose a tag to compare

v3.0.0-beta.2 Pre-release
Pre-release
  • Repository for Choices #20

v3.0.0-beta.1

27 Dec 14:44

Choose a tag to compare

v3.0.0-beta.1 Pre-release
Pre-release
  • Pimcore 11 compatibility #19

v2.2.1

12 Oct 07:09

Choose a tag to compare

  • Translate choice_attr labels for correct matching, #18

v2.2.0

11 Jul 15:02

Choose a tag to compare

  • Expose form name and field config in \Valantic\PimcoreFormsBundle\Form\Type\AbstractChoices #16

v2.1.0

16 Nov 16:05

Choose a tag to compare

  • Modify email before sending by overriding \Valantic\PimcoreFormsBundle\Form\Output\EmailOutput::preSend() to e.g. call $mail->replyTo(...) (a2054c3)

v2.0.0

29 Jun 14:17

Choose a tag to compare

Breaking Changes

#13 OutputResponse

  • Previously, output handlers (implementing \Valantic\PimcoreFormsBundle\Form\Output\OutputInterface) would return bool in handle(). Now a \Valantic\PimcoreFormsBundle\Model\OutputResponse is passed to handle() and also returned by it. To migrate to v2, you can call addStatus() on OutputResponse with 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

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

v1.0.0

04 May 14:49

Choose a tag to compare

  • Drop support for Pimcore 6 and PHP 7 (#12)