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