Releases: yiisoft/html
Releases · yiisoft/html
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
wrap
parameter 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-string
psalm type ofHtml::generateId()
method result (@vjik) - Enh #220: Add
non-empty-string|null
psalm 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
Select
tag (@vjik)
Version 3.6.0
- Enh #212: Throw
InvalidArgumentException
inHtml::renderAttribute()
when attribute name is empty or contains
forbidden symbols (@es-sayers, @vjik) - Enh #214: Add
Stringable
and array values support to textarea tag (@vjik) - Enh #217: Add backed enumeration value support to
CheckboxList
andRadioList
widgets (@vjik) - Bug #208: Fix output of
null
value attributes inHtml::renderTagAttributes()
(@es-sayers)
Version 3.5.0
- New #192: Add class for tag
hr
and methodHtml::hr()
(@abdulmannans) - Enh #200: Add support for multiple elements in
aria-describedby
attribute (@arogachev)
Version 3.4.0
Version 3.3.0
Version 3.2.0
Version 3.1.0
Version 3.0.0
- New #139: Add
loading()
method toImg
tag (@jacobbudin) - Chg #135: Raise
yiisoft/arrays
version to^2.0
(@vjik) - Chg #136: Remove
Tag::class()
and renameTag::replaceClass()
toTag::class()
(@vjik) - Chg #140: Remove
Html::fileInput()
andInput::file()
, renameInput::fileControl()
toInput::file()
(@vjik) - Chg #141:
Tag
class: removeattributes()
method and renamereplaceAttributes()
toattributes()
(@vjik) - Chg #141:
Range
class: removeoutputAttributes()
method and renamereplaceOutputAttributes()
tooutputAttributes()
(@vjik) - Chg #141:
File
class: removeuncheckInputAttributes()
method and renamereplaceUncheckInputAttributes()
touncheckInputAttributes()
(@vjik) - Chg #141:
ButtonGroup
class: removebuttonAttributes()
method and renamereplaceButtonAttributes()
tobuttonAttributes()
(@vjik) - Chg #141:
CheckboxList
: removeindividualInputAttributes()
andcheckboxAttributes()
methods,
renamereplaceIndividualInputAttributes()
toindividualInputAttributes()
andreplaceCheckboxAttributes()
tocheckboxAttributes()
(@vjik) - Chg #141:
RadioList
class: removeindividualInputAttributes()
andradioAttributes()
methods,
renamereplaceIndividualInputAttributes()
toindividualInputAttributes()
andreplaceRadioAttributes()
toradioAttributes()
(@vjik) - Enh #133: Raise minimum PHP version to 8.0 and refactor code (@xepozz, @vjik)
- Enh #142: Make
NoEncodeStringableInterface
extend fromStringable
interface (@vjik) - Enh #143: Minor type hinting improvements (@vjik)
- Bug #143: Fix a typo in the message of exception that thrown on invalid buttons' data in
ButtonGroup
widget (@vjik)