Skip to content

Releases: Eveio/dto

v2.1.0

14 Apr 16:47
681b49d
Compare
Choose a tag to compare
  • fix: include properties with default values in the returned array
  • feat: DataTransferObject::get() accepts a second parameter for default value.
  • feat: accessing a property that hasn't been initialized yet now properly throws a "Property must not be accessed before initialization" exception.

v2.0.1

13 Apr 10:30
d037580
Compare
Choose a tag to compare

Allows property direct access.

v2.0.0

08 Apr 11:03
3b435f8
Compare
Choose a tag to compare

Remove strict type checks.

v1.0.6

17 Mar 14:41
Compare
Choose a tag to compare
fix: accept DocBlock types with mixed cases

v1.0.5

15 Mar 16:25
Compare
Choose a tag to compare
fix: correct PHP requirements in doc

v1.0.4

09 Mar 12:47
8088be7
Compare
Choose a tag to compare

Add PHP 8 support.

v1.0.3

08 Mar 15:01
Compare
Choose a tag to compare
fix: return proper type for set() method

v1.0.2

04 Mar 15:33
Compare
Choose a tag to compare
Revert "fix: higher visibility for __construct()"

Extending classes should make use of static::make() instead.

This reverts commit 944527eecaf0ca8aa4892d0ffecd1a0836f61154.

v1.0.1

04 Mar 15:26
Compare
Choose a tag to compare

Increase constructor visibility to allow extending from a child class.

v1.0.0

04 Mar 15:07
a42c16b
Compare
Choose a tag to compare

First release.