0_30
[gitmo/Class-MOP.git] / Changes
CommitLineData
7c90a1a8 1Revision history for Perl extension Class-MOP.
2
855776e1 30.30 Sat. May 6, 2006
2bab2be6 4 * Class::MOP::Instance
1becdfcc 5 - added new instance protocol
2bab2be6 6 - added tests for this
7 - changed all relevant modules and examples
8 - Class::MOP::Class
9 - Class::MOP::Attribute
10 - examples/*
11
1becdfcc 12 * metaclass
13 - you no longer need to specify the metaclass
14 itself, if it is not there, Class::MOP::Class
15 is just assumed
16 - updated tests for this
17
18 * examples/
19 - added ArrayBasedStorage example to show
20 instance storage using ARRAY refs instead of
21 HASH refs.
22 - added tests for this
23 - InsideOutClass is totally revised using the
24 new instance protocol
25 - added more tests for this
26
93b4e576 270.26 Mon. April 24, 2006
e7f732e4 28 * Class::MOP::Class
29 - added find_attribute_by_name method
30 - added tests and docs for this
56a0b530 31 - some small optimizations
32
33 * Class::MOP::Attribute
34 - some small optimizations
e7f732e4 35
46666f33 360.25 Thurs. April 20, 2006
587aca23 37 * Class::MOP::Class
38 - added create_anon_class for creating anonymous classes
39 - added tests for this
40 - added get_all_metaclasses, get_all_metaclass_names
41 and get_all_metaclass_instances method to allow
42 access to all the cached metaclass objects.
bd4e03f9 43 - attribute slot initialization is now the responsibility
44 of the attribute itself, and construct_instance now
45 delegates appropriately
46
47 * Class::MOP::Attribute
48 - attribute slot initialization is now the responsibility
49 of the attribute itself, so we added a method for it
50 called initialize_instance_slot
fed4cee7 51
52 * examples/
53 - adjusted all the examples to use the new attribute
54 initialize_instance_slot method
587aca23 55
1daaa2b2 560.24 Tues. April 11, 2006
8c936afc 57 * Class::MOP::Class
58 - cleaned up how the before/after/around method
59 modifiers get named with Sub::Name
60
b9dfbf78 610.23 Thurs. March 30, 2006
a977cf65 62 * Class::MOP::Class
63 - fixed the way attribute defaults are handled
64 during instance construction (bug found by chansen)
b9dfbf78 65
66 * Class::MOP::Attribute
67 - read-only accessors ('reader') will now die if
68 passed more than one argument (attempting to write
69 to them basically)
70 - added tests for this
71 - adjusted all /example files to comply
a977cf65 72
f9eba090 730.22 Mon. March 20, 2006
0eff2c16 74 * Class::MOP::Class
75 - localized $@ in the *_package_variable functions
76 because otherwise, it does ugly things in Moose.
77 - added test case for this
78
1988e85e 790.21 Wed. March 15, 2006
2f6d5412 80 * Class::MOP::Class
81 - fixed issue where metaclasses are reaped from
82 our cache in global destruction, and so are not
83 available in DESTORY calls
84
96ceced8 850.20 Thurs. March 2, 2006
d3cb0d4a 86 - removed the dependency for Clone since
87 we no longer to deep-cloning by default.
a4258ffd 88
89 * Class::MOP::Method
96ceced8 90 - added &package_name, &name and
91 &fully_qualified_name methods, some of
a4258ffd 92 which were formerly private subs in
93 Class::MOP::Class
94
95 * Class::MOP::Method::Wrapped
96 - allows for a method to be wrapped with
97 before, after and around modifiers
98 - added tests and docs for this feature
d3cb0d4a 99
100 * Class::MOP::Class
101 - improved &get_package_variable
96ceced8 102 - &version and &superclasses now use it
a4258ffd 103 - methods are now blessed into Class::MOP::Method
104 whenever possible
a4258ffd 105 - added methods to install CLOS-style method modifiers
106 - &add_before_method_modifier
107 - &add_after_method_modifier
108 - &add_around_method_modifier
109 - added tests and docs for these
96ceced8 110 - added &find_next_method_by_name which finds the
111 equivalent of SUPER::method_name
d3cb0d4a 112
1c020571 1130.12 Thurs. Feb 23, 2006
d89c0fad 114 - reduced the dependency on B, no need to always
115 have the latest
116
1c020571 117 * examples/
118 - added docs to the C3 method dispatch order test
119 - fixed missing Algorithm::C3 dependency by making
120 the test skip if it is not installed
121
0dea7280 1220.11 Mon Feb. 20, 2006
f3f5bd34 123 * examples/
124 - added example of changing method dispatch order to C3
a27ae83f 125
126 * Class::MOP::Class
19d4b5b8 127 - changed how clone_instance behaves, it now only does a
128 shallow clone (see docs for more details)
a27ae83f 129 - added docs and tests
f3f5bd34 130
3bf7644b 1310.10 Tues Feb. 14, 2006
132 ** This release was mostly about writing more tests and
133 cleaning out old and dusty code, the MOP should now
134 be considered "ready to use".
135
22286063 136 - adding more tests to get coverage up a little higher,
137 mostly testing errors and edge cases.
138 - test coverage is now at 99%
aa448b16 139
140 * Class::MOP
141 - no longer optionally exports to UNIVERSAL::meta or
142 creates a custom metaclass generator, use the
143 metaclass pragma instead.
22286063 144
145 * Class::MOP::Class
146 - fixed a number of minor issues which came up in the
147 error/edge-case tests
148
149 * Class::MOP::Attribute
150 - fixed a number of minor issues which came up in the
151 error/edge-case tests
152
0b8eb325 153 * examples/
ea263060 154 - fixing the AttributesWithHistory example, it was broken.
663f8198 155
550d56db 1560.06 Thurs Feb. 9, 2006
677eb158 157 * metaclass
550d56db 158 - adding new metaclass pragma to make setting up the
677eb158 159 metaclass a little more straightforward
7b31baf4 160
161 * Class::MOP
162 - clean up bootstrapping to include more complete
163 attribute definitions for Class::MOP::Class and
164 Class::MOP::Attribute (accessors, readers, writers,
165 etc.) ... it is redundant, but is useful meta-info
166 to have around.
677eb158 167
99e5b7e8 168 * Class::MOP::Class
169 - fixing minor meta-circularity issue with &meta, it
170 is now more useful for subclasses
7b31baf4 171 - added &get_attribute_map as an accessor for the
172 hash of attribute meta objects
c9e77dbb 173 - &compute_all_applicable_attributes now just returns
174 the attribute meta-object, rather than the HASH ref
175 since all the same info can be gotten from the
176 attribute meta-object itself
177 - updated docs & tests to reflect
5f3c057a 178 - added &clone_instance method which does a deep clone
179 of the instance structure created by &construct_instance
180 - added docs & tests for this
550d56db 181 - added Clone as a dependency
5f3c057a 182 - added &new_object and &clone_object convience methods to
183 return blessed new or cloned instances
2a7575a6 184 - they handle Class::MOP::Class singletons correctly too
5f3c057a 185 - added docs & tests for this
2a7575a6 186 - cleaned up the &constuct_class_instance so that it behaves
187 more like &construct_instance (and managed the singletons too)
550d56db 188 - added the &check_metaclass_compatibility method to make sure
189 that metaclasses are upward and downward compatible.
190 - added tests and docs for this
5f3c057a 191
99e5b7e8 192 * examples/
193 - adjusting code to use the &Class::MOP::Class::meta
194 fix detailed above
677eb158 195 - adjusting code to use the metaclass pragma
99e5b7e8 196
aa9c883e 1970.05 Sat Feb. 4, 2006
2e41896e 198 * Class::MOP::Class
199 - added the &attribute_metaclass and &method_metaclass
351bd7d4 200 attributes which contain a metaclass name to use for
2e41896e 201 attributes/methods respectively
351bd7d4 202
203 * Class::MOP
204 - bootstrap additional attributes for Class::MOP::Class
2e41896e 205
206 * examples/
207 - adjusted the example code and tests to use the new
208 &attribute_metaclass feature of Class::MOP::Class
aa9c883e 209 - added new example:
210 - LazyClass
2e41896e 211
d7c2cbe3 2120.04 Fri Feb. 3, 2006
d6fbcd05 213 * Class::MOP::Class
214 - some documentation suggestions from #perl6
215
216 * Class::MOP::Attribute
217 - improved error messages
218
219 * examples/
220 - added new examples:
221 - AttributesWithHistory
d7c2cbe3 222 - ClassEncapsultedAttributes
343203ee 223
9ec169fe 2240.03 Fri Feb. 3, 2006
225 - converted to Module::Build instead of EU::MM
226
227 * Class::MOP::Attribute
228 - refactored method generation code
229 - attributes are now associated with class directly
230
f71f4295 231 * examples/
9ec169fe 232 - refactored the InsideOut example to take advantage
233 of the Class::MOP::Attribute refactoring
f71f4295 234 - changed example files to .pod files and hide thier
235 package names from PAUSE (I don't want to own these
236 namespaces really, they are just examples)
9ec169fe 237
a57c7fa2 2380.02 Thurs Feb. 2, 2006
239 - moving examples from t/lib/* to examples/*
240 - adding POD documentation to the examples
241
a2e85e6c 2420.01 Thurs Feb. 2, 2006
7c90a1a8 243 - Initial release