Skip to content

Releases: neos/fusion-afx

1.4.1

30 Mar 14:14
1dcbd4c
Compare
Choose a tag to compare

BUGFIX: Handle zero as tag content properly
TASK: Add php 7.4 to travis tests
TASK: Remove deprecated curly brace syntax for accessing string offsets

Detailed changelog

Support html comments and backslashes in attributes

26 Nov 20:06
6a7b120
Compare
Choose a tag to compare
Merge pull request #27 from mficzel/feature/afxComments

FEATURE: Support html comment syntax in afx

1.3.2

10 Sep 08:20
22c0bb3
Compare
Choose a tag to compare

Major changes:

  • move AFX parser from packagefactory/afx into this package
  • compatibility with Neos 5.0

1.3.0 and 1.3.1 had version constraints that were accidentally relaxed too much and allowed older Neos versions to install an afx they were not compatible with.

Detailed changes: 1.2.0...v1.3.2

ES6 Spread Syntax

30 Nov 10:47
Compare
Choose a tag to compare

To apply multiple properties to a fusion prototype with a single expression afx supports the spread syntax from ES6:

<Vendor.Site:Component {...expression} />

Is transpiled as:

Vendor.Site:Component {
    @apply.spread_1 = ${expression}
}

Spreads can be combined with props and the order of the definition is of props and spreads is preserved, spreads will override previously defined props but are overwritten again by later props.

Note: Spreads rely on the @apply feature of Neos.Fusion 4.2 so this version of Neos is required.

Add `@path` meta-property

30 Nov 10:44
92d5950
Compare
Choose a tag to compare

The @path-property of tag-children can be used to render a specific afx-child into the given fusion path instead of beeing included into the content. This allows to render AFX children into different props and to assign Fusion-prototypes to props.

<Vendor.Site:Prototype>
    <h2 @path="title">{props.title}</h1> 
    <p @path="description">{props.description}</p>
</Vendor.Site:Prototype>

Relax Neos version constraint for 4.0

24 Apr 09:16
5ff9f11
Compare
Choose a tag to compare
v1.0.1

TASK: Adapt version constraints

Initial release of Neos.Fusion.Afx

13 Nov 15:59
Compare
Choose a tag to compare

The package was transferred from PackageFactory.AtomicFusion.AFX to the Neos.Fusion.Afx namespace.