Finish renaming Mouse::TypeRegistry to Mouse::Util::TypeConstraints
[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
1595b996 80.14 Sat Dec 20 16:53:05 2008
9 * POD fix
10
11 * Document what changes tokuhirom and Yappo made (see below)
4216fc14 12
25b08198 130.13 Tue Dec 16 02:01:40 2008
a9d1cb9d 14 * Pass in the instance to the default sub in the constructor (reported with
15 failing tests by rjbs)
fccd2261 16
1595b996 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
de51e718 28
44231509 290.12 Thu Dec 4 19:23:10 2008
826828bf 30 * Provide Test::Exception function unless it's version 0.27 - RT #41254
31
826828bf 32 * Mouse::Util now provides dies_ok
33
44231509 34 * Make class-like types behave more like Moose; subclasses OK! (rjbs)
35
36 * Steal more tests from Moose
826828bf 37
e4b38f45 380.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
6430d968 42
2498d94c 430.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)
7a024324 50
274aea60 510.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
5dbc65ee 580.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
eab013b2 62
f38ce2d0 630.07 Sun Sep 28 00:19:07 2008
465af41f 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)
5c557f4f 84
844fa049 850.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
e2a1372d 90 * Mouse
91 - updated trigger doc (thanks perigrin)
844fa049 92 - which will not see CPAN :( sorry perigrin!
ed00ef38 93
60e2164a 94 * Mouse::Meta::Class
95 - add a make_immutable method which does nothing(!), for even more
96 Moose compat (nothingmuch's idea)
97
ed00ef38 980.05 Thu Jul 17 01:53:20 2008
6681e09c 99 * Mouse::Role
100 Mouse::Meta::Role
101 Mouse
80be11ca 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! :)
6681e09c 115
c5cbafa4 116 * Everywhere
117 - Improvements to the MOP (e.g. Class->add_method)
118
a7f212f1 119 * (build)
120 - Excise dependency on Test::Warn, we only used it in one simple test
121
a3525e9f 1220.04 Tue Jun 17 04:56:36 2008
1bfebf5f 123 * Mouse
124 Mouse::Meta::Attribute
125 - Add support for has '+name'
80be11ca 126 - Add lazy_build (nothingmuch)
66efb1c8 127
74be9978 1280.03 Thu Jun 12 21:54:07 2008
1bfebf5f 129 * Mouse
130 - Add before/after/around, courtesy of Class::Method::Modifiers
b7a74822 131
1bfebf5f 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
ad67865f 137
1bfebf5f 138 * Mouse::Meta::Class
139 - More methods: compute_all_applicable_attributes, has_attribute
66eea168 140
1410.02 Wed Jun 11 01:56:44 2008
1bfebf5f 142 * Squirrel
143 - Add Squirrel which acts as Moose if it's already loaded, otherwise
144 Mouse (thanks nothingmuch)
66eea168 145
1bfebf5f 146 * Mouse::Meta::Object
147 - Fix the order in which BUILD methods are called (thanks Robert
148 Boone)
66eea168 149
1500.01 Tue Jun 10 02:13:21 2008
1bfebf5f 151 * Initial release.
c3398f5b 152