a98a739ea9f583643d1accb2247d252a927dab7c
[gitmo/Moo.git] / Changes
1   - Correctly handle methods dragged along by role composition
2   - Die if Moo and Moo::Role are imported into the same package
3
4 1.000006 - 2012-11-16
5   - Don't use $_ as loop variable when calling arbitrary code (RT#81072)
6   - Bump Role::Tiny prereq to fix method modifier breakage on 5.10.0
7
8 1.000005 - 2012-10-23
9   - fix POD typo (RT#80060)
10   - include init_arg name in constructor errors (RT#79596)
11   - bump Class::Method::Modifiers dependency to avoid warnings on 5.8
12
13 1.000004 - 2012-10-03
14   - allow 'has \@attributes' like Moose does
15
16 1.000003 - 2012-08-09
17   - make setter for weak_ref attributes return the value
18
19 1.000002 - 2012-08-04
20   - remove Devel::GlobalDestruction fallback inlining because we can now
21     depend on 0.08 which uses Sub::Exporter::Progressive
22   - honour BUILDARGS when calling $meta->new_object on behalf of Moose
23   - throw an error on invalid builder (RT#78479)
24   - fix stupid typo in new Sub::Quote section
25
26 1.000001 - 2012-07-21
27   - documentation tweaks and cleanup
28   - ignore required when default or builder is present
29   - document Moo versus Any::Moose in brief with article link
30   - remove quote_sub from SYNOPSIS and has docs, expand Sub::Quote section
31   - localize @_ when inlining quote_sub'ed isa checks (fixes lazy+isa+default)
32   - ensure constructor gets regenerated if forced early by metaclass inflation
33
34 1.000000 - 2012-07-18
35   - clean up doc language and expand on Moo and Moose
36   - error prefixes for isa and coerce exceptions
37   - unmark Moo and Moose as experimental since it's relatively solid now
38   - convert isa and coerce info from external role attributes 
39   - clear method cache after metaclass generation to fix autoclean bug
40
41 0.091014 - 2012-07-16
42   - load overload.pm explicitly for overload::StrVal
43
44 0.091013 - 2012-07-15
45   - useful and detailed errors for coerce in attrib generation
46
47 0.091012 - 2012-07-15
48   - useful and detailed errors for default checker in attrib generation
49   - throw an error when trying to extend a role
50
51 0.091011 - 2012-06-27
52   - re-add #web-simple as development IRC
53   - don't assume Scalar::Util is imported into the current package
54
55 0.091010 - 2012-06-26
56   - isa checks on builders
57   - additional quote_sub docs
58   - remove multi-populate code to fix exists/defined new() bug
59   - document move to #moose and include repository metadata
60   - no Moo and no Moo::Role
61   - squelch used only once warnings for $Moo::HandleMoose::MOUSE
62   - MooClass->meta
63   - subconstructor handling for Moose classes
64
65 0.091009 - 2012-06-20
66   - squelch redefine warnings in the coderef installation code
67
68 0.091008 - 2012-06-19
69   - bump Role::Tiny dependency to get working modifiers under composition
70   - handle "has '+foo'" for attrs from superclass or consumed role
71   - document override -> around translation
72   - use D::GD if installed rather than re-adding it as a requirement
73
74 0.091007 - 2012-05-17
75   - remove stray reference to Devel::GlobalDestruction
76
77 0.091006 - 2012-05-16
78   - drop a couple of dependencies by minor releases we don't strictly need
79
80 0.091005 - 2012-05-14
81   - temporary switch to an inlined in_global_destruction to avoid needing
82     to fatpack Sub::Exporter for features we don't use
83   - re-order is documentation to give readonly styles more prominence
84   - a weakened value should still be returned on set (fixes lazy + weak_ref)
85   - add an explicit return to all exported subs so people don't accidentally
86     rely on the return value
87
88 0.091004 - 2012-05-07
89   - also inhale from Mouse
90   - clarify how isa and coerce interact
91   - support isa and coerce together for Moose
92   - guard _accessor_maker_for calls in Moo::Role in case Moo isn't loaded
93   - reset handlemoose state on mutation in case somebody reified the
94     metaclass too early
95
96 0.091003 - 2012-05-06
97   - improve attribute option documentation
98   - update the incompatibilities section since we're less incompatible now
99   - fix coderef naming to avoid confusing autoclean
100
101 0.091002 - 2012-05-05
102   - exclude union roles and same-role-as-self from metaclass inflation
103   - inhale Moose roles before checking for composition conflicts
104   - enable Moo::sification if only Moo::Role is loaded and not Moo
105   - preserve attribute ordering
106   - factor out accessor generation code a bit more to enable extension
107
108 0.091001 - 2012-05-02
109   - bump Role::Tiny dependency to require de-strictures-ed version
110   - fix test failure where Class::XSAccessor is not available
111
112 0.091000 - 2012-04-27
113   - document MX::AttributeShortcuts 009+ support
114   - documentation for the metaclass inflation code
115   - better error message for broken BUILDARGS
116   - provide 'no Moo::sification' to forcibly disable metaclass inflation
117   - switch to Devel::GlobalDestruction to correctly disarm the
118     Moo::sification trigger under threads
119   - make extends after has work
120   - name subs if Sub::Name is available for better stracktraces
121   - undefer all subs before creating a concrete Moose metaclass
122   - fix bug in _load_module where global vars could cause mis-detection
123     of the module already being loaded
124
125 0.009_017 - 2012-04-16
126   - mangle constructor meta-method on inflation so make_immutable works
127   - fix possible infinite loop caused by subconstructor code
128
129 0.009_016 - 2012-04-12
130   - don't accidentally load Moo::HandleMoose during global destruction
131   - better docs for trigger (and initializer's absence)
132
133 0.009_015 - 2012-04-11
134   - Complete support for MooseX::AttributeShortcuts 0.009
135   - Allow Moo classes to compose Moose roles
136   - Introduce Moo::HandleMoose, which should allow Moo classes and roles
137     to be treated as Moose classes/roles. Supported so far:
138     - Some level of attributes and methods for both classes and roles
139     - Required methods in roles
140     - Method modifiers in roles (they're already applied in classes)
141     - Type constraints
142
143 0.009014 - 2012-03-29
144   - Split Role::Tiny out into its own dist
145   - Fix a bug where coercions weren't called on lazy default/builder returns
146   - Switch Moo::Utils to using Module::Runtime, and add the 5.8 %INC
147     leakage fix into Role::Tiny's _load_module to provide partial parity
148   - Update incompatibilities with Moose documentation
149   - Remove Sub::Quote's outstanding queue since it doesn't actually slow
150     things down to do it this way and makes debugging easier.
151   - Revert 'local $@' around require calls to avoid triggering Unknown Error
152   - Explicitly require Role::Tiny in Role::Tiny::With (RT#70446)
153   - Fix spurious 'once' warnings under perl -w
154
155 0.009013 - 2011-12-23
156   - fix up Class::XSAccessor version check to be more robust
157   - improved documentation
158   - fix failures on perls < 5.8.3
159   - fix test failures on cygwin
160
161 0.009012 - 2011-11-15
162   - make Method::Generate::Constructor handle $obj->new
163   - fix bug where constants containing a reference weren't handled correctly
164     (ref(\[]) is 'REF' not 'SCALAR', ref(\v1) is 'VSTRING')
165
166 0.009011 - 2011-10-03
167   - add support for DEMOLISH
168   - add support for BUILDARGS
169
170 0.009010 - 2011-07-20
171   - missing new files for Role::Tiny::With
172
173 0.009009 - 2011-07-20
174   - remove the big scary warning because we seem to be mostly working now
175   - perl based getter dies if @_ > 1 (XSAccessor already did)
176   - add Role::Tiny::With for use in classes
177   - automatically generate constructors in subclasses when required so that
178     subclasses with a BUILD method but no attributes get it honoured
179   - add coerce handling
180
181 0.009008 - 2011-06-03
182   - transfer fix to _load_module to Role::Tiny and make a note it's an inline
183   - Bring back 5.8.1 compat
184
185 0.009007 - 2011-02-25
186   - I botched the copyright. re-disting.
187
188 0.009006 - 2011-02-25
189   - handle non-lazy default and builder when init_arg is undef
190   - add copyright and license info for downstream packagers
191   - weak ref checking for Sub::Quote to avoid bugs on refaddr reuse
192   - Switch composed role names to be a valid package name
193
194 0.9.5 Tue Jan 11 2011
195   - Fix clobberage of runtime-installed wrappers by Sub::Defer
196   - Fix nonMoo constructor firing through multiple layers of Moo
197   - Fix bug where nonMoo is mistakenly detected given a Moo superclass
198     with no attributes (and hence no own constructor)
199
200 0.9.4 Mon Dec 13 2010
201   - Automatic detection on non-Moo superclasses
202
203 0.9.3 Sun Dec 5 2010
204   - Fix _load_module to deal with pre-existing subpackages
205
206 0.9.2 Wed Nov 17 2010
207   - Add explanation of Moo's existence
208   - Change @ISA setting mechanism to deal with a big in 5.10.0's get_linear_isa
209   - Change 5.10 checks to >= to not try and load MRO::Compat on 5.10.0
210   - Make 'perl -Moo' DTRT
211
212 0.9.1 Tue Nov 16 2010
213   - Initial release