Skip to content

Commit

Permalink
Version 0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lulco committed Jul 26, 2023
1 parent 8343cc1 commit 9fa98eb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@

## [Unreleased][unreleased]

## [0.14.0] - 2023-07-26
### Added
- 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
- 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
- Added nette/forms errors `Cannot call method endTag() on Nette\Utils\Html|string.` and `Cannot call method startTag() on Nette\Utils\Html|string.` to ignore list until they are fixed
- 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
- Ignore for Latte\Runtime\Html in link if strict mode is not enabled
- 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
- 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 variables from array
- 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

Expand Down Expand Up @@ -200,7 +201,8 @@
- Transform components to explicit calls
- Error mapper for better DX

[unreleased]: https://github.com/efabrica-team/phpstan-latte/compare/0.13.2...HEAD
[unreleased]: https://github.com/efabrica-team/phpstan-latte/compare/0.14.0...HEAD
[0.14.0]: https://github.com/efabrica-team/phpstan-latte/compare/0.13.2...0.14.0
[0.13.2]: https://github.com/efabrica-team/phpstan-latte/compare/0.13.1...0.13.2
[0.13.1]: https://github.com/efabrica-team/phpstan-latte/compare/0.13.0...0.13.1
[0.13.0]: https://github.com/efabrica-team/phpstan-latte/compare/0.12.0...0.13.0
Expand Down

0 comments on commit 9fa98eb

Please sign in to comment.