Remove the redefine type tests for now, they'll go in a separate file
[gitmo/Mouse.git] / Changes
CommitLineData
c3398f5b 1Revision history for Mouse
2
8aeec00e 30.15
7daedfff 4 * Don't export Mouse's sugar into the package 'main'
8aeec00e 5
3b46bd49 6 * Rename Mouse::TypeRegistry to Mouse::Util::TypeConstraints
7
0d9fea22 8 * "type" sugar for when you're not subtyping anything
9
7dbebb1b 10 * Keep track of the source package of each type
11
1595b996 120.14 Sat Dec 20 16:53:05 2008
13 * POD fix
14
15 * Document what changes tokuhirom and Yappo made (see below)
4216fc14 16
25b08198 170.13 Tue Dec 16 02:01:40 2008
a9d1cb9d 18 * Pass in the instance to the default sub in the constructor (reported with
19 failing tests by rjbs)
fccd2261 20
1595b996 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
de51e718 32
44231509 330.12 Thu Dec 4 19:23:10 2008
826828bf 34 * Provide Test::Exception function unless it's version 0.27 - RT #41254
35
826828bf 36 * Mouse::Util now provides dies_ok
37
44231509 38 * Make class-like types behave more like Moose; subclasses OK! (rjbs)
39
40 * Steal more tests from Moose
826828bf 41
e4b38f45 420.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
6430d968 46
2498d94c 470.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)
7a024324 54
274aea60 550.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
5dbc65ee 620.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
eab013b2 66
f38ce2d0 670.07 Sun Sep 28 00:19:07 2008
465af41f 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)
5c557f4f 88
844fa049 890.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
e2a1372d 94 * Mouse
95 - updated trigger doc (thanks perigrin)
844fa049 96 - which will not see CPAN :( sorry perigrin!
ed00ef38 97
60e2164a 98 * Mouse::Meta::Class
99 - add a make_immutable method which does nothing(!), for even more
100 Moose compat (nothingmuch's idea)
101
ed00ef38 1020.05 Thu Jul 17 01:53:20 2008
6681e09c 103 * Mouse::Role
104 Mouse::Meta::Role
105 Mouse
80be11ca 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! :)
6681e09c 119
c5cbafa4 120 * Everywhere
121 - Improvements to the MOP (e.g. Class->add_method)
122
a7f212f1 123 * (build)
124 - Excise dependency on Test::Warn, we only used it in one simple test
125
a3525e9f 1260.04 Tue Jun 17 04:56:36 2008
1bfebf5f 127 * Mouse
128 Mouse::Meta::Attribute
129 - Add support for has '+name'
80be11ca 130 - Add lazy_build (nothingmuch)
66efb1c8 131
74be9978 1320.03 Thu Jun 12 21:54:07 2008
1bfebf5f 133 * Mouse
134 - Add before/after/around, courtesy of Class::Method::Modifiers
b7a74822 135
1bfebf5f 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
ad67865f 141
1bfebf5f 142 * Mouse::Meta::Class
143 - More methods: compute_all_applicable_attributes, has_attribute
66eea168 144
1450.02 Wed Jun 11 01:56:44 2008
1bfebf5f 146 * Squirrel
147 - Add Squirrel which acts as Moose if it's already loaded, otherwise
148 Mouse (thanks nothingmuch)
66eea168 149
1bfebf5f 150 * Mouse::Meta::Object
151 - Fix the order in which BUILD methods are called (thanks Robert
152 Boone)
66eea168 153
1540.01 Tue Jun 10 02:13:21 2008
1bfebf5f 155 * Initial release.
c3398f5b 156