Remove caveats about RT#69939
[gitmo/Mouse.git] / Changes
CommitLineData
c3398f5b 1Revision history for Mouse
927982b4 2
1f6046f0 30.51 Mon Mar 15 15:25:58 2010
4 SUMMARY
5
6 [BUG FIXES]
7 * Mouse::Object::DESTROY could cause SEGVs
8 * Attribute triggers could cause panics
9 * Integers > 2**32 ware not groked as Int
10 * Incorrect types, e.g. "Array[Int", was accepted
11 * Metaclass compatibility was sometimes ignored
12
13 [MOOSE COMPATIBILITY]
14 * before/around/after accept regular expressions
15 * has() becomes strict
16 * the global destruction flag is passed to DEMOLISH methods
17 * Delegations can be curried
18 * Built-in type constraints have the same hierarchy as Moose's
19
20
210.50_09 Mon Mar 15 12:02:28 2010
123fd4f8 22 * (re)fix RT #55048 to grok 2**46+0.5 as Int, but
23 accept 2**46 as Int even on 32 bit environments;
24 note that an Int is exactly what is matched to /^[+-]?[0-9]+$/,
25 so 10e100 will not be groked as Int (gfx)
26
78a4b129 270.50_08 Thu Mar 11 19:28:58 2010
28 * Makefile.PL
29 - Resolved #55419: Add Devel::PPPort to build_requires (gfx)
8a3fa349 30 * Mouse::Exporter
31 - Turns on warnings FATAL => 'recursion' by default (gfx)
d18ffd12 32 * Mouse::Util::TypeConstraints
33 - Change the type parser to check syntax (gfx)
34 (Now it throws erros to "ArrayRef[]", "ArrayRef[Int", etc.)
35
80680661 360.50_07 Sun Mar 7 19:59:37 2010
37 * Mouse::Meta::Attribute
38 - Fix a possible panic, caused by triggers, reported by
39 Nobuo Danjou (gfx)
40
6e1e5b31 410.50_06 Tue Mar 2 18:35:12 2010
42 * Mouse::PurePerl
43 - Fix an issue on metaclass compatibility again (gfx)
44 - Fix more-than-32-bit-int progrem again (gfx)
45
98a8fd12 460.50_05 Mon Mar 1 11:18:26 2010
47 * Mouse::Util::TypeConstraints
48 - Mouse used an incorrect cast at the C-level which meant that
1f1ccccd 49 its idea of numbers was different from that of Perl's (and
98a8fd12 50 Mouse's). Notably > 2**32 Integers on 32 bit systems didn't
123fd4f8 51 work, RT #55048 (AEvar).
98a8fd12 52 * Mouse::Meta::Classs
53 - Fix an issue on metaclass compatibility (gfx)
1f1ccccd 54
c2168931 550.50_04 Fri Feb 26 18:57:24 2010
56 * All
57 - Warnings are less noisy, as shown by example/warns.pl (gfx)
58 - Various optimization and refactoring (gfx)
59
4bc73e47 600.50_03 Mon Feb 22 17:56:47 2010
d503a4f3 61 * Mouse::Meta::Attribute
62 - Catch up about Moose 0.84 about warnings (gfx)
63 - If an attribute generates no accessors, it will be warned
64 - If both 'isa' and 'does' are specified and 'isa' does not do
65 'does', then it will be warned
70425827 66 * Mouse::Object
67 - Fix a possible segv which is caused by destructors (gfx)
df448257 68 * Mouse::Util::TypeConstraints
69 - Implement the built-in type hierarchy (gfx)
70
d990f791 710.50_02 Sat Feb 20 14:37:16 2010
c28783ef 72 * Mouse::Meta::Attribute
73 - Implement argument currying for delegation (gfx)
06c067b9 74 * Mouse::Meta::Method::Constructor
d990f791 75 - Implement strict constructors experimentally, which will warn
76 unkown constructor arguments (gfx)
c28783ef 77
05a12aa4 780.50_01 Sat Feb 13 16:39:48 2010
3bf1e61f 79 * Mouse
c28783ef 80 - before/around/after now accept regexps (gfx)
1fc94910 81 * Mouse::Object
82 - Support the global destruction flag in DEMOLISH (gfx)
0d5a1d74 83 * Mouse::Meta::Attribute
84 - Attribute constructors now warn very noisily about unknown (or
85 misspelled) arguments (gfx)
86
1fc94910 87
e9148d13 880.50 Mon Feb 8 13:43:19 2010
89 * Mouse::Tiny
90 - Allow "use Mouse::Tiny VERSION" with a patch contributed by
91 chocolateboy, RT #54383 (gfx)
6e96640e 92 * Mouse::Util::MetaRole
93 - Add Mouse::Util::MetaRole::apply_metaroles
94 to catch up the latest Moose API for metaroles (gfx)
95
01e830f7 960.49 Tue Feb 2 12:58:45 2010
97 * MouseAccessor.xs
98 - Fix RT #54203 that writers might return undef in setting values
99 reported by chocolateboy (gfx)
100
ede063cc 1010.48 Sun Jan 31 17:53:31 2010
01e830f7 102 * MouseTypeConstraints.xs
103 - Fix magic handling in type constraints reported by sunnavy (gfx)
ede063cc 104
bd76a699 1050.47 Fri Jan 15 15:07:21 2010
106 * Makefile.PL
107 - Shipped with M::I::XSUtil 0.21 (gfx)
ede063cc 108 - Fix an issue that gcc 4.0 don't support -Wc++-compat (gfx)
bd76a699 109 * Mouse
110 - Add a caveat on XS callbacks to the pod (gfx)
111
8c235ea7 1120.46 Sat Jan 9 17:54:30 2010
939c3d87 113 * Mouse::Meta::Attribute
114 - Add support for code references for handles
115 patched by Frank Cuny (gfx)
116 * Mouse::Util::TypeConstraints
117 - Fix Str and ScalarRef for typeglobs, lvalues, and etc. (gfx)
118 * oose.pm
119 - Add Moose::Util::TypeConstraints exports to allow easier testing
120 of TypeConsraints from the command line (gfx)
121
267711f7 1220.4501 Tue Dec 22 16:02:15 2009
123 * Fix an issue on circular dependencies (RT #52939, thanks to t0m)
124 - (see also http://rt.cpan.org/Public/Bug/Display.html?id=52939 )
125
81fd550d 1260.45 Sat Dec 19 17:22:46 2009
e6996029 127 * Fix filename portability issue (RT #52828, thanks to Peter Edwards)
128
f178e757 129 * Fix an issue that definitions of anonymous types could fail (gfx)
130
63d3339b 131 * Mouse::Meta::Attributes
132 - Add set_value/get_value/has_value/clear_value (gfx)
81fd550d 133 (Note that thsese methods are depend on the accessors)
63d3339b 134
135 * Test::Mouse
136 - Add with_immutable (gfx)
137
58e41d63 1380.44 Wed Dec 9 21:43:21 2009
276dbb23 139 * Shipped with Module::Install::XSUtil 0.19 (gfx)
140
58e41d63 141 * Test::Mouse
276dbb23 142 - Added (gfx)
58e41d63 143
144 * Mouse::Util::TypeConstraints
276dbb23 145 - Add duck_type (gfx)
ec0ef258 146
c565ffb3 1470.43 Mon Dec 7 14:21:59 2009
148 * Improve documents
149
150 * Mouse::Meta::Module
151 - Remove undocumented has_package_symbol and get_package_symbol (gfx)
e83a2ae7 152 (They are introduced in 0.41, but seem useless in Mouse)
c565ffb3 153
5176a3e4 1540.42 Sat Dec 5 16:05:06 2009
155 * Fix a PAUSE indexing issue (gfx)
156
4c0fe06f 1570.41 Sat Dec 5 15:00:33 2009
21276ee2 158 * This is the first stable version of Mouse::XS
4c0fe06f 159 - Mouse::XS is about 2 times faster than Mouse::PurePerl
21276ee2 160
4c0fe06f 161 * SUMMARY
21276ee2 162 - Many stuff are now in XS
4c0fe06f 163 - Support "use Mouse -traits => ..." subdirective
164
165 * INCOMPATIBILITY CHANGES (but compatible with Moose)
166 - The type of default value is constrained correctly
167 - The default values is weakend correctly
168 - BUILDALL/DEMOLISHALL are no longer called
21276ee2 169
506fb74d 1700.40_09 Thu Dec 3 13:42:17 2009
00822cc3 171 * Mouse
172 - Remove @Mouse::EXPORT, which was no longer used (gfx)
173
174 * Mouse::Role
175 - Remove @Mouse::Role::EXPORT, which was no longer used (gfx)
176
177 * Mouse::Util
178 - Fix a bug which caused segv on 5.6.2 (gfx)
179
180 * Mouse::Meta::Module
181 - Add has_package_symbol and get_package_symbol (gfx)
182
183
1840.40_08 Thu Nov 26 21:36:49 2009
e0b77af5 185 * Mouse::Exporter
186 - Add the "-traits => ..." subdirective (gfx)
187
188 * Mouse::Meta::Class
189 - Add metaclass incompatibility resolution (gfx)
190
8aba926d 1910.40_07 Tue Nov 17 18:28:57 2009
192 * Mouse::Util::MetaRole
193 - Implemented, but there are many to be done (gfx)
194
195 * Mouse::Meta::Method::Accessor
196 * Mouse::Meta::Method::Constructor
197 - Fix a bug that default values are not weaken()ed (gfx)
198
1990.40_06 Mon Nov 16 17:21:10 2009
1e582397 200 * Shipped with Module::Install::XSUtil 0.17 (gfx)
22e52758 201 * Mouse::Object
0d615023 202 - BUILDALL and DMELISHALL are no longer called by the default ctr/dtr,
1e582397 203 because generated ctrs/dtrs have never call them anyway (gfx)
204 - new and DESTROY are now in XS (gfx)
205
aee75235 2060.40_05 Mon Nov 2 11:59:01 2009
75c9081b 207 * Shipped with Module::Install::XSUtil 0.16 (gfx)
aee75235 208
2090.40_04 Tue Nov 1 11:58:27 2009
75c9081b 210 * Implement type constraint generators in XS (gfx)
6a97bbda 211
766af1c2 2120.40_03 Fri Oct 30 12:03:58 2009
75c9081b 213 * Update Module::Install::XSUtil to 0.15 (gfx)
766af1c2 214
3feac481 2150.40_02 Tue Oct 27 15:04:10 2009
75c9081b 216 * Add the Mouse::XS documentation (gfx)
9a5d1ed3 217
218 * Mouse::Meta::Method::Accessor
75c9081b 219 - Apply type constraints to default values as Moose does (gfx)
4ab8bb8f 220
56ccf870 2210.40_01 Mon Oct 26 17:31:23 2009
75c9081b 222 * Add an optional XS implementation (gfx)
b06ce1f5 223
1f817abe 2240.40 Mon Oct 19 18:30:32 2009
225 * Mouse::Meta::TypeConstraint
75c9081b 226 - Fix a subtyping issue (Thanks miyagawa san) (gfx)
1f817abe 227 * Mouse/Mouse::Role
75c9081b 228 - Now export their sugars to the "main" package (gfx)
1f817abe 229
4353bfe1 2300.39 Tue Oct 13 16:42:31 2009
231 * Fix RT #50421 (Thanks Michael G Schwern)
232 * Fix RT #50422 (Thanks Michael G Schwern)
233
2340.38 Tue Oct 13 15:40:39 2009
6106ed03 235 * No code changes from 0.37_06
518b3489 236
6106ed03 237 * SUMMARY from 0.37 to 0.38
238 - Add documents about compatiblity and incompatibility to Mouse::Spec
6106ed03 239 - Refactor type constraints and type coercions
240 - Now ArrayRef[Foo | Bar] is parsed correctly
241 - Type coercions are stored in type constraint objects
6106ed03 242 - Add Mouse::Exporter for import/unimport methods
6106ed03 243 - Make roles applicable to instances
6106ed03 244 - Implement inner/augment keywords
6106ed03 245 - Port a lot of Moose's tests
6106ed03 246 - Fix a lot of bugs
83fd4df5 247
248
455994cf 2490.37_06 Mon Oct 12 16:34:18 2009
b3ae10c7 250 * Mouse::Meta::Attribute
251 - Support handles => qr/pattern/ in has() (gfx)
252
253 * Mouse::Meta::Method::Destructor
254 - Locallize $@ and $? in DESTROY as Moose does (gfx)
255
455994cf 256 * Mouse::Meta::Role
257 - Fix role application to instances (gfx)
258
b3ae10c7 259 * Tests
260 - Move t/*.t to t/001_moose/
7cfe5d54 261
6f16d3ce 2620.37_05 Fri Oct 9 15:21:43 2009
9c72aa8c 263 * Mouse::Exporter
264 - Add build_import_methods() (gfx)
265
266 * Mouse::Spec
b644ef5d 267 - Add notes about Moose::Cookbook (gfx)
1639e480 268
269 * Fix some minor bugs (gfx)
270
1dc1f3f1 2710.37_04 Thu Oct 8 20:49:11 2009
c38b841a 272 * Mouse::Meta::Role::Composite
273 - Fix and improve role composition mechanism (gfx)
274
1dc1f3f1 275 * Import a number of tests from Moose, and fix various bugs (gfx)
c38b841a 276
b1a89a06 277 * Mouse::Tiny is always generated in Makefile.PL (gfx)
278
edd20f48 2790.37_03 Wed Oct 7 21:10:05 2009
af8f95f4 280 * Mouse::Exporter
281 - Add Mouse::Exporter (gfx)
282 * Mouse::Meta::Method::Constructor
283 - Optimize generated constructors (gfx)
1f0c967a 284 * Mouse::Meta::Role
285 - Implement role application to instances (gfx)
62cb9505 286
f5511684 2870.37_02 Sun Oct 4 17:29:15 2009
53a7a312 288 * Mouse
289 - Implement the argument/inner keywords
4f90d9ae 290 * Mouse::Meta::Attribute
2e202fdb 291 - Add get_read_method_ref() and get_write_method_ref() (gfx)
53a7a312 292 - Add find_attribute_by_name() (gfx)
2e202fdb 293 - Fix clone_and_inherit_options() to deal with 'traits' (gfx)
294 * Mouse::Util
295 - Fix meta() method, which was not tested (gfx)
53a7a312 296 * Tests
297 - Port t/010_basics/*.t from Moose
4f90d9ae 298
327475b7 2990.37_01 Thu Oct 1 15:32:58 2009
2e202fdb 300 * Type coercions are stored to type constraints (gfx)
2929db0a 301
2e202fdb 302 * Refactor the type parser to parse 'ArrayRef[Object|Int]' (gfx)
2929db0a 303
2e202fdb 304 * Remove Class::MOP specific subroutines from Mouse::Meta::Module (gfx)
327475b7 305 (this change might be reverted in the release version)
b61e0c46 306 - version, authority, identifier,
307 get_all_metaclasses, store_metaclass_by_name,
308 weaken_metaclass, does_metaclass_exist, remove_metaclass_by_name
309
2e202fdb 310 * Add new public utilities to Mouse::Util (gfx)
b61e0c46 311 - class_of, the counterpart for Class::MOP::class_of
312 - get_metaclass_by_name for Class::MOP::get_metaclass_by_name
313
314
31920032 3150.37 Mon Sep 28 10:48:27 2009
0a46aaa0 316 * Ensure backward compatibility by author/test-externa.pl (gfx)
317
318 * Change the algorithm of has_method() for backward compatibility (gfx)
319
31920032 320 * $ENV{MOUSE_VERBOSE}=1 for Moose-compatible warnings (gfx)
0a46aaa0 321
04493075 3220.36 Sun Sep 27 16:53:06 2009
323 * Fix an issue that breaks backward compatibility (gfx)
324 - MouseX::Attribute does work, although make tests doesn't pass
325
81625179 3260.35 Sat Sep 26 12:38:27 2009
327 * Work around Test::Exception 0.27_0x by including authorized ver. (gfx)
328
a573851d 3290.34 Fri Sep 25 21:55:48 2009
32a0f864 330 * Make sure to work on 5.6.2 (gfx)
eb88905f 331
32a0f864 332 * Remove Class::Method::Modifiers dependency (gfx)
7ca5c5fb 333
32a0f864 334 * Remove testing modules from inc/ (gfx)
335
336 * Put t/019-handles.t on ice (gfx)
7a1781ae 337
639f39ef 3380.33_01 Thu Sep 24 16:16:57 2009
121acb8a 339 * Implement traits => [...] in has() (gfx)
340
3410.33 Wed Sep 23 15:06:40 2009
39f9498f 342 * Fix RT #49902: 0.32 fails tests reported by GRUBER (gfx)
343
47a8794f 344 * Add some tests
345
b2a583f8 3460.32 Tue Sep 22 16:44:57 2009
347 * Add many tests copied from Moose (gfx)
7a50b450 348
b2a583f8 349 * Fix Mouse::Util::find_meta() and Mouse::Util::does_role() (gfx)
7a50b450 350
53c495ce 351 * Fix the timing triggers are invoked (gfx)
352
b2a583f8 353 * Implement confliction checks in roles
354
355 * work around create() and create_anon() in Mouse::Meta::Role
3c429663 356
b2a583f8 3570.31 Tue Sep 22 11:08:12 2009
7b133c92 358 * Add find_meta() and does_role() to Mouse::Util (gfx)
359
809fc2c7 360 * Fix tests using Class::Method::Modifiers to be skipped correctly (gfx)
361
362 * Remove Test::Mouse, which was accidentally included (gfx)
363
9c6ff002 3640.30 Mon Sep 21 16:43:05 2009
7b133c92 365 * Implement RT #46930 (accessor/reader/writer in has()) (gfx)
3c429663 366
9c6ff002 367 * Work around anonymous classes as mortal classes (gfx)
ad022aac 368
369 * Implement with $role => -exlucdes => [...] (gfx)
370
371 * Implement get_method() in M::Meta::Class and M::Meta::Role (gfx)
372
eb05b8be 373 * Make get_method_list() compatible with Moose's (gfx)
5f6a73cb 374
eb05b8be 375 * Make unimport() not to remove non-Mouse functions (blessed and confess) (gfx)
5f6a73cb 376
eb05b8be 377 * Remove a lot of duplication code (gfx)
5f6a73cb 378
324d3602 379 * Support is => 'bare', and you must pass and 'is' option to has() (gfx)
9c85e9dc 380
15b4faa9 3810.29 Thu Sep 17 11:49:49 2009
93ac97dd 382
15b4faa9 383 * role class has ->meta in method_list, because it does in Moose since 0.9
93ac97dd 3840.28 Wed Sep 8 20:00:06 2009
e650ba5b 385 * Alter Makefile.PL so in author mode we generate lib/Mouse/Tiny.pm on
386 every run so that 'make dist' actually does what it's meant to (mst)
2bcb073f 387
e0541d44 388 * Only unlink Mouse::Tiny if it exists, otherwise autodie pitches
389 a fit (miyagawa)
26b84079 390
391 * Make auto_deref also handles isa not only ArrayRef and HashRef, but also
392 ArrayRef[Foo::Bar] and HashRef[Foo::Bar]
e0541d44 393
9f917442 3940.27 Thu Jul 2 15:17:37 2009
395 * Doc updates (Sartak)
396
397 * Include missing Mouse::Tiny
fc352e2d 398
f81e2ecb 3990.26 Wed Jul 1 13:39:30 2009
9cc87fff 400 * Fix failing tests by requiring a newer Moose in that test (t0m)
48bf3a6a 401
b79fc28f 4020.25 Fri Jun 19 12:05:42 2009
403 * Fix SIGNATURE (reported by daxim) ... by removing it :)
efeb6d0c 404
34a90485 4050.24 Mon Jun 15 14:47:18 2009
406 * Moose's construct_instance is deprecated, use new_object (tokuhirom)
407
408 * Improve Mouse::Tiny generation (tokuhirom)
409
410 * Inlining destructor fixes (tokuhirom)
411
412 * Add Mouse->init_meta (tokuhirom)
413
414 * Fix failing tests by requiring a newer Moose in that test (Sartak)
eb6f4444 415
b03fda9f 416 * Don't warn in tests about Squirrel deprecations (Sartak)
417
25db76ef 4180.23 Wed May 27 16:52:28 2009
dad3c1af 419 * Take the mro::linearized_isa DEMOLISHALL fix from Moose
420 (originally by doy)
421
422 * Mouse::class_of to mirror Class::MOP::class_of
d5b41c02 423
6d86b341 4240.22 Tue Apr 21 03:26:43 2009
425 * Regenerate broken signature (Sartak)
dad3c1af 426 reported by Michael Gray [rt.cpan.org #45167]
6d86b341 427
428 * does_role now checks parent classes (tokuhirom)
429
430 * Fix for $_ not being available type constraint messages (Sartak)
124fa027 431
240454c2 4320.21 Sat Apr 11 13:52:11 2009
7a96b336 433 * clone_instance has been made private, like in Moose (tokuhirom)
6b646f93 434
7a96b336 435 * Fix method modifiers applying to the wrong class (gfuji)
436 reported by Heikki Lehvaslaiho in [rt.cpan.org #42992]
d9b661d3 437
7a96b336 438 * Fix test failures when user does not have C::Method::Modifiers(::Fast)
439 installed (Joel Bernstein)
440
441 * use get_all_attributes instead of
442 compute_all_applicable_attributes (tokuhirom)
443
444 * fixed pod bug (tokuhirom)
445 reported by Ryan52 in [rt.cpan.org #44928]
446
447 * Parameterized type constraints can now have messages (tokuhirom)
6b646f93 448
5893ee36 449 * Added documentation about type constraints (Mark Stosberg)
6b646f93 450
4510.20 Thu Apr 9 20:22:33 2009
2df74b3a 452 * Squirrel is now deprecated. Use Any::Moose instead (Sartak)
453
cf33c3d9 454 * To improve Moose compat, the third argument to trigger
455 (the attribute metaobject) has been removed (Sartak)
456
457 * To improve Moose compat, a single undef passed to new
458 is now disallowed (Sartak)
c3398f5b 459
31a5ba2c 460 * Implemented Mouse::Object->does (wu-lee)
461
462 * Implemented override and super functions for Mouse::Role.
463 (wu-lee)
927982b4 464
31a5ba2c 465 * Implemented stub augment and inner functions for Mouse::Role,
466 which merely throw an exception as in Moose::Role. (wu-lee)
927982b4 467
31a5ba2c 468 * Stole more tests from Moose (020_roles/*). Not all these pass
469 yet; the rest have been moved to 020_roles/failing for later
470 examination. (wu-lee)
927982b4 471
31a5ba2c 472 * Implemented Mouse::Role->does_role. This does not yet quite
473 seem to pass all the tests it should. (wu-lee)
927982b4 474
31a5ba2c 475 * Fixed bug in Mouse::Meta::Role->apply and ->combine_apply, so that
476 030_roles/002_role.t tests pass. (wu-lee)
927982b4 477
31a5ba2c 478 * Implemented ->version, ->authority and ->identifier methods in
479 Mouse::Meta::Role and Mouse::Meta::Class (mainly to make more
480 Moose tests pass). (wu-lee)
481
bf1b613a 482 * Implemented emulations of Class::MOP's metaclass accessors
483 (get_metaclass_by_name etc.) in Mouse::Meta::Class.
484
31a5ba2c 485 * Mouse attribute property 'isa' now accepts Role names. (wu-lee)
486
487 * Fixed bug: typecoercion application order was reversed. (wu-lee)
488
489 * Fixed bug: inlined constructor was invoking BUILD methods in
490 wrong order. (wu-lee)
65715de3 491
492 * Fixed bug: immutable constructor now redispatches correctly to
493 Mouse::Object::new when used in derived classes (wu-lee).
c9aefe26 494
927982b4 495 * Maybe parameterized type constraint (lestrrat)
496
497 * Performance improvements! (tokuhirom)
498
499 * Improve Moose compat of class_type (lestrrat)
500
501 * Many type-constraint fixes (tokuhirom and lestrrat)
502
503 * Mouse::Meta::Class->has_method and ->get_attribute_list (tokuhirom)
504
505 * Add get_all_attributes, use it internally instead of
506 compute_all_applicable_attributes (nothingmuch)
507
df9e57e8 5080.19 Sun Mar 8 04:38:01 2009
f96bd2aa 509 * Parameterized type constraints for ArrayRef and HashRef (lestrrat)
510
511 * Allow extensible attribute metaclass in traits too(tokuhirom)
512
513 * Don't use method modifiers in a test since they may not be
514 available (Sartak)
c4ec7642 515
423b9699 5160.18 Fri Mar 6 19:09:33 2009
517 * Fix the issue preventing Mouse usage on Perl 5.6 - a bug in older
518 Scalar::Util! (tokuhirom)
519
520 * Allow extensible attribute metaclass (tokuhirom)
521
522 * Optimization for method modifiers (tokuhirom)
523
524 * Implement Mouse->import({into_level => 1}) (tokuhirom)
525
526 * Support for Class->meta->add_attribute($name => %options) (tokuhirom)
527
528 * Throw a more useful error message when trying to use a parameterized
529 type (Sartak)
c3a83939 530
949738a8 5310.17 Tue Feb 17 20:10:29 2009
388b8ebd 532 * Load mro directly if Perl is recent enough (Nicholas Clark)
533
df963a63 534 * Add dump method from Moose::Object into Mouse::Object (perigrin)
535
949738a8 536 * Add role-role composition (tokuhirom)
537
d8edb5a0 5380.16 Mon Feb 9 20:56:27 2009
60cfc6ad 539 * Implement get_all_method_names
67fb42e0 540
01904723 541 * Support for anonymous enums: enum [elements]
542
d8edb5a0 543 * Moose's make_immutable returns true allowing calling code to skip
544 setting an explicit true value at the end of a source file. (obra)
545
4d33522c 5460.15 Thu Feb 5 11:44:05 2009
7daedfff 547 * Don't export Mouse's sugar into the package 'main'
8aeec00e 548
3b46bd49 549 * Rename Mouse::TypeRegistry to Mouse::Util::TypeConstraints
550
0d9fea22 551 * "type" sugar for when you're not subtyping anything
552
7dbebb1b 553 * Keep track of the source package of each type
554
96dbfdb7 555 * Moose lets you redefine a type within the same package, so we now do too
556
557 * Borrow more of Moose's meta API
a5fc1e9a 558
96dbfdb7 559 * Mouse::Util::TypeConstraints now uses Exporter so you can select which
560 sugar you want
561
562 * class_type shouldn't load the class (Moose compat; no easy fix :/)
4859d490 563
96dbfdb7 564 * suppress warnings when we use "around" and "has '+...'" (dann)
4859d490 565
96dbfdb7 566 * use Data::Util to make method modifiers fast if it's available (dann)
47b5feb9 567
a22b1fed 568 * Implement "enum" type constraints
569
570 * Implement "override" and "super"
571
4786262b 572 * MouseX::Types is now in its own dist
573
1595b996 5740.14 Sat Dec 20 16:53:05 2008
575 * POD fix
576
577 * Document what changes tokuhirom and Yappo made (see below)
4216fc14 578
25b08198 5790.13 Tue Dec 16 02:01:40 2008
a9d1cb9d 580 * Pass in the instance to the default sub in the constructor (reported with
581 failing tests by rjbs)
fccd2261 582
1595b996 583 * Tons of new features implemented by tokuhirom++ and Yappo++:
584 - method API in classes and roles!
585 - "requires" and "with" for Mouse::Role
586 - Type coercion
587 - Inject a constructor after make_immutable. Huge speedup!
588 - class_type and role_type
589 - Inject a destructor for more speedup
590 - MouseX::Types (may move into its own dist)
591 - create_anon_class
592 - union type constraints (eg 'Str | Undef')
593 - subtypes and sugar for them
de51e718 594
44231509 5950.12 Thu Dec 4 19:23:10 2008
826828bf 596 * Provide Test::Exception function unless it's version 0.27 - RT #41254
597
826828bf 598 * Mouse::Util now provides dies_ok
599
44231509 600 * Make class-like types behave more like Moose; subclasses OK! (rjbs)
601
602 * Steal more tests from Moose
826828bf 603
e4b38f45 6040.11 Sun Nov 2 11:35:04 2008
605 * Throw an error if accessor/predicate/clearer/handles code eval fails
606
607 * Optimizations for generated methods, they should now be on par with Moose
6430d968 608
2498d94c 6090.10 Tue Oct 28 19:23:07 2008
610 * Require a recent Moose (which has the bugfix) for
611 t/500_moose_extends_mouse.t
612
613 * ouse.pm for perl -Mouse one-liners (thanks rjbs)
614
615 * Doc for init_arg => undef (thanks rjbs)
7a024324 616
274aea60 6170.09 Sun Sep 28 22:37:13 2008
618 * Initial version of Mouse::Tiny, a one-file concatenation of the Mouse
619 classes for easy embedding
620
621 * Fixes caused by test failures (Carp not being loaded, Moose being
622 required in a test)
623
5dbc65ee 6240.08 Sun Sep 28 12:46:07 2008
625 * ALL dependencies have been removed!
626
627 * Fixes for Class::Method::Modifiers being required for testing
eab013b2 628
f38ce2d0 6290.07 Sun Sep 28 00:19:07 2008
465af41f 630 * All runtime dependencies have been removed! The only change in
631 functionality (hopefully) is that the Sub::Exporter features can no
632 longer be used (we've backed down to regular Exporter). Scalar::Util is
633 required for "weaken" support, and Class::Method::Modifiers is required
634 for method modifier support, but only if you use these features!
635 Having Scalar::Util and MRO::Compat installed will provide only
636 performance increases.
637
638 * Tests and fixes for extending a Mouse class with Moose (nothingmuch)
639
640 * Support for adding method modifiers to a role, and composing them into
641 classes (we'll get true methods some day)
642
643 * Method modifiers now go through the metaclass instead of invoking
644 Class::Method::Modifiers directly
645
646 * Remove the deprecated before/after/around triggers
647
648 * Roles keywords 'requires' and 'excludes' now throw errors instead of
649 silently doing nothing (they aren't implemented yet)
5c557f4f 650
844fa049 6510.06 Thu Jul 23 02:10:07 2008
652 * Deprecating before/after/around triggers! Switch back to coderef +
653 whatever you used to do. Moose is have it implemented it as an extension
654 trait.
655
e2a1372d 656 * Mouse
657 - updated trigger doc (thanks perigrin)
844fa049 658 - which will not see CPAN :( sorry perigrin!
ed00ef38 659
60e2164a 660 * Mouse::Meta::Class
661 - add a make_immutable method which does nothing(!), for even more
662 Moose compat (nothingmuch's idea)
663
ed00ef38 6640.05 Thu Jul 17 01:53:20 2008
6681e09c 665 * Mouse::Role
666 Mouse::Meta::Role
667 Mouse
80be11ca 668 Squirrel::Role
669 - Begin adding roles! Attributes are mostly there. Still experimental.
670
671 * Mouse::Meta::Class
672 Mouse::Object
673 - Add clone_object and clone_instance (nothingmuch)
674
675 * Mouse::Object
676 - Add BUILDARGS (nothingmuch)
677
678 * Mouse::Meta::Attribute
679 Mouse::Object
680 - Add "before" and "around" triggers. Moose doesn't even have them yet! :)
6681e09c 681
c5cbafa4 682 * Everywhere
683 - Improvements to the MOP (e.g. Class->add_method)
684
a7f212f1 685 * (build)
686 - Excise dependency on Test::Warn, we only used it in one simple test
687
a3525e9f 6880.04 Tue Jun 17 04:56:36 2008
1bfebf5f 689 * Mouse
690 Mouse::Meta::Attribute
691 - Add support for has '+name'
80be11ca 692 - Add lazy_build (nothingmuch)
66efb1c8 693
74be9978 6940.03 Thu Jun 12 21:54:07 2008
1bfebf5f 695 * Mouse
696 - Add before/after/around, courtesy of Class::Method::Modifiers
b7a74822 697
1bfebf5f 698 * Mouse::Object
699 - Add support for ->new({...})
700 - Use compute_all_applicable_attributes in the constructor to get the
701 attributes of superclasses
702 - Add better support for undef init_arg
ad67865f 703
1bfebf5f 704 * Mouse::Meta::Class
705 - More methods: compute_all_applicable_attributes, has_attribute
66eea168 706
7070.02 Wed Jun 11 01:56:44 2008
1bfebf5f 708 * Squirrel
709 - Add Squirrel which acts as Moose if it's already loaded, otherwise
710 Mouse (thanks nothingmuch)
66eea168 711
1bfebf5f 712 * Mouse::Meta::Object
713 - Fix the order in which BUILD methods are called (thanks Robert
714 Boone)
66eea168 715
7160.01 Tue Jun 10 02:13:21 2008
1bfebf5f 717 * Initial release.
c3398f5b 718