Releases: Icinga/ipl-html
Releases · Icinga/ipl-html
ipl-html v0.10.2
ipl-html v0.10.1
ipl-html v0.10.0
ipl-html v0.9.1
This fixes a BC in v0.9.0 due to form elements not accepting null as name #182
ipl-html v0.9.0
Features
Changes
- Introduce MutableHtml interface #152
- Introduce HtmlElementInterface #154
- Attribute: Introduce static method sanitizeId #171
- TextElement: Add support for placeholder attribute #148
- Form: Trigger ON_REQUEST only in case it's not been sent #153
- Form data and PHP $_POST data mismatch in case of special characters in form element names #149
- This introduced a BC which is being addressed in version 0.9.1
Deprecations
- Deprecate everything related to the old form element decorators #170
Fixes
ipl-html v0.8.2
Changes
- Checkboxes that are not checked, are not validated anymore #144
- This is in line with other elements, as they're not validated as well if they have no value
Fixes
- Checkboxes that are required are now properly validated on the server side #143
- Required text inputs do not pass validation anymore, if only white-space has been entered #141
- The
PasswordElementnow does not render the dummy password unless the form has been submitted or automatically populated #142
ipl-html v0.8.1
ipl-html v0.8.0
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()andFormElements::ensureDefaultElementDecoratorLoaderRegistered()can now be overridden more easily #124
Fixes
ipl-html v0.7.0
Breaking Changes
ipl\FormElement\SubFormElementis replaced byipl\FormElement\FieldsetElement#74ipl\FormElement\BaseFormElement::addDefaultValidators()is nowprotected#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 Attributeinstances now allow the customization of the value separator #106ipl\FormElement\SelectElementgot enhanced quite a bit (take a look at the PRs for details) #70 #88- The checked and unchecked value of
ipl\FormElement\CheckboxElementcan now be adjusted by attributes #69