Skip to content

Releases: dealfonso/typedobject

0.4.0

Choose a tag to compare

@dealfonso dealfonso released this 24 Mar 14:33
  • Introduction of TypedObjectSimple class that guesses the data model from the typed properties of the objects. In that case, the use of constant ATTRIBUTES is ignored.
  • Use mixed type instead of dynamic
  • Add internal type array
  • Correct some bugs

Full Changelog: 0.3.1...0.4.0

0.3.1

Choose a tag to compare

@dealfonso dealfonso released this 23 Mar 19:44
  • correct one bug when creating or parsing arrays
  • enhance docs

Full Changelog: 0.3.0...0.3.1

0.3.0

Choose a tag to compare

@dealfonso dealfonso released this 22 Mar 09:53

TypedObject is a PHP class to ease the usage of objects coming from a JSON definition. It enables to parse JSON objects and convert them into PHP objects, ready to be used in your application.

The library takes care of checking the types of the values for the attributes, and changing them to meet your data model.

This is a whole new version, with lots of new features, and observing Typed Properties in PHP 7.4

0.2.1

Choose a tag to compare

@dealfonso dealfonso released this 12 Mar 09:52
  • Change string type to string instead of str to match php types
  • Correct some bugs

Full Changelog: 0.2.0...0.2.1

0.2.0

Choose a tag to compare

@dealfonso dealfonso released this 25 Jul 08:53
  • Add constants STRICT_TYPE_CHECKING and STRICT_TYPE_CHECKING_EMPTY_ZERO
  • Add sorting and filtering for JsonLists
  • Add negative index for JsonLists

Full Changelog: 0.1.1...0.2.0

0.1.1

Choose a tag to compare

@dealfonso dealfonso released this 07 Jun 20:03

Full Changelog: 0.1.0...0.1.1

first public version

Choose a tag to compare

@dealfonso dealfonso released this 06 Jun 21:59
0.1.0

correct bug