Releases: PhpGt/DomTemplate
Releases · PhpGt/DomTemplate
April 2024 release
What's Changed
- Automatically binding nested array iterators by @g105b in #487
- 489 bindable cache method OR property name by @g105b in #490
- feature: @ bind key synonymous for name by @g105b in #493
- feature: pass selectors instead of element references by @g105b in #494
Full Changelog: v3.4.0...v3.4.1
Remove elements with bind attribute
IteratorAggregate objects
Type check - ReflectionNamedType
Remove data-elements as last operation
Introduce data-element
This release introduces a helper attribute, data-element
, which can be used to remove unbound elements from the document. Documentation here: https://github.com/PhpGt/DomTemplate/wiki/automatically-remove-unbound-elements
What's Changed
Full Changelog: v3.2.0...v3.2.1
March 2023 minor release
What's Changed
- bindable non scalar object properties by @g105b in #393
- Trim whitespace where there are only template children in an element by @g105b in #394
- Binding a list of options, with already existing select options by @g105b in #395
- Modifier tests - more tests to enforce documented functionality by @g105b in #396
- Improvements to TableBinding by @g105b in #397
- Simplified casting of bind value by @g105b in #399
- Handle [vars] section of comment ini by @g105b in #401
- Tidy up after quality analysis by @g105b in #403
- PHPUnit 10 by @g105b in #408
- Improvements to working with lists of data (data-bind:list and nested object improvements) by @g105b in #415
- data-list replaces data-template by @g105b in #417
Full Changelog: v3.1.5...v3.2.0
January 2023 release
What's Changed
- Build(deps-dev): bump phpstan/phpstan from 1.8.1 to 1.8.2 by @dependabot in #364
- Build(deps): bump phpgt/dom from 4.0.2 to 4.0.3 by @dependabot in #372
- Update examples, include another for binding nested callbacks by @g105b in #370
- 376 dependabot by @g105b in #379
- Build(deps): bump phpgt/dom from 4.0.3 to 4.1.0 by @dependabot in #380
- Nested components by @g105b in #381
- Rebinding of elements and lists by @g105b in #384
- Fix segfault! by @g105b in #386
- test: ensure bind function is not called more than once by @g105b in #387
- Dependency bump by @g105b in #392
Full Changelog: v3.1.4...v3.1.6
v3 December 2022 release
What's Changed
- Fix segfault! by @g105b in #386 - this feature is the most significant (to me) because under certain heavy load scenarios, libxml would create a segfault, meaning major error on the server once every so often. This isn't a fix to libxml, but a workaround so that it isn't affecting this repo.
- Build(deps-dev): bump phpstan/phpstan from 1.8.1 to 1.8.2 by @dependabot in #364
- Build(deps): bump phpgt/dom from 4.0.2 to 4.0.3 by @dependabot in #372
- Update examples, include another for binding nested callbacks by @g105b in #370
- Dependabot by @g105b in #379
- Build(deps): bump phpgt/dom from 4.0.3 to 4.1.0 by @dependabot in #380
- Nested components by @g105b in #381
- Rebinding of elements and lists by @g105b in #384
- test: ensure bind function is not called more than once by @g105b in #387
Full Changelog: v3.1.4...v3.1.5
Upgrade dom requirement and loosen version range
This minor patch release bumps the Dom version, but loosens the semver range as defined by Composer. This will allow future minor releases of Dom to be included by DomTempalte without having to make a new release.