2021-08-24 1142次浏览

HTML package version 2.0.0 was released. In this release:

  • Empty attribute values are not rendered anymore.
  • New tags added: Em , Strong , B and I .
  • null could be passed to Tag::class() , Tag::replaceClass() , BooleanInputTag::label() and BooleanInputTag::sideLabel() . Attribute won't be rendered.
  • as() and preload() were added to the Link tag.
  • NoEncode class was added to wrap content that should not be encoded in HTML tags.
  • Individual attributes for CheckboxList and RadioList inputs could now be specified via CheckboxList::individualInputAttributes() , CheckboxList::replaceIndividualInputAttributes() , RadioList::individualInputAttributes() and RadioList::replaceIndividualInputAttributes() .

The following extra releases were made to adopt to new HTML version:

  • view 2.0.0
  • yii-view 2.0.0
  • view-twig 2.0.0
  • mailer 2.0.0
  • mailer-swiftmailer 2.0.0
  • log-target-email 2.0.0