Debian Codegraph @

Changes

raw
1 Revision history for Class-Tiny
2
3 1.008 2020-09-04 10:04:50-04:00 America/New_York
4
5 - No changes since 1.007
6
7 1.007 2020-09-02 07:02:55-04:00 America/New_York (TRIAL RELEASE)
8
9 [DOCUMENTATION]
10
11 - DEMOLISH docs incorrectly claimed that errors were thrown. Updated to
12 say that errors are rethrown.
13
14 1.006 2016-09-10 14:47:49-04:00 America/New_York
15
16 - No changes since 1.005
17
18 1.005 2016-09-06 12:12:06-04:00 America/New_York (TRIAL RELEASE)
19
20 [INTERNAL]
21
22 - Optimize generated accessors (5% to 25% faster depending on
23 combination of read vs write and default vs no-default).
24
25 1.004 2015-10-30 10:33:59-04:00 America/New_York
26
27 - No changes since 1.003
28
29 1.003 2015-10-27 13:01:02-04:00 America/New_York (TRIAL RELEASE)
30
31 [INTERNAL]
32
33 - Refactored accessor generation to allow subclasses of Class::Tiny
34 to implement alternate accessors.
35
36 1.001 2015-01-30 21:13:07-05:00 America/New_York
37
38 [ADDED]
39
40 - Added support for BUILDARGS for Moo(se) compatibility
41
42 [INTERNAL]
43
44 - Implements BUILDALL via method (was inline) for Moo(se) compatibility
45
46 1.000 2014-07-16 09:55:29-04:00 America/New_York
47
48 [*** INCOMPATIBLE CHANGES ***]
49
50 - Attributes for custom accessors *MUST* be declared for them to be
51 set via the constructor. It is no longer sufficient for a method of
52 the same name to exist.
53
54 - Unknown constructor arguments are ignored rather than fatal; they are
55 not included in the object. Special instructions for using BUILD to
56 hide constructor arguments from validation are irrelevant and have
57 been removed.
58
59 - These changes make Class::Tiny-based classes easier to subclass by
60 more advanced object frameworks like Moose or Moo.
61
62 0.015 2014-07-13 23:10:47-04:00 America/New_York
63
64 [CHANGED]
65
66 - lowered minimum perl to 5.006
67
68 0.014 2013-11-28 07:12:14 America/New_York
69
70 [FIXED]
71
72 - put back a 'no warnings "once"' line that caused downstream warnings
73
74 0.013 2013-11-26 12:01:13 America/New_York
75
76 [DOCUMENTED]
77
78 - expanded comparision to Object::Tiny and Class::Accessor
79
80 0.012 2013-11-01 16:36:35 America/New_York
81
82 [DOCUMENTED]
83
84 - added documentation notes about multiple inheritance
85 and attribute defaults under subclassing
86
87 [INTERNAL]
88
89 - added tests for multiple inheritance
90
91 0.011 2013-09-25 11:08:07 America/New_York
92
93 [FIXED]
94
95 - compile test could hang on Windows
96
97 [PREREQS]
98
99 - ExtUtils::MakeMaker configure_requires dropped to 6.17
100
101 0.010 2013-09-18 13:23:15 America/New_York
102
103 [FIXED]
104
105 - suppressed 'used only once' warnings (GH #9)
106
107 0.009 2013-09-17 06:54:47 America/New_York
108
109 [FIXED]
110
111 - "won't stay shared" bug on older perls
112
113 0.008 2013-09-08 09:49:46 America/New_York
114
115 [FIXED]
116
117 - META.yml encoding problems
118
119 [DOCUMENTED]
120
121 - revised CONTRIBUTING
122
123 [INTERNAL]
124
125 - refactored precaching
126
127 0.007 2013-09-07 16:48:56 America/New_York
128
129 [OPTIMIZED]
130
131 - accessors without defaults are now much faster (comparable
132 to Class::Accessor::Fast)
133
134 - constructor and destructors are slightly faster when there
135 are no superclasses except Class::Tiny::Object
136
137 - linearized @ISA and other items are cached for speed when
138 the first object is created
139
140 0.006 2013-09-05 11:56:48 America/New_York
141
142 [ADDED]
143
144 - added introspection method: get_all_attribute_defaults_for($class)
145
146 [DOCUMENTED]
147
148 - Fixed TOBYINK email address for contributors list
149
150 - Revised rationale for why Class::Tiny vs other modules
151
152 0.005 2013-08-28 11:51:37 America/New_York
153
154 [ADDED]
155
156 - Attributes now support lazy defaults passed as a hash reference
157 to the class declaration
158
159 0.004 2013-08-21 16:38:01 America/New_York
160
161 [CHANGED]
162
163 - Base class is now Class::Tiny::Object; Class::Tiny is now only the
164 class builder
165
166 - BUILD and DEMOLISH now have Moo(se) like semantics: BUILD gets
167 original constructor arguments. DEMOLISH is now passed a global
168 destruction flag (requires Devel::GlobalDestruction on Perls before
169 v5.14)
170
171 - Constructor argument validation now happens after BUILD.
172
173 - Constructor argument validation has been softened to a heuristic:
174 argument names must match a method name
175
176 [ADDED]
177
178 - added introspection method: get_all_attributes_for($class)
179
180 [INTERNAL]
181
182 - Refactored import() for easier subclassing of Class::Tiny should
183 anyone be crazy enough to do so
184
185 0.003 2013-08-19 19:43:36 America/New_York
186
187 [FIXED]
188
189 - Multiple invocations of "use Class::Tiny" in a package accumulate
190 attributes instead of overwriting them
191
192 0.002 2013-08-19 17:17:24 America/New_York
193
194 [CHANGED]
195
196 - Slight reduction in memory usage tracking attributes
197
198 0.001 2013-08-16 10:48:33 America/New_York
199
200 - First release
201