Skip to content

Releases: PackageFactory/atomic-fusion-proptypes

v2.1.1 BUGFIX: Handle ArrayAccess in DataStructure validator gracefully

12 Jan 12:58
a94ac42
Compare
Choose a tag to compare

What's Changed

  • BUGFIX: Handle ArrayAccess in DataStructure validator gracefully by @mficzel in #22

Full Changelog: v2.1.0...v2.1.1

v2.2.0 Fusion object`PropTypes:FromPrototype` & Inline-docs in EEL Helper

09 Jan 14:46
7b9e475
Compare
Choose a tag to compare

What's Changed

  • Feature: Inline-docs in EEL Helper instead of __call by @mhsdesign in #19
  • FEATURE: Fusion objectPropTypes:FromPrototype to use propTypes from other fusion prototypes by @mficzel in #20

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0 PropTypeValidation works for derived component implementations

09 Sep 09:36
c42e26a
Compare
Choose a tag to compare

What's Changed

  • FEATURE: PropTypeValidationAspect executes for child classes of ComponentImplementation by @gjwnc in #15

New Contributors

  • @gjwnc made their first contribution in #15

Full Changelog: v2.0.2...v2.1.0

Declare compatibility with Neos 8.x

01 Apr 12:35
92b6019
Compare
Choose a tag to compare
v2.0.2

TASK: Declare compatibility with Neos 8.x

Neos 7.0 compatibility

16 Dec 20:12
8faa1be
Compare
Choose a tag to compare
v2.0.1

Relax version constraint for Neos 7

Flow 6.0 compatibility

29 Sep 13:03
84cc8ea
Compare
Choose a tag to compare
v2.0.0

TASK: Include Travis badge

Relax version constraints to support Neos 5

13 Sep 07:25
65b3bbd
Compare
Choose a tag to compare
v1.3.1

TASK: Relax version constraints to support Neos 5

Strict mode for propType validations

21 Feb 09:35
cf872a5
Compare
Choose a tag to compare

In strict mode an error is thrown if an unvalidated prop is passed to
a component in development context. This ensures that all props are validated.

To enable strict mode for a component add @strict = true to the propTypes.

prototype(Vendor.Site:Example) < prototype(Neos.Fusion:Component) {
    @propTypes {
        @strict = true
        ...
    }
}

Better Error Messages

22 Nov 08:23
8c99026
Compare
Choose a tag to compare

A better readable view of the errors by overriding the error handler for fusion components. Each error is rendered as a seperate line togehter with a deep path that allows to debug errors in nested data structures much easier.

Add `PropTypes.dataStructure` Validator

09 Nov 09:34
f9bf281
Compare
Choose a tag to compare

This is an exact copy of the shape-validator but reflects the term data-structure wich
is added as Fusion prototype in Neos 4.2.

PropTypes.dataStructure({'foo': PropTypes.integer, 'bar': PropTypes.string}): Validate the keys of the given array validate with the assigned Validator, accepts null and ignores all other keys. The key validators have to define wether a single key is required.