3 - The latest Moose release (2.08) broke this module. This release fixes
4 MooseX::ClassAttribute to work with both new and old Mooses. Reported by
5 Jonathan Stowe. RT #84263.
10 - The default() method for class attributes always returned a value, even if
11 the default was a subroutine ref, which isn't how the method works for
12 regular attributes. This broke inlining with Moose HEAD.
17 - Class attributes now have a definition context set, which means that errors
18 thrown from generated methods associated with these attributes say something
19 like "X at accessor MyClass::ClassAttribute (defined at path/to/file line
20 42)" rather than "generated method (unknown origin)".
25 - This release provides forward compatibility with Moose 1.99+. It will still
26 work with Moose 1.23 as well. Partially based on work originally done by
32 - Fixed a bug where applying a role with class attributes didn't record the
33 role as actually being applied in the meta class (or role) to which it was
34 applied. Reported by Karen Etheridge. RT #59610.
36 - Applying multiple roles to a class lost all class attributes from those
37 roles. Fixed by Andrew Rodland. RT #59572.
42 - Explicitly require namespace::clean 0.20 to avoid some bad interactions
43 between namespace::clean and Package::Stash.
48 - Switch from Test::Exception to Test::Fatal.
53 - A test file tried to load MooseX::Role::Parameterized, which was not listed
54 as a dep. Reported by Andreas Koenig. RT #61957.
59 - Removed references to MooseX::ClassAttribute::Meta::Method::Accessor, which
60 was removed in 0.18. This caused lots of test failures if you hadn't
61 installed a previous version of this distribution.
66 - Changes to work with (and require) Moose 1.15.
71 - Changes to work with (and require) Moose 1.09.
76 - More warnings fixes for next Moose release.
78 - Fix bad repo metadata.
83 - Fix bad uri for bugtracker in metadata
88 - Use modern Moose APIs, to avoid warnings with the next Moose release.
93 - Fixed tests that failed if you had an older version of
94 MooseX::AttributeHelpers installed.
99 - Fixed so that applying a role with class attributes to an instance works
105 - Roles can now have class attributes, which will be fully initialized when
106 the role is applied to a class.
108 - Many modules have been renamed from MooseX::ClassAttribute::Role::Meta::* to
109 MooseX::ClassAttribute::Trait::*.
111 - Deprecated the get_class_attribute_map method.
113 - Added a version number to every .pm file.
118 - Fixed to make triggers work with Moose 0.89+, and made triggers pass the old
119 attribute value when appropriate just like non-class attributes.
124 - An attribute with a builder that wasn't also lazy caused an
125 exception when the attribute's accessor was called. Reported by
131 - Make this module work with Moose 0.73_01+.
133 - Deprecated compute_all_applicable_class_attributes. Use
134 get_all_class_attributes instead.
139 - Fixed a bug where class attributes did not honor the
140 Class::MOP::Attribute properly, so things that used it directly
141 failed. This bug could be tickled by using certain
142 MooseX::AttributeHelpers attribute metaclasses with a class
143 attribute. Fixed by Shawn Moore.
148 - No code changes, just added a missing prereq for
149 MooseX::AttributeHelpers.
154 * Totally rewritten as proper meta classes, so it supports
155 introspection and all that good stuff. This breaks some old code
156 because there is no longer a "containing class" for class
162 - An internals change to make this class work with Moose 0.34.
167 - Split main functionality out of sugar sub class_has(), into
168 process_class_attribute(). This makes it easier to create attributes
169 on behalf of other classes.
174 - Inherit from Exporter, rather than trying to import its
175 import(). Unfortunately, older Exporters as shipped with Perl 5.6.x
176 only allow subclassing.
181 - First version, released on an unsuspecting world.