Skip to content

Releases: giorgiopogliani/twig-components

0.6.1

01 Oct 12:58
66d0409
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.6.0...0.6.1

0.6.0

29 Jun 21:44
d31cd31
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.4...0.6.0

0.5.4

06 May 10:55
Compare
Choose a tag to compare
  • Limit twig version below 3.9 due to compatibility issues

Full Changelog: 0.5.3...0.5.4

0.5.3

25 Jan 10:45
f13a7a2
Compare
Choose a tag to compare

What's Changed

  • Fix compatibility issue with PHP 8.2 array access function signature. by @ryanscherler in #21

New Contributors

Full Changelog: 0.5.2...0.5.3

0.5.2

16 Jun 20:11
Compare
Choose a tag to compare

What's Changed

  • Refactor tests in trait for different setup
  • Fix nested attributes merge with global context enabled
  • Add attributes.class('defaultClass') as already documented by @Pindagus in #14
  • Optional template extension by @Pindagus in #13
  • Fix attributes echo for component in component by @Pindagus in #15

New Contributors

Full Changelog: 0.5.1...0.5.2

0.5.1

09 Apr 12:12
Compare
Choose a tag to compare

fix: use custom tags always active regardless of the configuration

0.5.0

08 Apr 10:42
Compare
Choose a tag to compare

What's Changed

  • new: major refactoring and cleaner code
  • new: Configuration class and deprecated Setup::init
  • new: slots can have variables! Access the attributes on the slots variable like this title.attributes.class('font-bold')
  • new: you can enable global scope and access global variables from you components but this currently breaks the attributes variable
  • fix: minor typos by @ArnaudLigny in #11
  • fix: minor changes on README file by @ArnaudLigny in #12

New Contributors

Full Changelog: 0.4.7...0.5.0

0.4.7

15 Sep 08:08
Compare
Choose a tag to compare

Added support to twig namespaces! Thanks to @kurtrank

Now you can use components from a twig namespace, just add [namespce]: before the component name.

0.4.6

17 Jul 10:11
Compare
Choose a tag to compare

Improving fix for arbitrarily-nested components. @rasmuswinter

0.4.5

16 Jul 18:08
Compare
Choose a tag to compare

Prevent slots being overwritten by inner scope. @rasmuswinter