Version 2.0 adds some breaking changes:
- PHP 7.4|8.0 only
- Timezones are now opt-out instead of opt-in, which makes that each date property will have a timezone
- Property types are now simple called properties
- Property only accept a
string
as name, you can add aliases via theaddAlias
function - ComponentPayload has removed
textProperty
,dateTimeProperty
andwhen
in favour ofproperty
,optional
andmultiple