EC-CUBE / ec-cube2

EC-CUBE official repository version 2
https://www.ec-cube.net
Other
86 stars 97 forks source link

Bump smarty/smarty from 5.0.2 to 5.1.0 #912

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps smarty/smarty from 5.0.2 to 5.1.0.

Changelog

Sourced from smarty/smarty's changelog.

[5.1.0] - 2024-04-22

  • Prevent deprecation notices during compilation in PHP8.3 #996
  • Fix that getTemplateVars would return an array of objects instead of the assigned variables values #994
  • Fix Smarty::assign() not returning $this when called with an array as first parameter #972
  • Documented support for {if $element is in $array} syntax #937
  • Added support for {if $element is not in $array} syntax #937
  • Using stream variables in templates now throws a deprecation notice #933
  • Internal compiler classes always return a string (the internal has_code flag has been removed for simplicity) #918
  • Fix invalid classnames in Runtime code for foreach #1000

[5.0.1] - 2024-03-27

  • Fix error in Smarty\Smarty::compileAllTemplates() by including missing FilesystemIterator class #966

[5.0.0] - 2024-03-25

  • Fixed that scoped variables would overwrite parent scope #952
  • Removed publicly accessible $tpl->_var_stack variable

Fixed

  • Too many shorthand attributes error when using a modifier as a function with more than 3 parameters in an expression #949

Removed

  • Dropped support for undocumented {time()} added in v5.0.0 since we already have the documented {$smarty.now}

[5.0.0-rc3] - 2024-02-26

Added

  • PHP8.3 support #925
  • Backlink to GitHub in docs
  • Explain how to do escaping and set-up auto-escaping in docs #865
  • Link to variable scope page in the documentation for the assign tag #878
  • Add support for implode, substr and json_encode as modifiers/functions in templates #939
  • Add template path to CompilerException to enable rich debug features #935

Fixed

  • The {debug} tag was broken in v5 #922
  • Documentation on {if $x is even by $y} syntax
  • Fix incorrect compilation of expressions when escape_html=true #930

[5.0.0-rc2] - 2023-11-11

Fixed

  • Registered output filters wouldn't run #899
  • Use of negative numbers in {math} equations #895
  • Do not auto-html-escape custom function results #906
  • Fix case-sensitive tag names #907

Removed

... (truncated)

Commits
  • 8d53d3c Merge branch 'release/5.1.0'
  • 47c4864 version bump
  • f411247 Prevent notices on null to string conversion in Template::appendCode (#1002)
  • 9a8702d Corrected invalid classnames in Runtime code for foreach (#1001)
  • 5ee4363 Fix change in signature of getTemplateVars (#995)
  • 77c0b74 Fix docblock types (#992)
  • 34adf4e Fixed unit tests to not rely on the existence of any domain or unavailability...
  • 5400b53 Revert "fix release tooling to support/5 branch"
  • 599bcee Fix Smarty::assign() not returning when called with an array as first parame...
  • 569cef7 fix release tooling to support/5 branch
  • Additional commits viewable in compare view


Dependabot compatibility score

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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.69%. Comparing base (93ca936) to head (308a2c5). Report is 5 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #912 +/- ## ======================================= Coverage 55.69% 55.69% ======================================= Files 75 75 Lines 8905 8905 ======================================= Hits 4960 4960 Misses 3945 3945 ``` | [Flag](https://app.codecov.io/gh/EC-CUBE/ec-cube2/pull/912/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EC-CUBE) | Coverage Δ | | |---|---|---| | [tests](https://app.codecov.io/gh/EC-CUBE/ec-cube2/pull/912/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EC-CUBE) | `55.69% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EC-CUBE#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.