forked from cweiske/jsonmapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
161 lines (112 loc) · 4.84 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
2017-11-28 Christian Weiske <[email protected]>
* Fix do not modify keys when mapping objects to arrays (issue #87)
* Add support for lists of ArrayObjects
by @DerManoMann
* Add support for callback functions in $classMap
by @DerManoMann
* Use PHPUnit 5+ for tests
* Version 1.4.0
2017-08-14 Christian Weiske <[email protected]>
* Fix "Missing argument" error when instantiating class with required
constructor parameter by @jaredchu (pull request #85)
* Raise minimum PHP version to 5.6.0
* Version 1.3.0
2017-07-13 Christian Weiske <[email protected]>
* Add support for multidimensional arrays
by @thomasphansen (issue #81)
* Version 1.2.0
2017-01-27 Christian Weiske <[email protected]>
* Fix namespace resolution of ArrayObject child classes (issue #69)
* Add PHP 7.1 nullability support
by @MHarutunian (issue #67)
* Version 1.1.1
2016-11-17 Christian Weiske <[email protected]>
* Add support for mapping to private properties/methods
by @jonaswouters
* Add classname to "NULL not allowed" exception message
by @veteran29
* Version 1.1.0
2016-10-11 Christian Weiske <[email protected]>
* Add option to turn off the "must not be NULL" exception
by @kamranahmedse (issue #58)
* Add support for properties with hyphens "-"
by @redshark1802 (issue #55)
* Add support for both "double" and "float" types
* Move to PEAR channel zustellzentrum.cweiske.de
* Version 1.0.0
2016-04-14 Christian Weiske <[email protected]>
* Add $undefinedPropertyHandler (issue #51)
* Add $classMap to override class names (issue #53)
* Add option to enable strict object type checks (issue #50)
* Add composer autoloader performance improvement
* Add exception when an array is expected, but simple type given
(issue #44)
* Fix non-nullable object handling: Exception is now thrown when
NULL is given and an object was expected.
THIS WILL PROBABLY BREAK YOUR CODE
Add "|null" to all your "@var ClassName" lines to fix that.
* Version 0.11.0
2015-09-24 Christian Weiske <[email protected]>
* Add dependency injection support (issue #42)
* Fix casting of arrays of simple types
* Version 0.10.0
2015-08-14 Christian Weiske <[email protected]>
* Add case-insensitive property matching (issue #40)
* Add option to disable map() parameter type enforcement (issue #37)
* Release 0.9.0
2015-07-06 Christian Weiske <[email protected]>
* Add support for seting objects directly if they have
the correct type already by @radmen
* Throw exception when a non-object is passed to map()
* Release 0.8.0
2015-06-19 Christian Weiske <[email protected]>
* Support "mixed" variable type (issue #33)
* Release 0.7.0
2015-05-28 Christian Weiske <[email protected]>
* Fix namespace error with setter type hints
* Release 0.6.1
2015-04-09 Christian Weiske <[email protected]>
* Prefer setter methods over directy property access
* Change setter method name calculation for properties
with _ underscores by @msankhala
* Release 0.6.0
2015-03-18 Christian Weiske <[email protected]>
* Add support for nullable types (int|null) by @barryvdh
* Increase test coverage to 100%
* Fix float value detection by @sonicgd
* Release 0.5.0
2015-01-08 Christian Weiske <[email protected]>
* Fix bug #23: handle empty variable types
* Fix bug #24: Namespaced ArrayObject class with namespaced
value type does not work
* Release 0.4.4
2014-12-17 Christian Weiske <[email protected]>
* Change license from AGPL v3 to OSL-3.0
* Release 0.4.3
2014-12-05 Christian Weiske <[email protected]>
* Fix array mapping when value is NULL by @darkgaro
* Release 0.4.2
2014-11-04 Christian Weiske <[email protected]>
* Fix handling of private properties with public setters
* Fix handling of simple array types in namespaced files
* Release 0.4.1
2014-08-20 Sebastian Mendel <[email protected]>
* Incorporate performance tweaks from @Jalle19
* Release 0.4.0
2014-06-11 Andre Hähnel <[email protected]>
* Optional exceptions for missing or undefined data
* Release 0.3.0
2014-05-16 Christian Weiske <[email protected]>
* Handle NULL values when mapping simple data types onto objects
* Release 0.2.1
2014-05-15 Christian Weiske <[email protected]>
* Add support for mapping simple data types onto objects
* Fix tests on phpunit 4.x
* Release version 0.2.0
2014-03-17 Christian Weiske <[email protected]>
* Prevent autoloading classes with ] in its name
* Release version 0.1.3
2014-02-03 Christian Weiske <[email protected]>
* Fix issue #2: Namespace is prepended two times
* Fix issue #1: Remove declare(encoding="UTF-8") calls
* Release version 0.1.2