v1.4.2.7: DateType + EnumType changes, Updates for October specs
Despite being a minor update this version might require you to change a few things in your code.
DateTimeType
andDateTimeTzType
types are now working properly and parsing your input string into the\DateTime
object in PHP. Also you can specify the exact format of theDateType
when creating a field in constructor (for examplenew DateTimeType("m/d/Y H:ia")
) .EnumType
now can returnnull
values as it is in the official JS library and properly usename
andvalue
if they are not equal (e.g.{value: 1, name: "ACTIVE"}
- All scalar types consider
null
values as valid values