Releases: templado/engine
4.2.6
What's Changed
- Fix implicit null deprecation warnings for PHP 8.4 by @Matthew-H in #36
New Contributors
- @Matthew-H made their first contribution in #36
Full Changelog: 4.2.5...4.2.6
5.0.0-rc.5
Changed
- The
ViewModelRenderer
now processes Signal results (Remove / Ignore) before performing a conditionaltypeOf
check. This allows for removing of elements that would otherwise require a matching type.
Full Changelog: 5.0.0-rc.4...5.0.0-rc.5
5.0.0-rc.4
Fixed
- Attribute removal didn't work properly
- Make
FormdataRenderer
not choke on unnamed elements
Added
DocumentCollection::isEmpty
has been added
Changed
- HTMLSerializer now trims Text nodes to avoid redundant line breaks
- Configure directories and files that should not be added to archives by @sebastianbergmann in #35
Full Changelog: 5.0.0-rc.3...5.0.0-rc.4
4.2.5
What's Changed
- Inform that PHP >=7.4 is required by @JanWennrich in #30
- Configure directories and files that should not be added to archives by @sebastianbergmann in #34
Full Changelog: 4.2.4...4.2.5
5.0.0-rc.3
Release 5.0.0-rc.2
2nd Release Candidate for Templado 5.0.0
What's changed to 5.0.0-rc.1
- Added
NotDefined
Signal to better support__call
/__get
implementors - Rewritten
HTMLSerializer
introduced in 5.0.0-rc.1 to address BC breaks in PHP 8.2
Release 5.0.0-rc.1
First Release Candidate for 5.0.0
What's Changed
- Major Refactoring
- updated API
- new Features
Documentation can now be found at https://docs.templado.io [work in progress]
Release 4.2.4
This release is the last scheduled feature release in the 4.x branch. New features will
be implemented in Templad 5.x only. Updates to 4.x are going to be made to ensure compatibility
with upcoming PHP versions as long as possible. For Bugfixes, please just open a ticket.
Changed
-
Replaced generic ClearNamespaceDefinitionsFilter
Replaced with a specifc one that only removes hopefully redundant xmlns defintions for xhtml.This still has many potential issues but is a lot better than the previous approach.
Release 4.2.3
Fixed
- CSRFProtectionRendererTest fails with PHP 8.3.0-dev due to invalid xmlns
Release 4.2.2
Changed
- ClearNamespaceDefinitionsFilter now supports an optional root node name that will get the xhtml xmlns set
Fixed
Html::asString()
no longer has unexpected side effects on the working DOM (which may have lead to namespaces being unset)