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