Skip to content

Releases: PhpGt/DomTemplate

April 2024 release

30 Apr 17:52
406b261
Compare
Choose a tag to compare

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

04 Feb 22:32
ebe9545
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.4.0

IteratorAggregate objects

10 Nov 11:56
913b654
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.3...v3.3.0

Type check - ReflectionNamedType

09 Aug 14:49
af9f693
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.2...v3.2.3

Remove data-elements as last operation

20 Jul 21:50
70581eb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.1...v3.2.2

Introduce data-element

19 Jul 14:44
6829c86
Compare
Choose a tag to compare

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

02 Mar 16:54
ffda274
Compare
Choose a tag to compare

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

11 Jan 17:23
1310c55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.4...v3.1.6

v3 December 2022 release

18 Dec 16:15
1310c55
Compare
Choose a tag to compare

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

24 Jul 19:29
7b82294
Compare
Choose a tag to compare

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.