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