yiisoft / view

Yii view rendering library
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
56 stars 44 forks source link

Add support for `yiisoft/html` version `^3.0` #213

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on yiisoft/html to permit the latest version.

Release notes

Sourced from yiisoft/html's releases.

Version 3.0.0

  • New #139: Add loading() method to Img tag (@​jacobbudin)
  • Chg #135: Raise yiisoft/arrays version to ^2.0 (@​vjik)
  • Chg #136: Remove Tag::class() and rename Tag::replaceClass() to Tag::class() (@​vjik)
  • Chg #140: Remove Html::fileInput() and Input::file(), rename Input::fileControl() to Input::file() (@​vjik)
  • Chg #141: Tag class: remove attributes() method and rename replaceAttributes() to attributes() (@​vjik)
  • Chg #141: Range class: remove outputAttributes() method and rename replaceOutputAttributes() to outputAttributes() (@​vjik)
  • Chg #141: File class: remove uncheckInputAttributes() method and rename replaceUncheckInputAttributes() to uncheckInputAttributes() (@​vjik)
  • Chg #141: ButtonGroup class: remove buttonAttributes() method and rename replaceButtonAttributes() to buttonAttributes() (@​vjik)
  • Chg #141: CheckboxList: remove individualInputAttributes() and checkboxAttributes() methods, rename replaceIndividualInputAttributes() to individualInputAttributes() and replaceCheckboxAttributes() to checkboxAttributes() (@​vjik)
  • Chg #141: RadioList class: remove individualInputAttributes() and radioAttributes() methods, rename replaceIndividualInputAttributes() to individualInputAttributes() and replaceRadioAttributes() to radioAttributes() (@​vjik)
  • Enh #133: Raise minimum PHP version to 8.0 and refactor code (@​xepozz, @​vjik)
  • Enh #142: Make NoEncodeStringableInterface extend from Stringable 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)
Changelog

Sourced from yiisoft/html's changelog.

3.0.0 November 06, 2022

  • New #139: Add loading() method to Img tag (@​jacobbudin)
  • Chg #135: Raise yiisoft/arrays version to ^2.0 (@​vjik)
  • Chg #136: Remove Tag::class() and rename Tag::replaceClass() to Tag::class() (@​vjik)
  • Chg #140: Remove Html::fileInput() and Input::file(), rename Input::fileControl() to Input::file() (@​vjik)
  • Chg #141: Tag class: remove attributes() method and rename replaceAttributes() to attributes() (@​vjik)
  • Chg #141: Range class: remove outputAttributes() method and rename replaceOutputAttributes() to outputAttributes() (@​vjik)
  • Chg #141: File class: remove uncheckInputAttributes() method and rename replaceUncheckInputAttributes() to uncheckInputAttributes() (@​vjik)
  • Chg #141: ButtonGroup class: remove buttonAttributes() method and rename replaceButtonAttributes() to buttonAttributes() (@​vjik)
  • Chg #141: CheckboxList: remove individualInputAttributes() and checkboxAttributes() methods, rename replaceIndividualInputAttributes() to individualInputAttributes() and replaceCheckboxAttributes() to checkboxAttributes() (@​vjik)
  • Chg #141: RadioList class: remove individualInputAttributes() and radioAttributes() methods, rename replaceIndividualInputAttributes() to individualInputAttributes() and replaceRadioAttributes() to radioAttributes() (@​vjik)
  • Enh #133: Raise minimum PHP version to 8.0 and refactor code (@​xepozz, @​vjik)
  • Enh #142: Make NoEncodeStringableInterface extend from Stringable 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)

2.5.0 July 09, 2022

  • New #122: Add Tag::addAttributes(), ButtonGroup::addButtonAttributes(), RadioList::addRadioAttributes(), RadioList::addIndividualInputAttributes(), CheckboxList::addCheckboxAttributes(), CheckboxList::addIndividualInputAttributes(), File::addUncheckInputAttributes(), Range::addOutputAttributes() and deprecate Tag::attributes(), ButtonGroup::buttonAttributes(), RadioList::radioAttributes(), RadioList::individualInputAttributes(), CheckboxList::checkboxAttributes(), CheckboxList::individualInputAttributes(), File::uncheckInputAttributes(), Range::outputAttributes() (@​vjik)
  • New #123: Add Tag::addClass() and deprecate Tag::class() (@​vjik)
  • New #129: Add methods enctypeApplicationXWwwFormUrlencoded(), enctypeMultipartFormData() and enctypeTextPlain() to Form tag class (@​vjik)

2.4.0 May 19, 2022

  • New #97: Add classes for tags Body, Article, Section, Nav, Aside, Hgroup, Header, Footer, Address and methods Html::body(), Html::article(), Html::section(), Html::nav(), Html::aside(), Html::hgroup(), Html::header(), Html::footer(), Html::address() (@​soodssr)
  • New #103: Add class for tag Form and method Html::form() (@​vjik)
  • New #105: Add specialized class File for an input tag with type file and methods Html::file() and Input::fileControl() (@​vjik)
  • New #109: Add class for tag Datalist and method Html::datalist() (@​vjik)
  • New #109, #117: Add specialized class for input tag with type Range and methods Html::range(), Input::range() (@​vjik)
  • New #111: Add widget ButtonGroup (@​vjik)
  • New #111: Add method Tag::unionAttributes() that available for all tags (@​vjik)
  • New #113: Add class for tag Legend, class for tag Fieldset, methods Html::legend() and Html::fieldset() (@​vjik)

... (truncated)

Commits
  • fb49605 Release version 3.0.0
  • 464ca55 Kill last mutant (#144)
  • 84e0e80 Fix a typo and type hinting improvements (#143)
  • d4f08cc NoEncodeStringableInterface extend Stringable interface (#142)
  • aee63cb Remove methods *attributes() and rename replace*Attributes() to `*attribu...
  • a0844f4 Remove Html::fileInput() and Input::file(). Rename Input::fileControl()...
  • 1df6c2d Add loading() method to Img tag (#139)
  • c08ec25 Remove Tag::class() and rename Tag::replaceClass() to Tag::class() (#136)
  • ba08f35 Raise yiisoft/arrays version to ^2.0 (#135)
  • 4636f1f Add rector [batch] (#133)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
what-the-diff[bot] commented 1 year ago
samdark commented 1 year ago

@dependabot rebase

codecov[bot] commented 1 year ago

Codecov Report

Base: 99.44% // Head: 99.72% // Increases project coverage by +0.27% :tada:

Coverage data is based on head (5cb2e66) compared to base (a5c2e69). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #213 +/- ## ============================================ + Coverage 99.44% 99.72% +0.27% Complexity 302 302 ============================================ Files 19 18 -1 Lines 727 725 -2 ============================================ Hits 723 723 + Misses 4 2 -2 ``` | [Impacted Files](https://codecov.io/gh/yiisoft/view/pull/213?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft) | Coverage Δ | | |---|---|---| | [src/State/WebViewState.php](https://codecov.io/gh/yiisoft/view/pull/213/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL1N0YXRlL1dlYlZpZXdTdGF0ZS5waHA=) | `100.00% <100.00%> (ø)` | | | [src/ViewInterface.php](https://codecov.io/gh/yiisoft/view/pull/213/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft#diff-c3JjL1ZpZXdJbnRlcmZhY2UucGhw) | | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=yiisoft)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

samdark commented 1 year ago

👍