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