Skip to content

Releases: Icinga/ipl-html

ipl-html v0.8.1

15 Jul 07:30
v0.8.1
Compare
Choose a tag to compare

Fixes

  • Forms now also catch fatal errors #139
  • select[multiple] inputs which are part of a fieldset are now correctly transmitted #136

ipl-html v0.8.0

21 Sep 08:51
v0.8.0
Compare
Choose a tag to compare

Changes

  • Support for PHP 8.2
  • Added new method HtmlDocument::insertAfter() #122
  • Added new method HtmlDocument::insertBefore() #122
  • Added new event HtmlDocument::ON_ASSEMBLED #122
  • FormElements::ensureDefaultElementLoaderRegistered() and FormElements::ensureDefaultElementDecoratorLoaderRegistered() can now be overridden more easily #124

Fixes

  • FormElements::setDefaultElementDecorator(string) now correctly instantiates the decorator #124
  • FileElement properly preserves uploads across requests again, since it broke with the latest update #128

ipl-html v0.7.0

22 Mar 08:56
v0.7.0
Compare
Choose a tag to compare

Breaking Changes

  • ipl\FormElement\SubFormElement is replaced by ipl\FormElement\FieldsetElement #74
  • ipl\FormElement\BaseFormElement::addDefaultValidators() is now protected #90
  • Form elements are not validated anymore if they have no value #121

Changes

  • Added ipl\FormElement\FileElement #66
  • Added ipl\FormElement\RadioElement #68
  • Added ipl\FormElement\ColorElement #75
  • Form elements can now initialize themselves in a new method init() #95
  • Attribute instances now allow the customization of the value separator #106
  • ipl\FormElement\SelectElement got enhanced quite a bit (take a look at the PRs for details) #70 #88
  • The checked and unchecked value of ipl\FormElement\CheckboxElement can now be adjusted by attributes #69

Fixes

  • Attributes are now cloned correctly #110
  • Wrapper loops are now aborted as late as possible #92 #93
  • ipl\FormElement\SelectElement::setOptions(array) does not add options anymore #67
  • ipl\FormElement\SubmitButtonElement::hasBeenPressed() does not always return true anymore #116, #119

ipl-html v0.6.0

15 Jun 08:18
v0.6.0
Compare
Choose a tag to compare

Breaking Changes

  • Dropped support for PHP 7.0 and 7.1 #59

Changes

  • Support for PHP 8.1 #59

Fixes

  • Attributes::merge() does not ignore callbacks anymore #63

ipl-html v0.5.0

23 Mar 10:11
v0.5.0
3dcd341
Compare
Choose a tag to compare

Changes

  • New form element Password #57
    • New form event ON_VALIDATE
    • New form event onRegistered()

Fixes

  • False-positive errors when Select elements are validated after their options changed #60

ipl-html v0.4.2

10 Nov 13:18
v0.4.2
Compare
Choose a tag to compare

Version 0.4.2

TBD

ipl-html v0.4.1

27 Jul 08:45
v0.4.1
fba87f4
Compare
Choose a tag to compare

Fixes

  • Fix infinite loop when a wrapper wraps the element in an extra container #52

ipl-html v0.4.0

24 Jun 08:53
v0.4.0
c49325e
Compare
Choose a tag to compare

Breaking Changes

  • The interface of the HtmlElement constructor has changed #51

Changes

  • Templating to aid enriching localized content with HTML #33
  • Form enhancements #36
  • Form: Validate empty elements also in validatePartial() #35
  • New form event to handle autosubmits #34
  • FormattedString: Support sprintf-like behavior for non string arguments #32 and #46

Fixes

  • SelectElement default value is ignored #38
  • Multiple forms on the same page calling handleRequest() are all submitted at once #45
  • Attributes renders duplicate attributes #42
  • Fix empty claim though content is added in assemble #30
  • Handle checked state of the checkbox element #29

Version 0.3.0

13 Mar 09:39
v0.3.0
204c29b
Compare
Choose a tag to compare
v0.3.0

Version 0.3.0

Version 0.2.0

16 May 14:38
60e9fb5
Compare
Choose a tag to compare

Changes

  • FIX: accept Validators (#18)
  • FIX: corrects problems with element removal (#16, #17)
  • FEATURE: introduce Form::getValue (#15)
  • FEATURE: use EventEmitter, provide some events (#19)