[news] Yii HTML 3.8


Version 3.8 of Yii HTML package is released. There are some improvements:

  • added optional wrap parameter to BooleanInputTag::label() method that controls whether to wrap input tag with label tag or place them aside;
  • added CheckboxList::checkboxLabelWrap() and RadioList::radioLabelWrap() methods;
  • added ability to wrap items in checkbox and radio lists by using methods CheckboxList::checkboxWrapTag(), CheckboxList::checkboxWrapAttributes(), CheckboxList::checkboxWrapClass(), CheckboxList::addCheckboxWrapClass(), RadioList::radioWrapTag(), RadioList::radioWrapAttributes(), RadioList::radioWrapClass() and RadioList::addRadioWrapClass();
  • added non-empty-string psalm type of Html::generateId() method result;
  • added non-empty-string|null psalm type of Tag::id() method parameter;
  • bumped minimal PHP version to 8.1 and refactor.