error prefixes for coerce exceptions too
[gitmo/Moo.git] / Changes
CommitLineData
2d592c35 1 - error prefixes for isa and coerce exceptions
a297a9ab 2 - unmark Moo and Moose as experimental since it's relatively solid now
a668eb67 3 - convert isa and coerce info from external role attributes
c85a5738 4 - clear method cache after metaclass generation to fix autoclean bug
5
428bc092 60.091014 - 2012-07-16
ac34668b 7 - load overload.pm explicitly for overload::StrVal
8
d40030ca 90.091013 - 2012-07-15
17c4135a 10 - useful and detailed errors for coerce in attrib generation
11
cffde738 120.091012 - 2012-07-15
3202e039 13 - useful and detailed errors for default checker in attrib generation
88aaa04a 14 - throw an error when trying to extend a role
3202e039 15
0b0cbc97 160.091011 - 2012-06-27
9836a6ee 17 - re-add #web-simple as development IRC
ee22f92c 18 - don't assume Scalar::Util is imported into the current package
9836a6ee 19
5614d71e 200.091010 - 2012-06-26
ef21bc32 21 - isa checks on builders
9c820461 22 - additional quote_sub docs
0689a5ab 23 - remove multi-populate code to fix exists/defined new() bug
627063f7 24 - document move to #moose and include repository metadata
108f8ddc 25 - no Moo and no Moo::Role
34a69e36 26 - squelch used only once warnings for $Moo::HandleMoose::MOUSE
6e77b8df 27 - MooClass->meta
346177ba 28 - subconstructor handling for Moose classes
29
e9ec1bcf 300.091009 - 2012-06-20
eda5c714 31 - squelch redefine warnings in the coderef installation code
32
e94920cb 330.091008 - 2012-06-19
1e0dc318 34 - bump Role::Tiny dependency to get working modifiers under composition
9f10cfe0 35 - handle "has '+foo'" for attrs from superclass or consumed role
13e41b70 36 - document override -> around translation
f57f1133 37 - use D::GD if installed rather than re-adding it as a requirement
38
aeb50d03 390.091007 - 2012-05-17
d620629a 40 - remove stray reference to Devel::GlobalDestruction
41
bc9a3b53 420.091006 - 2012-05-16
8f7cf9cf 43 - drop a couple of dependencies by minor releases we don't strictly need
44
2a48735a 450.091005 - 2012-05-14
19e0e749 46 - temporary switch to an inlined in_global_destruction to avoid needing
47 to fatpack Sub::Exporter for features we don't use
78a56d87 48 - re-order is documentation to give readonly styles more prominence
6998abed 49 - a weakened value should still be returned on set (fixes lazy + weak_ref)
3d49ee27 50 - add an explicit return to all exported subs so people don't accidentally
51 rely on the return value
52
83f4acfd 530.091004 - 2012-05-07
c100c04c 54 - also inhale from Mouse
c4074652 55 - clarify how isa and coerce interact
9dc13bea 56 - support isa and coerce together for Moose
e9290d4a 57 - guard _accessor_maker_for calls in Moo::Role in case Moo isn't loaded
58 - reset handlemoose state on mutation in case somebody reified the
59 metaclass too early
60
cd8a0641 610.091003 - 2012-05-06
71db76ce 62 - improve attribute option documentation
f9755246 63 - update the incompatibilities section since we're less incompatible now
167455a0 64 - fix coderef naming to avoid confusing autoclean
65
f785a065 660.091002 - 2012-05-05
a3411285 67 - exclude union roles and same-role-as-self from metaclass inflation
4a79464d 68 - inhale Moose roles before checking for composition conflicts
a047096b 69 - enable Moo::sification if only Moo::Role is loaded and not Moo
57d402ef 70 - preserve attribute ordering
02e9ef74 71 - factor out accessor generation code a bit more to enable extension
72
53d6fe2c 730.091001 - 2012-05-02
e0daf7da 74 - bump Role::Tiny dependency to require de-strictures-ed version
078250e3 75 - fix test failure where Class::XSAccessor is not available
76
9e2a88d9 770.091000 - 2012-04-27
239d4711 78 - document MX::AttributeShortcuts 009+ support
1fce5bc9 79 - documentation for the metaclass inflation code
09233107 80 - better error message for broken BUILDARGS
6b90ff03 81 - provide 'no Moo::sification' to forcibly disable metaclass inflation
82 - switch to Devel::GlobalDestruction to correctly disarm the
83 Moo::sification trigger under threads
3b0d7efd 84 - make extends after has work
575ba24c 85 - name subs if Sub::Name is available for better stracktraces
46269e18 86 - undefer all subs before creating a concrete Moose metaclass
2a577e53 87 - fix bug in _load_module where global vars could cause mis-detection
88 of the module already being loaded
89
ad529ae8 900.009_017 - 2012-04-16
7ecb13a6 91 - mangle constructor meta-method on inflation so make_immutable works
76ab3977 92 - fix possible infinite loop caused by subconstructor code
93
69feb0b8 940.009_016 - 2012-04-12
dbae620d 95 - don't accidentally load Moo::HandleMoose during global destruction
4964e20f 96 - better docs for trigger (and initializer's absence)
97
cb338915 980.009_015 - 2012-04-11
2bb6aaa3 99 - Complete support for MooseX::AttributeShortcuts 0.009
a84066c7 100 - Allow Moo classes to compose Moose roles
5f453648 101 - Introduce Moo::HandleMoose, which should allow Moo classes and roles
55afe266 102 to be treated as Moose classes/roles. Supported so far:
103 - Some level of attributes and methods for both classes and roles
104 - Required methods in roles
146fb407 105 - Method modifiers in roles (they're already applied in classes)
37de175a 106 - Type constraints
5f453648 107
b92b93d7 1080.009014 - 2012-03-29
70b4b430 109 - Split Role::Tiny out into its own dist
160c2c2c 110 - Fix a bug where coercions weren't called on lazy default/builder returns
cf62c989 111 - Switch Moo::Utils to using Module::Runtime, and add the 5.8 %INC
112 leakage fix into Role::Tiny's _load_module to provide partial parity
5902c1fc 113 - Update incompatibilities with Moose documentation
55d91f64 114 - Remove Sub::Quote's outstanding queue since it doesn't actually slow
115 things down to do it this way and makes debugging easier.
faa9ce11 116 - Revert 'local $@' around require calls to avoid triggering Unknown Error
8b14bafd 117 - Explicitly require Role::Tiny in Role::Tiny::With (RT#70446)
0fe2ad8c 118 - Fix spurious 'once' warnings under perl -w
8b14bafd 119
d1ea012f 1200.009013 - 2011-12-23
3ecbabc3 121 - fix up Class::XSAccessor version check to be more robust
122 - improved documentation
673eb498 123 - fix failures on perls < 5.8.3
5f578bd3 124 - fix test failures on cygwin
3ecbabc3 125
c391bf14 1260.009012 - 2011-11-15
301616bb 127 - make Method::Generate::Constructor handle $obj->new
2f57f81a 128 - fix bug where constants containing a reference weren't handled correctly
7b8177f8 129 (ref(\[]) is 'REF' not 'SCALAR', ref(\v1) is 'VSTRING')
2f57f81a 130
31a69e28 1310.009011 - 2011-10-03
31eec6e8 132 - add support for DEMOLISH
a17be455 133 - add support for BUILDARGS
134
b4307559 1350.009010 - 2011-07-20
2ab4ee71 136 - missing new files for Role::Tiny::With
137
5f36ef7c 1380.009009 - 2011-07-20
8bbe7634 139 - remove the big scary warning because we seem to be mostly working now
33d35735 140 - perl based getter dies if @_ > 1 (XSAccessor already did)
11f7a042 141 - add Role::Tiny::With for use in classes
e0e12d16 142 - automatically generate constructors in subclasses when required so that
143 subclasses with a BUILD method but no attributes get it honoured
4ad03c7f 144 - add coerce handling
145
d23e6d72 1460.009008 - 2011-06-03
5e03b55c 147 - transfer fix to _load_module to Role::Tiny and make a note it's an inline
2215d4b9 148 - Bring back 5.8.1 compat
149
21290141 1500.009007 - 2011-02-25
a958e36d 151 - I botched the copyright. re-disting.
152
1a58521b 1530.009006 - 2011-02-25
d02da2bc 154 - handle non-lazy default and builder when init_arg is undef
40f3e3aa 155 - add copyright and license info for downstream packagers
8a0ad775 156 - weak ref checking for Sub::Quote to avoid bugs on refaddr reuse
c69190f1 157 - Switch composed role names to be a valid package name
158
86fd58e7 1590.9.5 Tue Jan 11 2011
ba37527b 160 - Fix clobberage of runtime-installed wrappers by Sub::Defer
53875e2c 161 - Fix nonMoo constructor firing through multiple layers of Moo
c4570291 162 - Fix bug where nonMoo is mistakenly detected given a Moo superclass
163 with no attributes (and hence no own constructor)
164
d6276203 1650.9.4 Mon Dec 13 2010
de5c0e53 166 - Automatic detection on non-Moo superclasses
167
9e46e99a 1680.9.3 Sun Dec 5 2010
5ed7d68a 169 - Fix _load_module to deal with pre-existing subpackages
170
2cb47d6e 1710.9.2 Wed Nov 17 2010
5d5bb71d 172 - Add explanation of Moo's existence
786e5ba0 173 - Change @ISA setting mechanism to deal with a big in 5.10.0's get_linear_isa
174 - Change 5.10 checks to >= to not try and load MRO::Compat on 5.10.0
39d272e7 175 - Make 'perl -Moo' DTRT
176
2cb47d6e 1770.9.1 Tue Nov 16 2010
ec6bda11 178 - Initial release