5 - The latest Moose release (2.08) broke this module. This release fixes
6 MooseX::ClassAttribute to work with both new and old Mooses. Reported by
7 Jonathan Stowe. RT #84263.
12 - The default() method for class attributes always returned a value, even if
13 the default was a subroutine ref, which isn't how the method works for
14 regular attributes. This broke inlining with Moose HEAD.
19 - Class attributes now have a definition context set, which means that errors
20 thrown from generated methods associated with these attributes say something
21 like "X at accessor MyClass::ClassAttribute (defined at path/to/file line
22 42)" rather than "generated method (unknown origin)".
27 - This release provides forward compatibility with Moose 1.99+. It will still
28 work with Moose 1.23 as well. Partially based on work originally done by
34 - Fixed a bug where applying a role with class attributes didn't record the
35 role as actually being applied in the meta class (or role) to which it was
36 applied. Reported by Karen Etheridge. RT #59610.
38 - Applying multiple roles to a class lost all class attributes from those
39 roles. Fixed by Andrew Rodland. RT #59572.
44 - Explicitly require namespace::clean 0.20 to avoid some bad interactions
45 between namespace::clean and Package::Stash.
50 - Switch from Test::Exception to Test::Fatal.
55 - A test file tried to load MooseX::Role::Parameterized, which was not listed
56 as a dep. Reported by Andreas Koenig. RT #61957.
61 - Removed references to MooseX::ClassAttribute::Meta::Method::Accessor, which
62 was removed in 0.18. This caused lots of test failures if you hadn't
63 installed a previous version of this distribution.
68 - Changes to work with (and require) Moose 1.15.
73 - Changes to work with (and require) Moose 1.09.
78 - More warnings fixes for next Moose release.
80 - Fix bad repo metadata.
85 - Fix bad uri for bugtracker in metadata
90 - Use modern Moose APIs, to avoid warnings with the next Moose release.
95 - Fixed tests that failed if you had an older version of
96 MooseX::AttributeHelpers installed.
101 - Fixed so that applying a role with class attributes to an instance works
107 - Roles can now have class attributes, which will be fully initialized when
108 the role is applied to a class.
110 - Many modules have been renamed from MooseX::ClassAttribute::Role::Meta::* to
111 MooseX::ClassAttribute::Trait::*.
113 - Deprecated the get_class_attribute_map method.
115 - Added a version number to every .pm file.
120 - Fixed to make triggers work with Moose 0.89+, and made triggers pass the old
121 attribute value when appropriate just like non-class attributes.
126 - An attribute with a builder that wasn't also lazy caused an
127 exception when the attribute's accessor was called. Reported by
133 - Make this module work with Moose 0.73_01+.
135 - Deprecated compute_all_applicable_class_attributes. Use
136 get_all_class_attributes instead.
141 - Fixed a bug where class attributes did not honor the
142 Class::MOP::Attribute properly, so things that used it directly
143 failed. This bug could be tickled by using certain
144 MooseX::AttributeHelpers attribute metaclasses with a class
145 attribute. Fixed by Shawn Moore.
150 - No code changes, just added a missing prereq for
151 MooseX::AttributeHelpers.
156 * Totally rewritten as proper meta classes, so it supports
157 introspection and all that good stuff. This breaks some old code
158 because there is no longer a "containing class" for class
164 - An internals change to make this class work with Moose 0.34.
169 - Split main functionality out of sugar sub class_has(), into
170 process_class_attribute(). This makes it easier to create attributes
171 on behalf of other classes.
176 - Inherit from Exporter, rather than trying to import its
177 import(). Unfortunately, older Exporters as shipped with Perl 5.6.x
178 only allow subclassing.
183 - First version, released on an unsuspecting world.