changes-to-this
[gitmo/Class-MOP.git] / Changes
CommitLineData
7c90a1a8 1Revision history for Perl extension Class-MOP.
2
0eff2c16 30.22
4 * Class::MOP::Class
5 - localized $@ in the *_package_variable functions
6 because otherwise, it does ugly things in Moose.
7 - added test case for this
8
1988e85e 90.21 Wed. March 15, 2006
2f6d5412 10 * Class::MOP::Class
11 - fixed issue where metaclasses are reaped from
12 our cache in global destruction, and so are not
13 available in DESTORY calls
14
96ceced8 150.20 Thurs. March 2, 2006
d3cb0d4a 16 - removed the dependency for Clone since
17 we no longer to deep-cloning by default.
a4258ffd 18
19 * Class::MOP::Method
96ceced8 20 - added &package_name, &name and
21 &fully_qualified_name methods, some of
a4258ffd 22 which were formerly private subs in
23 Class::MOP::Class
24
25 * Class::MOP::Method::Wrapped
26 - allows for a method to be wrapped with
27 before, after and around modifiers
28 - added tests and docs for this feature
d3cb0d4a 29
30 * Class::MOP::Class
31 - improved &get_package_variable
96ceced8 32 - &version and &superclasses now use it
a4258ffd 33 - methods are now blessed into Class::MOP::Method
34 whenever possible
a4258ffd 35 - added methods to install CLOS-style method modifiers
36 - &add_before_method_modifier
37 - &add_after_method_modifier
38 - &add_around_method_modifier
39 - added tests and docs for these
96ceced8 40 - added &find_next_method_by_name which finds the
41 equivalent of SUPER::method_name
d3cb0d4a 42
1c020571 430.12 Thurs. Feb 23, 2006
d89c0fad 44 - reduced the dependency on B, no need to always
45 have the latest
46
1c020571 47 * examples/
48 - added docs to the C3 method dispatch order test
49 - fixed missing Algorithm::C3 dependency by making
50 the test skip if it is not installed
51
0dea7280 520.11 Mon Feb. 20, 2006
f3f5bd34 53 * examples/
54 - added example of changing method dispatch order to C3
a27ae83f 55
56 * Class::MOP::Class
19d4b5b8 57 - changed how clone_instance behaves, it now only does a
58 shallow clone (see docs for more details)
a27ae83f 59 - added docs and tests
f3f5bd34 60
3bf7644b 610.10 Tues Feb. 14, 2006
62 ** This release was mostly about writing more tests and
63 cleaning out old and dusty code, the MOP should now
64 be considered "ready to use".
65
22286063 66 - adding more tests to get coverage up a little higher,
67 mostly testing errors and edge cases.
68 - test coverage is now at 99%
aa448b16 69
70 * Class::MOP
71 - no longer optionally exports to UNIVERSAL::meta or
72 creates a custom metaclass generator, use the
73 metaclass pragma instead.
22286063 74
75 * Class::MOP::Class
76 - fixed a number of minor issues which came up in the
77 error/edge-case tests
78
79 * Class::MOP::Attribute
80 - fixed a number of minor issues which came up in the
81 error/edge-case tests
82
0b8eb325 83 * examples/
ea263060 84 - fixing the AttributesWithHistory example, it was broken.
663f8198 85
550d56db 860.06 Thurs Feb. 9, 2006
677eb158 87 * metaclass
550d56db 88 - adding new metaclass pragma to make setting up the
677eb158 89 metaclass a little more straightforward
7b31baf4 90
91 * Class::MOP
92 - clean up bootstrapping to include more complete
93 attribute definitions for Class::MOP::Class and
94 Class::MOP::Attribute (accessors, readers, writers,
95 etc.) ... it is redundant, but is useful meta-info
96 to have around.
677eb158 97
99e5b7e8 98 * Class::MOP::Class
99 - fixing minor meta-circularity issue with &meta, it
100 is now more useful for subclasses
7b31baf4 101 - added &get_attribute_map as an accessor for the
102 hash of attribute meta objects
c9e77dbb 103 - &compute_all_applicable_attributes now just returns
104 the attribute meta-object, rather than the HASH ref
105 since all the same info can be gotten from the
106 attribute meta-object itself
107 - updated docs & tests to reflect
5f3c057a 108 - added &clone_instance method which does a deep clone
109 of the instance structure created by &construct_instance
110 - added docs & tests for this
550d56db 111 - added Clone as a dependency
5f3c057a 112 - added &new_object and &clone_object convience methods to
113 return blessed new or cloned instances
2a7575a6 114 - they handle Class::MOP::Class singletons correctly too
5f3c057a 115 - added docs & tests for this
2a7575a6 116 - cleaned up the &constuct_class_instance so that it behaves
117 more like &construct_instance (and managed the singletons too)
550d56db 118 - added the &check_metaclass_compatibility method to make sure
119 that metaclasses are upward and downward compatible.
120 - added tests and docs for this
5f3c057a 121
99e5b7e8 122 * examples/
123 - adjusting code to use the &Class::MOP::Class::meta
124 fix detailed above
677eb158 125 - adjusting code to use the metaclass pragma
99e5b7e8 126
aa9c883e 1270.05 Sat Feb. 4, 2006
2e41896e 128 * Class::MOP::Class
129 - added the &attribute_metaclass and &method_metaclass
351bd7d4 130 attributes which contain a metaclass name to use for
2e41896e 131 attributes/methods respectively
351bd7d4 132
133 * Class::MOP
134 - bootstrap additional attributes for Class::MOP::Class
2e41896e 135
136 * examples/
137 - adjusted the example code and tests to use the new
138 &attribute_metaclass feature of Class::MOP::Class
aa9c883e 139 - added new example:
140 - LazyClass
2e41896e 141
d7c2cbe3 1420.04 Fri Feb. 3, 2006
d6fbcd05 143 * Class::MOP::Class
144 - some documentation suggestions from #perl6
145
146 * Class::MOP::Attribute
147 - improved error messages
148
149 * examples/
150 - added new examples:
151 - AttributesWithHistory
d7c2cbe3 152 - ClassEncapsultedAttributes
343203ee 153
9ec169fe 1540.03 Fri Feb. 3, 2006
155 - converted to Module::Build instead of EU::MM
156
157 * Class::MOP::Attribute
158 - refactored method generation code
159 - attributes are now associated with class directly
160
f71f4295 161 * examples/
9ec169fe 162 - refactored the InsideOut example to take advantage
163 of the Class::MOP::Attribute refactoring
f71f4295 164 - changed example files to .pod files and hide thier
165 package names from PAUSE (I don't want to own these
166 namespaces really, they are just examples)
9ec169fe 167
a57c7fa2 1680.02 Thurs Feb. 2, 2006
169 - moving examples from t/lib/* to examples/*
170 - adding POD documentation to the examples
171
a2e85e6c 1720.01 Thurs Feb. 2, 2006
7c90a1a8 173 - Initial release