Releases: yiisoft/html
Releases · yiisoft/html
Version 4.0.0
- New #270: Allow passing
int,floatandnullas tag content (@vjik) - Chg #221: Throw
LogicExceptioninTag::id()when id is empty string (@razvbir) - Chg #234: Remove tag attributes sorting (@FrankiFixx)
- Chg #267: Make all
CheckboxItemandRadioItemproperties required (@vjik) - Chg #269: Rename
$optionsparameter to$attributesinHtml::addCssClass(),Html::removeCssClass(),
Html::addCssStyle()andHtml::removeCssStyle()methods (@vjik)
Version 3.13.0
Immutable
release. Only release title and notes can be modified.
- New #260: Add
$attributesparameter toHtml::li()method (@gauravkumar2525) - Chg #243: Deprecate static constructors such as
TagName::tag()in favor ofnew TagName()(@razvbir) - Enh #261: Enhance
RadioList::addRadioWrapClass()method for cleaner class addition (@vjik) - Enh #263: Explicitly import classes and constants in "use" section (@mspirkov)
Version 3.12.0
Version 3.11.0
Version 3.10.0
- Chg #240, #242: Change PHP constraint in
composer.jsonto8.1 - 8.4(@vjik) - Enh #223: Make
$contentparameter optional inButtonfactories (@FrankiFixx) - Enh #244: Allow to pass
nulltoSelect::value()method (@vjik) - Bug #232: Render
loadingattribute beforesrc(@samdark) - Bug #242: Fix the nullable parameter declarations for compatibility with PHP 8.4 (@vjik)
Version 3.9.0
- Enh #230: Add backed enumeration value support to
Html::addCssClass(),Tag::addClass()andTag::class()
methods (@terabytesoftw)
Version 3.8.0
- New #224: Add optional
wrapparameter toBooleanInputTag::label()method that controls whether to wrap input tag
with label tag or place them aside (@vjik) - New #225: Add
CheckboxList::checkboxLabelWrap()andRadioList::radioLabelWrap()methods (@vjik) - New #227, #228: Add 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()andRadioList::addRadioWrapClass()(@vjik) - Enh #220: Add
non-empty-stringpsalm type ofHtml::generateId()method result (@vjik) - Enh #220: Add
non-empty-string|nullpsalm type ofTag::id()method parameter (@vjik) - Enh #222: Bump minimal PHP version to 8.1 and refactor (@vjik)
Version 3.7.0
- New #218: Add methods
Script::nonce()andScript::getNonce()for CSP (@Gerych1984, @vjik) - Enh #219: Add backed enumeration value support to
Selecttag (@vjik)
Version 3.6.0
- Enh #212: Throw
InvalidArgumentExceptioninHtml::renderAttribute()when attribute name is empty or contains
forbidden symbols (@es-sayers, @vjik) - Enh #214: Add
Stringableand array values support to textarea tag (@vjik) - Enh #217: Add backed enumeration value support to
CheckboxListandRadioListwidgets (@vjik) - Bug #208: Fix output of
nullvalue attributes inHtml::renderTagAttributes()(@es-sayers)
Version 3.5.0
- New #192: Add class for tag
hrand methodHtml::hr()(@abdulmannans) - Enh #200: Add support for multiple elements in
aria-describedbyattribute (@arogachev)