From 2bc1a6e3b7aa835c9e28a53160fd107770ec2a1d Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Wed, 19 Feb 2020 20:00:36 +0300 Subject: [PATCH] Fix #17868: Add upgrade note for 2.0.29 boolean HTML attributes rendering change [skip ci] --- framework/UPGRADE.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index e5f14cc33c..30bead738f 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -109,6 +109,14 @@ Upgrade from Yii 2.0.30 ----------------------- * `yii\helpers\BaseInflector::slug()` now ensures there is no repeating $replacement string occurrences. In case you rely on Yii 2.0.16 - 2.0.30 behavior, consider replacing `Inflector` with your own implementation. + + +Upgrade from Yii 2.0.28 +----------------------- + +* `yii\helpers\Html::tag()` now generates boolean attributes + [according to HTML specification](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attribute). + For `true` value attribute is present, for `false` value it is absent. Upgrade from Yii 2.0.20 -----------------------