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