Finish renaming Mouse::TypeRegistry to Mouse::Util::TypeConstraints
[gitmo/Mouse.git] / Changes
1 Revision history for Mouse
2
3 0.15
4     * Don't export Mouse's sugar into the package 'main'
5
6     * Rename Mouse::TypeRegistry to Mouse::Util::TypeConstraints
7
8 0.14 Sat Dec 20 16:53:05 2008
9     * POD fix
10
11     * Document what changes tokuhirom and Yappo made (see below)
12
13 0.13 Tue Dec 16 02:01:40 2008
14     * Pass in the instance to the default sub in the constructor (reported with
15       failing tests by rjbs)
16
17     * Tons of new features implemented by tokuhirom++ and Yappo++:
18       - method API in classes and roles!
19       - "requires" and "with" for Mouse::Role
20       - Type coercion
21       - Inject a constructor after make_immutable. Huge speedup!
22       - class_type and role_type
23       - Inject a destructor for more speedup
24       - MouseX::Types (may move into its own dist)
25       - create_anon_class
26       - union type constraints (eg 'Str | Undef')
27       - subtypes and sugar for them
28
29 0.12 Thu Dec 4 19:23:10 2008
30     * Provide Test::Exception function unless it's version 0.27 - RT #41254
31
32     * Mouse::Util now provides dies_ok
33
34     * Make class-like types behave more like Moose; subclasses OK! (rjbs)
35
36     * Steal more tests from Moose
37
38 0.11 Sun Nov 2 11:35:04 2008
39     * Throw an error if accessor/predicate/clearer/handles code eval fails
40
41     * Optimizations for generated methods, they should now be on par with Moose
42
43 0.10 Tue Oct 28 19:23:07 2008
44     * Require a recent Moose (which has the bugfix) for
45       t/500_moose_extends_mouse.t
46
47     * ouse.pm for perl -Mouse one-liners (thanks rjbs)
48
49     * Doc for init_arg => undef (thanks rjbs)
50
51 0.09 Sun Sep 28 22:37:13 2008
52     * Initial version of Mouse::Tiny, a one-file concatenation of the Mouse
53       classes for easy embedding
54
55     * Fixes caused by test failures (Carp not being loaded, Moose being
56       required in a test)
57
58 0.08 Sun Sep 28 12:46:07 2008
59     * ALL dependencies have been removed!
60
61     * Fixes for Class::Method::Modifiers being required for testing
62
63 0.07 Sun Sep 28 00:19:07 2008
64     * All runtime dependencies have been removed! The only change in
65       functionality (hopefully) is that the Sub::Exporter features can no
66       longer be used (we've backed down to regular Exporter). Scalar::Util is
67       required for "weaken" support, and Class::Method::Modifiers is required
68       for method modifier support, but only if you use these features!
69       Having Scalar::Util and MRO::Compat installed will provide only
70       performance increases.
71
72     * Tests and fixes for extending a Mouse class with Moose (nothingmuch)
73
74     * Support for adding method modifiers to a role, and composing them into
75       classes (we'll get true methods some day)
76
77     * Method modifiers now go through the metaclass instead of invoking
78       Class::Method::Modifiers directly
79
80     * Remove the deprecated before/after/around triggers
81
82     * Roles keywords 'requires' and 'excludes' now throw errors instead of
83       silently doing nothing (they aren't implemented yet)
84
85 0.06 Thu Jul 23 02:10:07 2008
86     * Deprecating before/after/around triggers! Switch back to coderef +
87       whatever you used to do. Moose is have it implemented it as an extension
88       trait.
89
90     * Mouse
91       - updated trigger doc (thanks perigrin)
92         - which will not see CPAN :( sorry perigrin!
93
94     * Mouse::Meta::Class
95       - add a make_immutable method which does nothing(!), for even more
96         Moose compat (nothingmuch's idea)
97
98 0.05 Thu Jul 17 01:53:20 2008
99     * Mouse::Role
100       Mouse::Meta::Role
101       Mouse
102       Squirrel::Role
103       - Begin adding roles! Attributes are mostly there. Still experimental.
104
105     * Mouse::Meta::Class
106       Mouse::Object
107       - Add clone_object and clone_instance (nothingmuch)
108
109     * Mouse::Object
110       - Add BUILDARGS (nothingmuch)
111
112     * Mouse::Meta::Attribute
113       Mouse::Object
114       - Add "before" and "around" triggers. Moose doesn't even have them yet! :)
115
116     * Everywhere
117       - Improvements to the MOP (e.g. Class->add_method)
118
119     * (build)
120       - Excise dependency on Test::Warn, we only used it in one simple test
121
122 0.04 Tue Jun 17 04:56:36 2008
123     * Mouse
124       Mouse::Meta::Attribute
125       - Add support for has '+name'
126       - Add lazy_build (nothingmuch)
127
128 0.03 Thu Jun 12 21:54:07 2008
129     * Mouse
130       - Add before/after/around, courtesy of Class::Method::Modifiers
131
132     * Mouse::Object
133       - Add support for ->new({...})
134       - Use compute_all_applicable_attributes in the constructor to get the
135         attributes of superclasses
136       - Add better support for undef init_arg
137
138     * Mouse::Meta::Class
139       - More methods: compute_all_applicable_attributes, has_attribute
140
141 0.02 Wed Jun 11 01:56:44 2008
142     * Squirrel
143       - Add Squirrel which acts as Moose if it's already loaded, otherwise
144         Mouse (thanks nothingmuch)
145
146     * Mouse::Meta::Object
147       - Fix the order in which BUILD methods are called (thanks Robert
148         Boone)
149
150 0.01 Tue Jun 10 02:13:21 2008
151     * Initial release.
152