Skip to content

@weierophinney weierophinney released this Feb 26, 2019 · 1 commit to master since this release

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #230 fixes the "__clone method called on non-object" error that happens when
    the $targetElement is null within a Collection instance. It now properly
    sets the data to an empty array in such circumstances.
Assets 2

@weierophinney weierophinney released this Jan 7, 2019 · 13 commits to master since this release

Added

  • #228 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #228 removes support for zend-stdlib v2 releases.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Dec 11, 2018 · 32 commits to master since this release

Added

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Dec 11, 2018 · 71 commits to master since this release

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #218 ensures object values of select elements can be rendered without error.

  • #216 fixes an issue when performing data binding and a fieldset has no mapped
    input elements, casting null values to empty arrays to ensure they can be
    passed to an input filter.

  • #207 fixes the return value annotation for the Fieldset::get() method to
    indicate it can also return a FieldsetInterface instance.

Assets 2

@weierophinney weierophinney released this May 16, 2018 · 109 commits to master since this release

Added

  • #194 adds the ability to whitelist additional HTML attributes for use with a view helper,
    as well as attribute prefixes. These can be enabled via the following:

    $helper->addValidAttribute('attribute-name');
    $helper->addValidAttributePrefix('prefix-');
  • #188 adds a new method to the FormElementErrors view helper, setTranslateMessages(bool $flag).
    By default, the helper continues to translate error messages (if a translator
    is present), as introduced in 2.11.0. However, using this method, you can
    disable translation, which may be necessary to prevent double translation
    and/or to reduce logs from missed translation lookups. Because the method
    implements a fluent interface, you may do so in one line:

    echo $this->formElementErrors()->setTranslateMessages(false)->render($element);

    Note: you will need to reset the value afterwards if you want translations to occur
    in later invocations.

Changed

  • #193 modifies how attributes are escaped. If zend-espaper raises an exception
    for an invalid attribute value, helpers will now catch the exception, and use
    a blank value for the attribute. This prevents 500 errors from being raised
    for such pages.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
Assets 2

@weierophinney weierophinney released this Dec 6, 2017 · 157 commits to master since this release

Added

  • #104 adds the ability for the FormElementErrors view helper to translate validation error messages using the composed translator and text domain instances.

  • #171, #186, and #187 add support for PHP 7.2.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #171 removes support for HHVM.

  • #186 removes support for PHP 5.5.

Fixed

  • #162 fixes an issue with hydration when a form has called setWrapElements(true), ensuring that binding values in a fieldset will correctly identify the elements in the provided data.

  • #172 fixes the DateTime element such that it no longer attempts to use its DATETIME_FORMAT constant, but, rather, the value of the $format property, when representing the element; this change allows developers to override the format, which was the original intention.

  • #178 loosens the checks in Zend\Form\Element\DateTime::getValue() to check against PHP's DateTimeInterface (vs DateTime) when retrieving the value; this fixes edge cases where it was instead returning the format for DateTimeImmutable values.

Assets 2
Jul 13, 2017
zend-form 2.4.13
Jun 19, 2017
zend-form 2.4.12

@weierophinney weierophinney released this May 18, 2017 · 237 commits to master since this release

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #161 adds an import statement to the ElementFactory, fixing an error whereby checks for Traversable creation options would lead to a service creation exception; these now correctly identify traversable options and convert them to an array.
  • #164 fixes how the FormElementManagerFactory factory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from the config service and thus seeding it with configured form/form element services. This means that the form_elements configuration will now be honored in non-zend-mvc contexts.
  • #159 fixes the behavior of the min and max attributes of the various DateTime elements, ensuring that the elements raise an exception during instantiation if the values provided are in a format that DateTime does not recognize for the element type in question.
Assets 2

@weierophinney weierophinney released this Apr 26, 2017 · 261 commits to master since this release

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #134 fixes how the FormElementManager handles invokable classes when the autoAddInvokableClass flag is enabled. Previously, it used the built-in utilities from zend-servicemanager, but now correctly uses its own setInvokableClass() method, which forces usage of the ElementFactory for such classes, and thus ensures the name and options are passed to the element constructor.
  • #136 fixes how error messages are provided when an element uses a required ArrayInput, but no values are submitted. Previously, no messages were returned; now they are.
  • #156 fixes how elements that act as InputProviders are merged into parent CollectionInputFilters; previously, forms did not check if the element was in the target input filter composed in a CollectionInputFilter, leading to duplicate elements with varying behavior; now the inputs are correctly merged.
Assets 2
You can’t perform that action at this time.