Skip to content

Releases: dereuromark/cakephp-dto

0.2.1

05 Jan 22:26
af0f93c
Compare
Choose a tag to compare

Bugfixes

  • Disallow set() and property write access for immutable DTOs.
  • Provide with() for immutable DTOs.

0.2.0

02 Jan 01:11
Compare
Choose a tag to compare

Improvements

  • Removed ArrayAccess
  • Instead added property access and get(), set(), has() convenience methods

0.1.3

29 Dec 14:30
Compare
Choose a tag to compare

Improvements

Allow fromArray() to auto-add keys for associative arrays if that "key" exists in the incoming data.

Bugfixes

Fix toArray()/fromArray() for array collections.

0.1.2

27 Dec 11:16
72f38f1
Compare
Choose a tag to compare

Improvements

Added namespaced DTOs.
This way you can have multiple of the same name, as long as they are under different subfolders and not used together or aliased.

Bugfixes

Fix mixed type for fields.

0.1.1

12 Dec 21:23
Compare
Choose a tag to compare

Improvements

Default values auto-require the field now (not nullable) unless specified differently.

0.1

09 Dec 21:47
24ab439
Compare
Choose a tag to compare
0.1

Initial Release

You can try out this package now as stable one.
Please give some feedback or provide ideas for improvement, either as issue or PR.