fix overloads using method names in roles
[gitmo/Role-Tiny.git] / Changes
CommitLineData
c6ba1c67 1Revision history for Role-Tiny
2
032cad56 3 - allow superclass to provide conflicting methods (RT#91054)
1c0a09bd 4 - use ->is_role internally to check if a package is a role
e0aebf58 5 - document that Role::Tiny applies strict and fatal warnings
032cad56 6
71af9858 71.003002 - 2013-09-04
d7b616b3 8 - abbreviate generated package names if they are longer than perl can handle
9 (RT#83248)
cc15434f 10 - add explicit dependency on the version of Exporter that added 'import'
11
71af9858 121.003001 - 2013-07-14
7c2577a4 13 - fix test accidentally requiring Class::Method::Modifiers
14
71af9858 151.003000 - 2013-07-14
59fb2393 16 - allow composing roles simultaneously that mutually require each other
17 (RT#82711)
f656cac9 18 - Fix _concrete_methods_of returning non-CODE entries
e737bc40 19 - fix broken implementation of method conflict resolution
20 (Perlmonks#1041015)
fe2e95b1 21 - add is_role method for checking if a given package is a role
cde4d060 22 - drop minimum perl version - code tests just fine on 5.6.1 and 5.6.2
f656cac9 23
71af9858 241.002005 - 2013-02-01
3117a19e 25 - complain loudly if Class::Method::Modifiers is too old (and skip tests)
667f4e70 26 - don't use $_ as loop variable when calling arbitrary code
27
71af9858 281.002004 - 2012-11-02
5897133a 29 - remove accidentally-introduced strictures.pm usage
30
71af9858 311.002003 - 2012-10-29
c49b0f72 32 - fix method modifier breakage on 5.10.0
33
71af9858 341.002002 - 2012-10-28
2de4b197 35 - skip t/around-does.t when Class::Method::Modifiers is not installed
36 (RT#80310)
37
71af9858 381.002001 - 2012-10-26
77fce1af 39 - t/does-Moo.t moved to 'xt' (RT#80290)
211178ea 40 - don't die when looking for 'DOES' on perl < 5.10 (RT#80402)
77fce1af 41
71af9858 421.002000 - 2012-10-19
f52b9821 43 - load class in addition to roles when using create_class_from_roles
5daa18da 44 - fix module name in Makefile.PL (RT#78591)
fa89d582 45 - when classes consume roles, override their DOES method (RT#79747)
46 - method modifiers can be used for 'does' and 'DOES'
5daa18da 47
71af9858 481.001005 - 2012-07-18
0926898f 49 - localize UNIVERSAL::can change to avoid confusing TB2
91037640 50 - properly report roles consumed by superclasses
0926898f 51
71af9858 521.001004 - 2012-07-12
e71272cf 53 - remove strictures.pm from the test supplied by mmcleric so we install again
0f50fbc6 54 - when applying runtime roles include roles from original class in new class
55 ( fixes ::does_role checks)
56
71af9858 571.001003 - 2012-06-19
06b06c8e 58 - correctly apply modifiers with role composition
471419f6 59 - check for conflicts during role-to-object application (test from mmcleric)
ef2da711 60 - add an explicit return to all exported subs so people don't accidentally
61 rely on the return value
12f8eb0b 62 - store coderefs as well as their refaddrs to protect against crazy
63
71af9858 641.001002 - 2012-05-05
c36f4053 65 - alter duplication test to not provoke Class::Method::Modifiers loading
66
71af9858 671.001001 - 2012-04-27
6471a8ae 68 - remove strictures from one last test file
69
71af9858 701.001000 - 2012-04-27
27b52f93 71 - Documentation improvements, no code changes
72
71af9858 731.000_901 - 2012-04-12
c8b9ac72 74 - Fix MANIFEST inclusion of Role::Basic composition
75
71af9858 761.000_900 - 2012-04-11
a2da6fcc 77 - Add composition with tests stolen from Role::Basic
78
71af9858 791.000001 - 2012-04-03
adcb6c3d 80 - Document that Class::Method::Modifiers must be depended on separately
96bf3e3b 81 - Update tests so that they skip correctly without C::M::M
adcb6c3d 82 - Add a SEE ALSO section
83
71af9858 841.000000 - 2012-03-29
29dde8ba 85 - Remove redundant code in create_class_with_roles
e4aa82b1 86 - Minor doc fix to does_role
790c0f17 87 - Split Role::Tiny out into its own dist
88
5ef4ffe7 89Changes below this line are from when Role::Tiny was still bundled with Moo:
90
160c2c2c 91 - Fix a bug where coercions weren't called on lazy default/builder returns
cf62c989 92 - Switch Moo::Utils to using Module::Runtime, and add the 5.8 %INC
93 leakage fix into Role::Tiny's _load_module to provide partial parity
5902c1fc 94 - Update incompatibilities with Moose documentation
55d91f64 95 - Remove Sub::Quote's outstanding queue since it doesn't actually slow
96 things down to do it this way and makes debugging easier.
faa9ce11 97 - Revert 'local $@' around require calls to avoid triggering Unknown Error
8b14bafd 98 - Explicitly require Role::Tiny in Role::Tiny::With (RT#70446)
0fe2ad8c 99 - Fix spurious 'once' warnings under perl -w
8b14bafd 100
71af9858 1010.009013 - 2011-12-23
3ecbabc3 102 - fix up Class::XSAccessor version check to be more robust
103 - improved documentation
673eb498 104 - fix failures on perls < 5.8.3
5f578bd3 105 - fix test failures on cygwin
3ecbabc3 106
71af9858 1070.009012 - 2011-11-15
301616bb 108 - make Method::Generate::Constructor handle $obj->new
2f57f81a 109 - fix bug where constants containing a reference weren't handled correctly
7b8177f8 110 (ref(\[]) is 'REF' not 'SCALAR', ref(\v1) is 'VSTRING')
2f57f81a 111
71af9858 1120.009011 - 2011-10-03
31eec6e8 113 - add support for DEMOLISH
a17be455 114 - add support for BUILDARGS
115
71af9858 1160.009010 - 2011-07-20
2ab4ee71 117 - missing new files for Role::Tiny::With
118
71af9858 1190.009009 - 2011-07-20
8bbe7634 120 - remove the big scary warning because we seem to be mostly working now
33d35735 121 - perl based getter dies if @_ > 1 (XSAccessor already did)
11f7a042 122 - add Role::Tiny::With for use in classes
e0e12d16 123 - automatically generate constructors in subclasses when required so that
124 subclasses with a BUILD method but no attributes get it honoured
4ad03c7f 125 - add coerce handling
126
71af9858 1270.009008 - 2011-06-03
5e03b55c 128 - transfer fix to _load_module to Role::Tiny and make a note it's an inline
2215d4b9 129 - Bring back 5.8.1 compat
130
71af9858 1310.009007 - 2011-02-25
a958e36d 132 - I botched the copyright. re-disting.
133
71af9858 1340.009006 - 2011-02-25
d02da2bc 135 - handle non-lazy default and builder when init_arg is undef
40f3e3aa 136 - add copyright and license info for downstream packagers
8a0ad775 137 - weak ref checking for Sub::Quote to avoid bugs on refaddr reuse
c69190f1 138 - Switch composed role names to be a valid package name
139
86fd58e7 1400.9.5 Tue Jan 11 2011
ba37527b 141 - Fix clobberage of runtime-installed wrappers by Sub::Defer
53875e2c 142 - Fix nonMoo constructor firing through multiple layers of Moo
c4570291 143 - Fix bug where nonMoo is mistakenly detected given a Moo superclass
144 with no attributes (and hence no own constructor)
145
d6276203 1460.9.4 Mon Dec 13 2010
de5c0e53 147 - Automatic detection on non-Moo superclasses
148
9e46e99a 1490.9.3 Sun Dec 5 2010
5ed7d68a 150 - Fix _load_module to deal with pre-existing subpackages
151
2cb47d6e 1520.9.2 Wed Nov 17 2010
5d5bb71d 153 - Add explanation of Moo's existence
786e5ba0 154 - Change @ISA setting mechanism to deal with a big in 5.10.0's get_linear_isa
155 - Change 5.10 checks to >= to not try and load MRO::Compat on 5.10.0
39d272e7 156 - Make 'perl -Moo' DTRT
157
2cb47d6e 1580.9.1 Tue Nov 16 2010
ec6bda11 159 - Initial release