add is_role method
[gitmo/Role-Tiny.git] / Changes
1   - Fix _concrete_methods_of returning non-CODE entries
2   - fix broken implementation of method conflict resolution
3     (Perlmonks#1041015)
4   - add is_role method for checking if a given package is a role
5
6 1.002005 - 2013-02-01
7   - complain loudly if Class::Method::Modifiers is too old (and skip tests)
8   - don't use $_ as loop variable when calling arbitrary code
9
10 1.002004 - 2012-11-02
11   - remove accidentally-introduced strictures.pm usage
12
13 1.002003 - 2012-10-29
14   - fix method modifier breakage on 5.10.0
15
16 1.002002 - 2012-10-28
17   - skip t/around-does.t when Class::Method::Modifiers is not installed
18     (RT#80310)
19
20 1.002001 - 2012-10-26
21   - t/does-Moo.t moved to 'xt' (RT#80290)
22   - don't die when looking for 'DOES' on perl < 5.10 (RT#80402)
23
24 1.002000 - 2012-10-19
25   - load class in addition to roles when using create_class_from_roles
26   - fix module name in Makefile.PL (RT#78591)
27   - when classes consume roles, override their DOES method (RT#79747)
28   - method modifiers can be used for 'does' and 'DOES'
29
30 1.001005 - 2012-07-18
31   - localize UNIVERSAL::can change to avoid confusing TB2
32   - properly report roles consumed by superclasses
33
34 1.001004 - 2012-07-12
35   - remove strictures.pm from the test supplied by mmcleric so we install again
36   - when applying runtime roles include roles from original class in new class
37     ( fixes ::does_role checks)
38
39 1.001003 - 2012-06-19
40   - correctly apply modifiers with role composition
41   - check for conflicts during role-to-object application (test from mmcleric)
42   - add an explicit return to all exported subs so people don't accidentally
43     rely on the return value
44   - store coderefs as well as their refaddrs to protect against crazy
45
46 1.001002 - 2012-05-05
47   - alter duplication test to not provoke Class::Method::Modifiers loading
48
49 1.001001 - 2012-04-27
50   - remove strictures from one last test file
51
52 1.001000 - 2012-04-27
53   - Documentation improvements, no code changes
54
55 1.000_901 - 2012-04-12
56   - Fix MANIFEST inclusion of Role::Basic composition
57
58 1.000_900 - 2012-04-11
59   - Add composition with tests stolen from Role::Basic
60
61 1.000001 - 2012-04-03
62   - Document that Class::Method::Modifiers must be depended on separately
63   - Update tests so that they skip correctly without C::M::M
64   - Add a SEE ALSO section
65
66 1.000000 - 2012-03-29
67   - Remove redundant code in create_class_with_roles
68   - Minor doc fix to does_role
69   - Split Role::Tiny out into its own dist
70
71 Changes below this line are from when Role::Tiny was still bundled with Moo:
72
73   - Fix a bug where coercions weren't called on lazy default/builder returns
74   - Switch Moo::Utils to using Module::Runtime, and add the 5.8 %INC
75     leakage fix into Role::Tiny's _load_module to provide partial parity
76   - Update incompatibilities with Moose documentation
77   - Remove Sub::Quote's outstanding queue since it doesn't actually slow
78     things down to do it this way and makes debugging easier.
79   - Revert 'local $@' around require calls to avoid triggering Unknown Error
80   - Explicitly require Role::Tiny in Role::Tiny::With (RT#70446)
81   - Fix spurious 'once' warnings under perl -w
82
83 0.009013 - 2011-12-23
84   - fix up Class::XSAccessor version check to be more robust
85   - improved documentation
86   - fix failures on perls < 5.8.3
87   - fix test failures on cygwin
88
89 0.009012 - 2011-11-15
90   - make Method::Generate::Constructor handle $obj->new
91   - fix bug where constants containing a reference weren't handled correctly
92     (ref(\[]) is 'REF' not 'SCALAR', ref(\v1) is 'VSTRING')
93
94 0.009011 - 2011-10-03
95   - add support for DEMOLISH
96   - add support for BUILDARGS
97
98 0.009010 - 2011-07-20
99   - missing new files for Role::Tiny::With
100
101 0.009009 - 2011-07-20
102   - remove the big scary warning because we seem to be mostly working now
103   - perl based getter dies if @_ > 1 (XSAccessor already did)
104   - add Role::Tiny::With for use in classes
105   - automatically generate constructors in subclasses when required so that
106     subclasses with a BUILD method but no attributes get it honoured
107   - add coerce handling
108
109 0.009008 - 2011-06-03
110   - transfer fix to _load_module to Role::Tiny and make a note it's an inline
111   - Bring back 5.8.1 compat
112
113 0.009007 - 2011-02-25
114   - I botched the copyright. re-disting.
115
116 0.009006 - 2011-02-25
117   - handle non-lazy default and builder when init_arg is undef
118   - add copyright and license info for downstream packagers
119   - weak ref checking for Sub::Quote to avoid bugs on refaddr reuse
120   - Switch composed role names to be a valid package name
121
122 0.9.5 Tue Jan 11 2011
123   - Fix clobberage of runtime-installed wrappers by Sub::Defer
124   - Fix nonMoo constructor firing through multiple layers of Moo
125   - Fix bug where nonMoo is mistakenly detected given a Moo superclass
126     with no attributes (and hence no own constructor)
127
128 0.9.4 Mon Dec 13 2010
129   - Automatic detection on non-Moo superclasses
130
131 0.9.3 Sun Dec 5 2010
132   - Fix _load_module to deal with pre-existing subpackages
133
134 0.9.2 Wed Nov 17 2010
135   - Add explanation of Moo's existence
136   - Change @ISA setting mechanism to deal with a big in 5.10.0's get_linear_isa
137   - Change 5.10 checks to >= to not try and load MRO::Compat on 5.10.0
138   - Make 'perl -Moo' DTRT
139
140 0.9.1 Tue Nov 16 2010
141   - Initial release