Skip to content

Releases: sunrise-php/hydrator

v2.6.0

17 Aug 02:52
435c548
Compare
Choose a tag to compare
  • Support for enums for PHP < 8.1.

v2.5.0

20 Apr 21:06
80f234d
Compare
Choose a tag to compare
  • Support for php 8.1 inc. enums #5
  • Support for data object #18 (thx @Lukasss93)
  • Added new method InvalidValueException::getPropertyPath():string

v2.4.0

11 Apr 04:35
28c7e46
Compare
Choose a tag to compare
  • Empty strings for non-string properties are converted to null.

v2.3.0

21 Mar 11:58
d57b175
Compare
Choose a tag to compare
  • JSON serialization for default collection.

v2.2.0

10 Jan 09:44
973bee7
Compare
Choose a tag to compare
  • Support for DateInterval (#12).

v2.1.1

30 Nov 09:42
a361c49
Compare
Choose a tag to compare
  • Improved tests (#11).

v2.1.0

08 Nov 00:02
830917a
Compare
Choose a tag to compare
  • The ObjectCollection::isEmpty() method was added;
  • The ability to pass JSON decoding options.

v2.0.0

22 Oct 14:10
8e9bd14
Compare
Choose a tag to compare
  • Correct typing for scalar types;
  • Dates can now accept timestamps;
  • Removed enumerable and JSON types;
  • New method hydrateWithJson;
  • Improved codebase and tests.

v1.4.0

30 Jul 12:35
5d02b0d
Compare
Choose a tag to compare
  • Support for json type.

v1.3.0

29 Jul 23:52
b206924
Compare
Choose a tag to compare
  • Support for integer enum cases;
  • Support for JSON.