Skip to content

0.14.0

Compare
Choose a tag to compare
@lulco lulco released this 26 Jul 19:07
· 47 commits to main since this release

Changed

  • Types handling - used smart extract feature from PHPStan (Possible problems please report any issue connected with variable types)
  • Not defined variables are marked with error Undefined variable ... (BC break - if error was ignored, you need to change ignored error pattern)

Added

  • Type int as param for Runtime::item() method to support integer names of Form containers
  • Transformer for ternary condition with is_object and dynamic form fields - it removes always true / always false condition errors
  • Errors Cannot call method endTag() on Nette\Utils\Html|string. and Cannot call method startTag() on Nette\Utils\Html|string. added to ignore list until they are fixed in nette/forms
  • Support for dynamic forms with known name
  • Allowed Stringable as link destination parameter value if strict mode is not enabled

Removed

  • ignore-next-line for dynamic inputs - should be solved by removing ternary condition for dynamic inputs (If you have any issue with this, please report it)

Fixed

  • Collecting of conditionally defined (optioinal) variables from array
  • "Cannot resolve latte template for action" when setView is used with bleeding edge
  • Form classes can now have custom params in constructor