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