Style
[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
1595b996 100.14 Sat Dec 20 16:53:05 2008
11 * POD fix
12
13 * Document what changes tokuhirom and Yappo made (see below)
4216fc14 14
25b08198 150.13 Tue Dec 16 02:01:40 2008
a9d1cb9d 16 * Pass in the instance to the default sub in the constructor (reported with
17 failing tests by rjbs)
fccd2261 18
1595b996 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
de51e718 30
44231509 310.12 Thu Dec 4 19:23:10 2008
826828bf 32 * Provide Test::Exception function unless it's version 0.27 - RT #41254
33
826828bf 34 * Mouse::Util now provides dies_ok
35
44231509 36 * Make class-like types behave more like Moose; subclasses OK! (rjbs)
37
38 * Steal more tests from Moose
826828bf 39
e4b38f45 400.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
6430d968 44
2498d94c 450.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)
7a024324 52
274aea60 530.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
5dbc65ee 600.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
eab013b2 64
f38ce2d0 650.07 Sun Sep 28 00:19:07 2008
465af41f 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)
5c557f4f 86
844fa049 870.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
e2a1372d 92 * Mouse
93 - updated trigger doc (thanks perigrin)
844fa049 94 - which will not see CPAN :( sorry perigrin!
ed00ef38 95
60e2164a 96 * Mouse::Meta::Class
97 - add a make_immutable method which does nothing(!), for even more
98 Moose compat (nothingmuch's idea)
99
ed00ef38 1000.05 Thu Jul 17 01:53:20 2008
6681e09c 101 * Mouse::Role
102 Mouse::Meta::Role
103 Mouse
80be11ca 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! :)
6681e09c 117
c5cbafa4 118 * Everywhere
119 - Improvements to the MOP (e.g. Class->add_method)
120
a7f212f1 121 * (build)
122 - Excise dependency on Test::Warn, we only used it in one simple test
123
a3525e9f 1240.04 Tue Jun 17 04:56:36 2008
1bfebf5f 125 * Mouse
126 Mouse::Meta::Attribute
127 - Add support for has '+name'
80be11ca 128 - Add lazy_build (nothingmuch)
66efb1c8 129
74be9978 1300.03 Thu Jun 12 21:54:07 2008
1bfebf5f 131 * Mouse
132 - Add before/after/around, courtesy of Class::Method::Modifiers
b7a74822 133
1bfebf5f 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
ad67865f 139
1bfebf5f 140 * Mouse::Meta::Class
141 - More methods: compute_all_applicable_attributes, has_attribute
66eea168 142
1430.02 Wed Jun 11 01:56:44 2008
1bfebf5f 144 * Squirrel
145 - Add Squirrel which acts as Moose if it's already loaded, otherwise
146 Mouse (thanks nothingmuch)
66eea168 147
1bfebf5f 148 * Mouse::Meta::Object
149 - Fix the order in which BUILD methods are called (thanks Robert
150 Boone)
66eea168 151
1520.01 Tue Jun 10 02:13:21 2008
1bfebf5f 153 * Initial release.
c3398f5b 154