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