tests for attr initialization in runtime roles
[gitmo/Moose.git] / Changes
CommitLineData
e522431d 1Revision history for Perl extension Moose
2
c2922d69 30.41
004222dc 4 ~~ numerous documentation updates ~~
547dda77 5
6 - Changed all usage of die to Carp::croak for better
7 error reporting (initial patch by Tod Hagan)
004222dc 8
c2922d69 9 ** IMPORTANT NOTE **
10 - the make_immutable keyword is now deprecated, don't
11 use it in any new code and please fix your old code
12 as well. There will be 2 releases, and then it will
13 be removed.
14
6c36eeaa 15 * Moose
16 Moose::Role
17 Moose::Meta::Class
18 - refactored the way inner and super work to avoid
19 any method/@ISA cache penalty (nothingmuch)
20
4078709c 21 * Moose::Meta::Class
22 - fixing &new_object to make sure trigger gets the
23 coerced value (spotted by Charles Alderman on the
24 mailing list)
25 - added test for this
26
51c107ef 27 * Moose::Meta::Method::Constructor
28 - immutable classes which had non-lazy attributes were calling
29 the default generating sub twice in the constructor. (bug
30 found by Jesse Luehrs, fixed by Dave Rolsky)
31 - added tests for this (Dave Rolsky)
ae8d63f2 32 - fix typo in initialize_body method (nothingmuch)
33
34 * Moose::Meta::Method::Destructor
35 - fix typo in initialize_body method (nothingmuch)
51c107ef 36
6c36eeaa 37 * Moose::Meta::Method::Overriden
38 Moose::Meta::Method::Augmented
39 - moved the logic for these into their own
40 classes (nothingmuch)
41
5e98d2b6 42 * Moose::Meta::Attribute
aed87761 43 - inherited attributes may now be extended without
2ea379cb 44 restriction on the type ('isa', 'does') (Sartak)
cf12a691 45 - added tests for this (Sartak)
547dda77 46 - when an attribute property is malformed (such as lazy without
47 a default), give the name of the attribute in the error
48 message (Sartak)
88f23977 49 - added the &applied_traits and &has_applied_traits methods
50 to allow introspection of traits
51 - added tests for this
7c60f730 52
53 * Moose::Object
54 - localize $@ inside DEMOLISHALL to avoid it
55 eating $@ (found by Ernesto)
56 - added test for this (thanks to Ernesto)
cf12a691 57
ae8d63f2 58 * Moose::Util::TypeConstraints
59 - &find_type_constraint now DWIMs when given an
6c36eeaa 60 type constraint object or name (nothingmuch)
ae8d63f2 61
62 * Moose::Meta::TypeConstraint
4078709c 63 Moose::Meta::TypeConstraint::Class
64 Moose::Meta::TypeConstraint::Enum
65 Moose::Meta::TypeConstraint::Union
66 Moose::Meta::TypeConstraint::Parameterized
67 - added the &equals method for comparing two type
68 constraints (nothingmuch)
69 - added tests for this (nothingmuch)
70
71 * Moose::Meta::TypeConstraint
ae8d63f2 72 - add the &parents method, which is just an alias to &parent.
73 Useful for polymorphism with TC::Class (nothingmuch)
74
75 * Moose::Meta::TypeConstraint::Class
ae8d63f2 76 - added the class attribute for introspection purposes
77 (nothingmuch)
78 - added tests for this
4078709c 79
80 * Moose::Meta::TypeConstraint::Enum
6c36eeaa 81 Moose::Meta::TypeConstraint::Role
82 - broke these out into their own classes (nothingmuch)
ae8d63f2 83
84 * Moose::Cookbook::Recipe*
85 - fixed references to test file locations in the POD
86 and updated up some text for new Moose features
87 (Sartak)
88
52338af5 890.40 Fri. March 14, 2008
6e2840b7 90 - I hate Pod::Coverage
91
e0328ed4 920.39 Fri. March 14, 2008
8d62bf6d 93 * Moose
94 - documenting the use of '+name' with attributes
95 that come from recently composed roles. It makes
96 sense, people are using it, and so why not just
97 officially support it.
9c10b5ad 98 - fixing the 'extends' keyword so that it will not
99 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
94075501 100
1321f087 101 * oose
102 - added the perl -Moose=+Class::Name feature to allow
103 monkeypatching of classes in one liners
104
9c10b5ad 105 * Moose::Util
106 - fixing the 'apply_all_roles' keyword so that it will not
107 trigger Ovid's bug (http://use.perl.org/~Ovid/journal/35763)
8d62bf6d 108
48045612 109 * Moose::Meta::Class
110 - added ->create method which now supports roles (thanks to jrockway)
111 - added tests for this
6d5cbd2b 112 - added ->create_anon_class which now supports roles and caching of
113 the results (thanks to jrockway)
114 - added tests for this
81c3738f 115 - made ->does_role a little more forgiving when it is
116 checking a Class::MOP era metaclasses.
48045612 117
94075501 118 * Moose::Meta::Role::Application::ToInstance
119 - it is now possible to pass extra params to be used when
120 a role is applied to an the instance (rebless_params)
121 - added tests for this
122
9f4334a1 123 * Moose::Util::TypeConstraints
4ab662d6 124 - class_type now accepts an optional second argument for a
125 custom message. POD anotated accordingly (groditi)
126 - added tests for this
9f4334a1 127 - it is now possible to make anon-enums by passing 'enum' an
128 ARRAY ref instead of the $name => @values. Everything else
129 works as before.
130 - added tests for this
131
8d62bf6d 132 * t/
133 - making test for using '+name' on attributes consumed
134 from a role, it works and makes sense too.
135
80d955e4 136 * Moose::Meta::Attribute
137 - fix handles so that it doesn't return nothing
138 when the method cannot be found, not sure why
f4f3e701 139 it ever did this originally, this means we now
140 have slightly better support for AUTOLOADed
141 objects
142 - added more delegation tests
587e457d 143 - adding ->does method to this so as to better
144 support traits and their introspection.
145 - added tests for this
1a386a6c 146
147 * Moose::Object
148 - localizing the Data::Dumper configurations so
149 that it does not pollute others (RT #33509)
9b1aa0c3 150 - made ->does a little more forgiving when it is
151 passed Class::MOP era metaclasses.
80d955e4 152
1530.38 Fri. Feb. 15, 2008
c3b81505 154 * Moose::Meta::Attribute
155 - fixed initializer to correctly do
156 type checking and coercion in the
157 callback
158 - added tests for this
159
1a740d8a 160 * t/
161 - fixed some finicky tests (thanks to konobi)
162
80d955e4 1630.37 Thurs. Feb. 14, 2008
688fcdda 164 * Moose
165 - fixed some details in Moose::init_meta
166 and its superclass handling (thanks thepler)
167 - added tests for this (thanks thepler)
a28fe77b 168 - 'has' now dies if you don't pass in name
169 value pairs
2a5e59d0 170 - added the 'make_immutable' keyword as a shortcut
9df136d0 171 to make_immutable
688fcdda 172
173 * Moose::Meta::Class
174 Moose::Meta::Method::Constructor
175 Moose::Meta::Attribute
649b9340 176 - making (init_arg => undef) work here too
177 (thanks to nothingmuch)
be771c43 178
179 * Moose::Meta::Attribute
180 Moose::Meta::Method::Constructor
181 Moose::Meta::Method::Accessor
5fec9b97 182 - make lazy attributes respect attr initializers (rjbs)
be771c43 183 - added tests for this
688fcdda 184
185 * Moose::Util::TypeConstraints
186 Moose::Util::TypeConstraints::OptimizedConstraints
c14746bc 187 Moose::Meta::TypeConstraints
688fcdda 188 Moose::Meta::Attribute
189 Moose::Meta::Method::Constructor
190 Moose::Meta::Method::Accessor
649b9340 191 - making type errors use the
192 assigned message (thanks to Sartak)
193 - added tests for this
194
195 * Moose::Meta::Method::Destructor
196 - making sure DESTROY gets inlined properly
197 with successive DEMOLISH calls (thanks to manito)
688fcdda 198
ab76842e 199 * Moose::Meta::Attribute
200 Moose::Meta::Method::Accessor
201 - fixed handling of undef with type constraints
202 (thanks to Ernesto)
203 - added tests for this
c14746bc 204
205 * Moose::Util
206 - added &get_all_init_args and &get_all_attribute_values
207 (thanks to Sartak and nothingmuch)
ab76842e 208
e472c9a5 2090.36 Sat. Jan. 26, 2008
238b424d 210 * Moose::Role
211 Moose::Meta::Attribute
212 - role type tests now support when roles are
213 applied to non-Moose classes (found by ash)
214 - added tests for this (thanks to ash)
e472c9a5 215 - couple extra tests to boost code coverage
238b424d 216
217 * Moose::Meta::Method::Constructor
218 - improved fix for handling Class::MOP attributes
219 - added test for this
220
221 * Moose::Meta::Class
222 - handled the add_attribute($attribute_meta_object)
223 case correctly
224 - added test for this
225
3285fae9 2260.35 Tues. Jan. 22, 2008
45fd4af3 227 * Moose::Meta::Method::Constructor
228 - fix to make sure even Class::MOP attributes
472b7401 229 are handled correctly (Thanks to Dave Rolsky)
c3b35392 230 - added test for this (also Dave Rolsky)
4498537c 231
232 * Moose::Meta::Class
233 - improved error message on _apply_all_roles,
234 you should now use Moose::Util::apply_all_roles
235 and you shouldnt have been using a _ prefixed
236 method in the first place ;)
45fd4af3 237
fe05ce9c 2380.34 Mon. Jan. 21, 2008
778db3ac 239 ~~~ more misc. doc. fixes ~~~
240 ~~ updated copyright dates ~~
9b28d20b 241
242 Moose is now a postmodern object system :)
8bdc7f13 243 - (see the POD for details)
ccf49e80 244
245 * <<Role System Refactoring>>
246 - this release contains a major reworking and
247 cleanup of the role system
9b28d20b 248 - 100% backwards compat.
249 - Role application now restructured into seperate
250 classes based on type of applicants
251 - Role summation (combining of more than one role)
ccf49e80 252 is much cleaner and anon-classes are no longer
9b28d20b 253 used in this process
ccf49e80 254 - new Composite role metaclass
9b28d20b 255 - runtime application of roles to instances
256 is now more efficient and re-uses generated
257 classes when applicable
ccf49e80 258
9b28d20b 259 * <<New Role composition features>>
ccf49e80 260 - methods can now be excluded from a given role
9b28d20b 261 during composition
ccf49e80 262 - methods can now be aliased to another name (and
263 still retain the original as well)
4734114b 264
265 * Moose::Util::TypeConstraints::OptimizedConstraints
266 - added this module (see above)
267
d7d8a8c7 268 * Moose::Meta::Class
269 - fixed the &_process_attribute method to be called
4734114b 270 by &add_attribute, so that the API is now correct
271
e7c06c1e 272 * Moose::Meta::Method::Accessor
4734114b 273 - fixed bug when passing a list of values to
e7c06c1e 274 an accessor would get (incorrectly) ignored.
275 Thanks to Sartak for finding this ;)
276 - added tests for this (Sartak again)
32dd4a95 277
a4e516f6 278 * Moose::Meta::Method::Accessor
279 Moose::Meta::Method::Constructor
28412c0b 280 Moose::Meta::Attribute
ccf49e80 281 Moose::Meta::TypeConstraint
282 Moose::Meta::TypeCoercion
283 - lots of cleanup of such things as:
28412c0b 284 - generated methods
285 - type constraint handling
ccf49e80 286 - error handling/messages
287 (thanks to nothingmuch)
a4e516f6 288
4734114b 289 * Moose::Meta::TypeConstraint::Parameterizable
290 - added this module to support the refactor
291 in Moose::Meta::TypeConstraint::Parameterized
292
293 * Moose::Meta::TypeConstraint::Parameterized
294 - refactored how these types are handled so they
295 are more generic and not confined to ArrayRef
296 and HashRef only
a4e516f6 297
2de7e794 298 * t/
299 - shortened some file names for better VMS support (RT #32381)
300
25374f01 3010.33 Fri. Dec. 14, 2007
32dd4a95 302 !! Moose now loads 2 x faster !!
303 !! with new Class::MOP 0.49 !!
25374f01 304
f7865ec8 305 ++ new oose.pm module to make command line
25374f01 306 Moose-ness easier (see POD docs for more)
4734114b 307
25374f01 308 * Moose::Meta::Class
309 * Moose::Meta::Role
4734114b 310 - several tweaks to take advantage of the
25374f01 311 new method map caching in Class::MOP
312
39aba5c9 313 * Moose::Meta::TypeConstraint::Parameterized
314 - allow subtypes of ArrayRef and HashRef to
acb8a5db 315 be used as a container (sartak)
4734114b 316 - added tests for this
acb8a5db 317 - basic support for coercion to ArrayRef and
318 HashRef for containers (sartak)
4734114b 319 - added tests for this
320
25374f01 321 * Moose::Meta::TypeCoercion
322 - coercions will now create subtypes as needed
323 so you can now add coercions to parameterized
324 types without having to explictly define them
325 - added tests for this
326
ac211120 327 * Moose::Meta::Method::Accessor
328 - allow subclasses to decide whether we need
329 to copy the value into a new variable (sartak)
39aba5c9 330
dc26a424 3310.32 Tues. Dec. 4, 2007
8de73ff1 332 * Moose::Util::TypeConstraints
333 - fixing how subtype aliases of unions work
334 they should inherit the parent's coercion
335 - added tests for this
4734114b 336 - you can now define multiple coercions on
41e007e4 337 a single type at different times instead of
338 having to do it all in one place
339 - added tests for this
4734114b 340
8de73ff1 341 * Moose::Meta::TypeConstraint
342 - there is now a default constraint of sub { 1 }
343 instead of Moose::Util::TypeConstraints setting
344 this for us
345
4734114b 346 * Moose::Meta::TypeCoercion
347 * Moose::Meta::TypeCoercion::Union
348 - added the &has_coercion_for_type and
349 &add_type_coercions methods to support the
41e007e4 350 new features above (although you cannot add
351 more type coercions for Union types)
352
ffcb48b4 3530.31 Mon. Nov. 26, 2007
f3c4e20e 354 * Moose::Meta::Attribute
4734114b 355 - made the +attr syntax handle extending types with
f3c4e20e 356 parameters. So "has '+foo' => (isa => 'ArrayRef[Int]')"
357 now works if the original foo is an ArrayRef.
358 - added tests for this.
359 - delegation now works even if the attribute does not
360 have a reader method using the get_read_method_ref
4734114b 361 method from Class::MOP::Attribute.
f3c4e20e 362 - added tests for this
363 - added docs for this
4734114b 364
f3c4e20e 365 * Moose::Util::TypeConstraints
4734114b 366 - passing no "additional attribute info" to
367 &find_or_create_type_constraint will no longer
368 attempt to create an __ANON__ type for you,
f3c4e20e 369 instead it will just return undef.
370 - added docs for this
371
1edfdf1c 3720.30 Fri. Nov. 23, 2007
ca168e89 373 * Moose::Meta::Method::Constructor
374 -builder related bug in inlined constructor. (groditi)
375
3822d5ee 376 * Moose::Meta::Method::Accessor
377 - genereate unnecessary calls to predicates and refactor
378 code generation for runtime speed (groditi)
379
5d776bdf 380 * Moose::Util::TypeConstraints
0e0709ea 381 - fix ClassName constraint to introspect symbol table (mst)
a0f8153d 382 - added more tests for this (mst)
383 - fixed it so that subtype 'Foo' => as 'HashRef[Int]' ...
384 with work correctly.
385 - added tests for this
5d776bdf 386
1edfdf1c 387 * Moose::Cookbook
388 - adding the link to Recipie 11 (written by Sartak)
389 - adding test for SYNOPSIS code
390
4734114b 391 * t/
ca168e89 392 - New tests for builder bug. Upon instantiation, if an
393 attribute had a builder, no value and was not lazy the
394 builder default was not getting run, oops. (groditi)
395
b97b9655 3960.29 Tues. Nov. 13, 2007
0b26305c 397 * Moose::Meta::Attribute
5d776bdf 398 - Fix error message on missing builder method (groditi)
0b26305c 399
400 * Moose::Meta::Method::Accessor
5d776bdf 401 - Fix error message on missing builder method (groditi)
0b26305c 402
4734114b 403 * t/
5d776bdf 404 - Add test to check for the correct error message when
405 builder method is missing (groditi)
0b26305c 406
98c4c382 4070.28 Tues. Nov. 13, 2007
4734114b 408 - 0.27 packaged incorrectly (groditi)
98c4c382 409
e134cd19 4100.27 Tues. Nov. 13, 2007
26fbace8 411 * Moose::Meta::Attribute
412 - Added support for the new builder option (groditi)
6af1a927 413 - Added support for lazy_build option (groditi)
1ed0b94f 414 - Changed slot initialization for predicate changes (groditi)
26fbace8 415
416 * Moose::Meta::Method::Accessor
6af1a927 417 - Added support for lazy_build option (groditi)
4734114b 418 - Fix inline methods to work with corrected predicate
28669f89 419 behavior (groditi)
26fbace8 420
7a5b07b3 421 * Moose::Meta::Method::Constructor
422 - Added support for lazy_build option (groditi)
423
26fbace8 424 * t/
28669f89 425 - tests for builder and lazy_build (groditi)
26fbace8 426
4734114b 427 * fixing some misc. bits in the docs that
28669f89 428 got mentioned on CPAN Forum & perlmonks
4734114b 429
e7f8d0c2 430 * Moose::Meta::Role
4734114b 431 - fixed how required methods are handled
e7f8d0c2 432 when they encounter overriden or modified
433 methods from a class (thanks to confound).
434 - added tests for this
5af6a16d 435
3796382a 436 * Moose::Util::TypeConstraint
4734114b 437 - fixed the type notation parser so that
438 the | always creates a union and so is
439 no longer a valid type char (thanks to
440 konobi, mugwump and #moose for working
3796382a 441 this one out.)
442 - added more tests for this
443
77a18c28 4440.26 Thurs. Sept. 27, 2007
445 == New Features ==
4734114b 446
77a18c28 447 * Parameterized Types
4734114b 448 We now support parameterized collection types, such as:
77a18c28 449 ArrayRef[Int] # array or integers
450 HashRef[Object] # a hash with object values
451 They can also be nested:
452 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
453 And work with the type unions as well:
454 ArrayRef[Int | Str] # array of integers of strings
4734114b 455
77a18c28 456 * Better Framework Extendability
4734114b 457 Moose.pm is now "extendable" such that it is now much
458 easier to extend the framework and add your own keywords
77a18c28 459 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
460 section of the Moose.pm docs.
4734114b 461
77a18c28 462 * Moose Snacks!
4734114b 463 In an effort to begin documenting some of the various
464 details of Moose as well as some common idioms, we have
465 created Moose::Cookbook::Snacks as a place to find
77a18c28 466 small (easily digestable) nuggets of Moose code.
4734114b 467
77a18c28 468 ====
fb697a87 469 ~ Several doc updates/cleanup thanks to castaway ~
4734114b 470
471 - converted build system to use Module::Install instead of
e46f5cc2 472 Module::Build (thanks to jrockway)
fb697a87 473
d67145ed 474 * Moose
4734114b 475 - added all the meta classes to the immutable list and
d67145ed 476 set it to inline the accessors
4734114b 477 - fix import to allow Sub::Exporter like { into => }
e59a5c29 478 and { into_level => } (perigrin)
4734114b 479 - exposed and documented init_meta() to allow better
e59a5c29 480 embedding and extending of Moose (perigrin)
4734114b 481
e59a5c29 482 * t/
483 - complete re-organization of the test suite
4734114b 484 - added some new tests as well
77a18c28 485 - finally re-enabled the Moose::POOP test since
486 the new version of DBM::Deep now works again
487 (thanks rob)
b468a3d3 488
489 * Moose::Meta::Class
4734114b 490 - fixed very odd and very nasty recursion bug with
b468a3d3 491 inner/augment (mst)
492 - added tests for this (eilara)
d67145ed 493
3726f905 494 * Moose::Meta::Attribute
495 Moose::Meta::Method::Constructor
496 Moose::Meta::Method::Accessor
4734114b 497 - fixed issue with overload::Overloaded getting called
f1917f58 498 on non-blessed items. (RT #29269)
3726f905 499 - added tests for this
4734114b 500
3ccdc84a 501 * Moose::Meta::Method::Accessor
4734114b 502 - fixed issue with generated accessor code making
3ccdc84a 503 assumptions about hash based classes (thanks to dexter)
4734114b 504
3726f905 505 * Moose::Coookbook::Snacks
4734114b 506 - these are bits of documentation, not quite as big as
507 Recipes but which have no clear place in the module docs.
3726f905 508 So they are Snacks! (horray for castaway++)
509
07cde929 510 * Moose::Cookbook::Recipe4
511 - updated it to use the new ArrayRef[MyType] construct
512 - updated the accompanying test as well
513
3726f905 514 +++ Major Refactor of the Type Constraint system +++
515 +++ with new features added as well +++
516
22aed3c0 517 * Moose::Util::TypeConstraint
4734114b 518 - no longer uses package variable to keep track of
22aed3c0 519 the type constraints, now uses the an instance of
520 Moose::Meta::TypeConstraint::Registry to do it
f1917f58 521 - added more sophisticated type notation parsing
522 (thanks to mugwump)
523 - added tests for this
22aed3c0 524
d67145ed 525 * Moose::Meta::TypeConstraint
526 - some minor adjustments to make subclassing easier
4734114b 527 - added the package_defined_in attribute so that we
22aed3c0 528 can track where the type constraints are created
4734114b 529
d67145ed 530 * Moose::Meta::TypeConstraint::Union
4734114b 531 - this is now been refactored to be a subclass of
3726f905 532 Moose::Meta::TypeConstraint
4734114b 533
3726f905 534 * Moose::Meta::TypeCoercion::Union
535 - this has been added to service the newly refactored
4734114b 536 Moose::Meta::TypeConstraint::Union and is itself
3726f905 537 a subclass of Moose::Meta::TypeCoercion
4734114b 538
0fbd4b0a 539 * Moose::Meta::TypeConstraint::Parameterized
d67145ed 540 - added this module (taken from MooseX::AttributeHelpers)
541 to help construct nested collection types
542 - added tests for this
4734114b 543
22aed3c0 544 * Moose::Meta::TypeConstraint::Registry
545 - added this class to keep track of type constraints
d67145ed 546
887169d7 5470.25 Mon. Aug. 13, 2007
8eca434b 548 * Moose
4734114b 549 - Documentation update to reference Moose::Util::TypeConstraints
550 under 'isa' in 'has' for how to define a new type
8eca434b 551 (thanks to shlomif).
552
ab859145 553 * Moose::Meta::Attribute
4734114b 554 - required attributes now will no longer accept undef
ab859145 555 from the constructor, even if there is a default and lazy
556 - added tests for this
4734114b 557 - default subroutines must return a value which passes the
7a5ebc40 558 type constraint
559 - added tests for this
4734114b 560
a909a4df 561 * Moose::Meta::Attribute
562 * Moose::Meta::Method::Constructor
4734114b 563 * Moose::Meta::Method::Accessor
a909a4df 564 - type-constraint tests now handle overloaded objects correctly
565 in the error message
4734114b 566 - added tests for this (thanks to EvanCarroll)
ab859145 567
8eca434b 568 * Moose::Meta::TypeConstraint::Union
4734114b 569 - added (has_)hand_optimized_constraint to this class so that
8eca434b 570 it behaves as the regular Moose::Meta::TypeConstraint does.
571
5868294f 572 * Moose::Meta::Role
887169d7 573 - large refactoring of this code
4734114b 574 - added several more tests
575 - tests for subtle conflict resolition issues
7125b244 576 added, but not currently running
577 (thanks to kolibre)
578
4734114b 579 * Moose::Cookbook::Recipe7
580 - added new recipe for augment/inner functionality
887169d7 581 (still in progress)
7125b244 582 - added test for this
5868294f 583
24a8fe99 584 * Moose::Spec::Role
7125b244 585 - a formal definition of roles (still in progress)
24a8fe99 586
9a641848 587 * Moose::Util
887169d7 588 - utilities for easier working with Moose classes
7125b244 589 - added tests for these
9a641848 590
591 * Test::Moose
887169d7 592 - This contains Moose specific test functions
7125b244 593 - added tests for these
9a641848 594
6b4c1bdd 5950.24 Tues. July 3, 2007
596 ~ Some doc updates/cleanup ~
c84f324f 597
598 * Moose::Meta::Attribute
4734114b 599 - added support for roles to be given as parameters
c84f324f 600 to the 'handles' option.
601 - added tests and docs for this
4734114b 602 - the has '+foo' attribute form now accepts changes to
83cc9094 603 the lazy option, and the addition of a handles option
604 (but not changing the handles option)
605 - added tests and docs for this
c84f324f 606
1db8ecc7 607 * Moose::Meta::Role
608 - required methods are now fetched using find_method_by_name
609 so that required methods can come from superclasses
610 - adjusted tests for this
611
81941e9b 6120.23 Mon. June 18, 2007
73b84d2e 613 * Moose::Meta::Method::Constructor
614 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
ac2dc464 615 * Moose::Meta::Class
616 - Modify make_immutable to work with the new Class::MOP immutable
617 mechanism + POD + very basic test (groditi)
cbe25729 618 * Moose::Meta::Attribute
4734114b 619 - Fix handles to use goto() so that caller() comes out properly on
cbe25729 620 the other side (perigrin)
ac2dc464 621
db53853c 6220.22 Thurs. May 31, 2007
3969267d 623 * Moose::Util::TypeConstraints
4734114b 624 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
db53853c 625 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
626 prototypes for functions
4734114b 627 - added the ClassName type constraint, this checks for strings
628 which will respond true to ->isa(UNIVERSAL).
9af1d28b 629 - added tests and docs for this
4734114b 630 - subtyping just in name now works correctly by making the
86629f93 631 default for where be { 1 }
4734114b 632 - added test for this
3969267d 633
d7611a4a 634 * Moose::Meta::Method::Accessor
4734114b 635 - coerce and lazy now work together correctly, thanks to
d7611a4a 636 merlyn for finding this bug
637 - tests added for this
df492bba 638 - fix reader presedence bug in Moose::Meta::Attribute + tests
d7611a4a 639
86629f93 640 * Moose::Object
641 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
4734114b 642 a HASH-ref and missed. This produces better error messages then
86629f93 643 having it die cause undef is not a HASH.
644 - added tests for this
645
74a0a945 6460.21 Thursday, May 2nd, 2007
52c7c330 647 * Moose
648 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
649 - modified unimport to remove super and inner along with the rest
650 - altered unimport tests to handle this
651
652 * Moose::Role
653 - altered super export to populate SUPER_SLOT
654
655 * Moose::Meta::Class
656 - altered augment and override modifier application to use *_SLOT
657 - modified tests for these to unimport one test class each to test
658
492d4d76 659 * Moose::Meta::Role
660 - fixed issue where custom attribute metaclasses
661 where not handled correctly in roles
662 - added tests for this
4734114b 663
5cb193ed 664 * Moose::Meta::Class
4734114b 665 - fixed issue where extending metaclasses with
5cb193ed 666 roles would blow up. Thanks to Aankhen`` for
667 finding this insidious error, and it's solution.
4734114b 668
669 ~~ lots of spelling and grammer fixes in the docs,
0305961b 670 many many thanks to rlb3 and Aankhen for these :)
492d4d76 671
e518dfb4 6720.20 Friday, April 6th, 2007
a60285b3 673 >> I messed up the SKIP logic in one test
674 so this release is just to fix that.
675
93c435b3 676 * Moose
677 - 'has' now also accepts an ARRAY ref
678 to create multiple attrs (see docs)
679 (thanks to konobi for this)
4734114b 680 - added tests and docs
93c435b3 681
cd7eeaf5 6820.19 Thurs. April 5th, 2007
683 ~~ More documentation updates ~~
684
c899258b 685 * Moose::Util::TypeConstraints
c1935ade 686 - 'type' now supports messages as well
ddbdc0cb 687 thanks to phaylon for finding this
c899258b 688 - added tests for this
4734114b 689 - added &list_all_type_constraints and
c1935ade 690 &list_all_builtin_type_constraints
943596a6 691 functions to facilitate introspection.
4734114b 692
d022f632 693 * Moose::Meta::Attribute
4734114b 694 - fixed regexp 'handles' declarations
d022f632 695 to build the list of delegated methods
4734114b 696 correctly (and not override important
697 things like &new) thanks to ashleyb
ddbdc0cb 698 for finding this
699 - added tests and docs for this
c1935ade 700 - added the 'documentation' attributes
4734114b 701 so that you can actually document your
702 attributes and inspect them through the
ddbdc0cb 703 meta-object.
d022f632 704 - added tests and docs for this
705
c1935ade 706 * Moose::Meta::Class
707 - when loading custom attribute metaclasses
4734114b 708 it will first look in for the class in the
709 Moose::Meta::Attribute::Custom::$name, and
c1935ade 710 then default to just loading $name.
711 - added tests and docs for this
712
900466d6 713 * Moose::Meta::TypeConstraint
714 - type constraints now stringify to their names.
715 - added test for this
716
d022f632 717 * misc.
4734114b 718 - added tests to assure we work with Module::Refresh
719 - added stricter test skip logic in the Moose POOP
ddbdc0cb 720 test, ask Rob Kinyon why.
721 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
c899258b 722
af5199c6 7230.18 Sat. March 10, 2007
724 ~~ Many, many documentation updates ~~
ddbdc0cb 725
726 * misc.
4734114b 727 - We now use Class::MOP::load_class to
728 load all classes.
729 - added tests to show types and subtypes
ddbdc0cb 730 working with Declare::Constraints::Simple
731 and Test::Deep as constraint engines.
b77fdbed 732
587ae0d2 7330.18_001
d01f1dab 734 !! You must have Class::MOP 0.37_001 !!
735 !! for this developer release to work !!
736
734d1752 737 This release was primarily adding the immutable
4734114b 738 feature to Moose. An immutable class is one which
739 you promise not to alter. When you set the class
740 as immutable it will perform various bits of
734d1752 741 memoization and inline certain part of the code
4734114b 742 (constructors, destructors and accessors). This
734d1752 743 minimizes (and in some cases totally eliminates)
4734114b 744 one of Moose's biggest performance hits. This
734d1752 745 feature is not on by default, and is 100% optional.
4734114b 746 It has several configurable bits as well, so you
734d1752 747 can pick and choose to your specific needs.
4734114b 748
749 The changes involved in this were fairly wide and
750 highly specific, but 100% backwards compatible, so
751 I am not going to enumerate them here. If you are
752 truely interested in what was changed, please do
734d1752 753 a diff :)
587ae0d2 754
7550.17 Tues. Nov. 14, 2006
756 * Moose::Meta::Method::Accessor
4734114b 757 - bugfix for read-only accessors which
587ae0d2 758 are have a type constraint and lazy.
759 Thanks to chansen for finding it.
760
7610.16 Tues. Nov. 14, 2006
762 ++ NOTE ++
4734114b 763 There are some speed improvements in this release,
587ae0d2 764 but they are only the begining, so stay tuned.
4734114b 765
587ae0d2 766 * Moose::Object
4734114b 767 - BUILDALL and DEMOLISHALL no longer get
587ae0d2 768 called unless they actually need to be.
769 This gave us a signifigant speed boost
4734114b 770 for the cases when there is no BUILD or
587ae0d2 771 DEMOLISH method present.
4734114b 772
587ae0d2 773 * Moose::Util::TypeConstraints
774 * Moose::Meta::TypeConstraint
4734114b 775 - added an 'optimize_as' option to the
587ae0d2 776 type constraint, which allows for a
4734114b 777 hand optimized version of the type
587ae0d2 778 constraint to be used when possible.
779 - Any internally created type constraints
780 now provide an optimized version as well.
781
ecb59493 7820.15 Sun. Nov. 5, 2006
946289d1 783 ++ NOTE ++
4734114b 784 This version of Moose *must* have Class::MOP 0.36 in order
785 to work correctly. A number of small internal tweaks have
946289d1 786 been made in order to be compatible with that release.
571dd39f 787
788 * Moose::Util::TypeConstraints
4734114b 789 - added &unimport so that you can clean out
790 your class namespace of these exported
571dd39f 791 keywords
4734114b 792
37ee30c9 793 * Moose::Meta::Class
4734114b 794 - fixed minor issue which occasionally
795 comes up during global destruction
37ee30c9 796 (thanks omega)
4734114b 797 - moved Moose::Meta::Method::Overriden into
946289d1 798 its own file.
4734114b 799
800 * Moose::Meta::Role
801 - moved Moose::Meta::Role::Method into
946289d1 802 its own file.
4734114b 803
43123819 804 * Moose::Meta::Attribute
4734114b 805 - changed how we do type checks so that
806 we reduce the overall cost, but still
7623f774 807 retain correctness.
946289d1 808 *** API CHANGE ***
4734114b 809 - moved accessor generation methods to
810 Moose::Meta::Method::Accessor to
811 conform to the API changes from
946289d1 812 Class::MOP 0.36
4734114b 813
43123819 814 * Moose::Meta::TypeConstraint
815 - changed how constraints are compiled
816 so that we do less recursion and more
4734114b 817 iteration. This makes the type check
43123819 818 faster :)
946289d1 819 - moved Moose::Meta::TypeConstraint::Union
820 into its own file
4734114b 821
946289d1 822 * Moose::Meta::Method::Accessor
4734114b 823 - created this from methods formerly found in
946289d1 824 Moose::Meta::Attribute
4734114b 825
946289d1 826 * Moose::Meta::Role::Method
827 - moved this from Moose::Meta::Role
4734114b 828
946289d1 829 * Moose::Meta::Method::Overriden
830 - moved this from Moose::Meta::Class
4734114b 831
946289d1 832 * Moose::Meta::TypeConstraint::Union
833 - moved this from Moose::Meta::TypeConstraint
37ee30c9 834
3ec7b7a3 8350.14 Mon. Oct. 9, 2006
4fd69d6c 836
837 * Moose::Meta::Attribute
4734114b 838 - fixed lazy attributes which were not getting
4fd69d6c 839 checked with the type constraint (thanks ashley)
840 - added tests for this
4734114b 841 - removed the over-enthusiastic DWIMery of the
842 automatic ArrayRef and HashRef defaults, it
3ec7b7a3 843 broke predicates in an ugly way.
844 - removed tests for this
4fd69d6c 845
c0c41f76 8460.13 Sat. Sept. 30, 2006
093b12c2 847 ++ NOTE ++
4734114b 848 This version of Moose *must* have Class::MOP 0.35 in order
849 to work correctly. A number of small internal tweaks have
093b12c2 850 been made in order to be compatible with that release.
851
3c2bc5e2 852 * Moose
853 - Removed the use of UNIVERSAL::require to be a better
4734114b 854 symbol table citizen and remove a dependency
093b12c2 855 (thanks Adam Kennedy)
3c2bc5e2 856
2a0f3bd3 857 **~~ removed experimental & undocumented feature ~~**
4734114b 858 - commented out the 'method' and 'self' keywords, see the
2a0f3bd3 859 comments for more info.
860
e95c7c42 861 * Moose::Cookbook
4734114b 862 - added a FAQ and WTF files to document frequently
e95c7c42 863 asked questions and common problems
4734114b 864
3f7376b0 865 * Moose::Util::TypeConstraints
0a5bd159 866 - added GlobRef and FileHandle type constraint
3f7376b0 867 - added tests for this
4734114b 868
3f7376b0 869 * Moose::Meta::Attribute
870 - if your attribute 'isa' ArrayRef of HashRef, and you have
871 not explicitly set a default, then make the default DWIM.
4734114b 872 This will also work for subtypes of ArrayRef and HashRef
94b8bbb8 873 as well.
874 - you can now auto-deref subtypes of ArrayRef or HashRef too.
875 - new test added for this (thanks to ashley)
4734114b 876
b805c70c 877 * Moose::Meta::Role
878 - added basic support for runtime role composition
4734114b 879 but this is still *highly experimental*, so feedback
0a5bd159 880 is much appreciated :)
b805c70c 881 - added tests for this
e95c7c42 882
0a5bd159 883 * Moose::Meta::TypeConstraint
884 - the type constraint now handles the coercion process
4734114b 885 through delegation, this is to support the coercion
0a5bd159 886 of unions
4734114b 887
0a5bd159 888 * Moose::Meta::TypeConstraint::Union
4734114b 889 - it is now possible for coercions to be performed
0a5bd159 890 on a type union
891 - added tests for this (thanks to konobi)
892
e95c7c42 893 * Moose::Meta::TypeCoercion
4734114b 894 - properly capturing error when type constraint
e95c7c42 895 is not found
896
3c2bc5e2 897 * Build.PL
898 - Scalar::Util 1.18 is bad on Win32, so temporarily
899 only require version 1.17 for Win32 and cygwin.
4734114b 900 (thanks Adam Kennedy)
3c2bc5e2 901
40e89659 9020.12 Sat. Sept. 1, 2006
2bdd01cd 903 * Moose::Cookbook
904 - Recipe5 (subtypes & coercion) has been written
4734114b 905
2bdd01cd 906 * Moose
4734114b 907 - fixed "bad meta" error message to be more descriptive
908 - fixed &unimport to not remove the &inner and &super
3279ab4a 909 keywords because we need to localize them.
68efb014 910 - fixed number of spelling/grammer issues, thanks Theory :)
4734114b 911
0558683c 912 **~~ experimental & undocumented feature ~~**
4734114b 913 - added the method and self keywords, they are basically
68efb014 914 just sugar, and they may not stay around.
4734114b 915
f742dfef 916 * Moose::Object
4734114b 917 - added &dump method to easily Data::Dumper
68efb014 918 an object
4734114b 919
b26e162e 920 * Moose::Meta::TypeConstraint
921 - added the &is_a_type_of method to check both the current
922 and the subtype of a method (similar to &isa with classes)
f008ac1f 923
68efb014 924 * Moose::Meta::Role
925 - this is now a subclass of Class::MOP::Module, and no longer
4734114b 926 creates the _role_meta ugliness of before.
68efb014 927 - fixed tests to reflect this change
4734114b 928
8c835eba 9290.11 Wed. July 12, 2006
31f8ec72 930 * Moose
931 - added an &unimport method to remove all the keywords
4734114b 932 that Moose will import, simply add 'no Moose' to the
933 bottom of your class file.
934
31f8ec72 935 * t/
4734114b 936 - fixed some test failures caused by a forgotten test
31f8ec72 937 dependency.
938
864cd714 9390.10 Thurs. July 6, 2006
01a8e221 940 * Moose
941 - improved error message when loading modules so
942 it is less confusing when you load a role.
4734114b 943 - added &calculate_all_roles method to
2b14ac61 944 Moose::Meta::Class and Moose::Meta::Role
4734114b 945
2b14ac61 946 NOTE:
947 This module has been tested against Class::MOP 0.30
4734114b 948 but it does not yet utilize the optimizations
2b14ac61 949 it makes available. Stay tuned for that ;)
4734114b 950
2b14ac61 9510.09_03 Fri. June 23, 2006
715ea0b7 952 ++ DEVELOPER RELEASE ++
4276ccb4 953 * Moose
954 - 'use strict' and 'use warnings' are no longer
4734114b 955 needed in Moose classes, Moose itself will
4276ccb4 956 turn them on for you.
957 - added tests for this
1341f10c 958 - moved code from exported subs to private methods
959 in Moose::Meta::Class
4734114b 960
4276ccb4 961 * Moose::Role
4734114b 962 - as with Moose, strict and warnings are
4276ccb4 963 automatically turned on for you.
4734114b 964 - added tests for this
965
e39d707f 966 * Moose::Meta::Role
967 - now handles an edge case for override errors
968 - added tests for this
b7f2d25b 969 - added some more edge case tests
1341f10c 970
43d599e5 9710.09_02 Tues. May 16, 2006
715ea0b7 972 ++ DEVELOPER RELEASE ++
2c0cbef7 973 * Moose
974 - added prototypes to the exported subs
43d599e5 975 - updated docs
4734114b 976
2c0cbef7 977 * Moose::Role
4734114b 978 - added prototypes to the exported subs
43d599e5 979 - updated docs
4734114b 980
2c0cbef7 981 * Moose::Util::TypeConstraints
4734114b 982 - cleaned up prototypes for the subs
983 - updated docs
2c0cbef7 984
72c4f6d1 9850.09_01 Fri. May 12, 2006
986 ++ DEVELOPER RELEASE ++
4734114b 987 - This release works in combination with
988 Class::MOP 0.29_01, it is a developer
989 release because it uses the a new
72c4f6d1 990 instance sub-protocol and a fairly
4734114b 991 complete Role implementation. It has
72c4f6d1 992 not yet been optimized, so it slower
4734114b 993 the the previous CPAN version. This
994 release also lacks good updated docs,
72c4f6d1 995 the official release will have updated docs.
996
4734114b 997 * Moose
98aae381 998 - refactored the keyword exports
4734114b 999 - 'with' now checks Role validaity and
db1ab48d 1000 accepts more than one Role at a time
4734114b 1001 - 'extends' makes metaclass adjustments as
98aae381 1002 needed to ensure metaclass compatability
4734114b 1003
72c4f6d1 1004 * Moose::Role
1005 - refactored the keyword exports
4734114b 1006 - 'with' now checks Role validaity and
72c4f6d1 1007 accepts more than one Role at a time
4734114b 1008
98aae381 1009 * Moose::Util::TypeConstraints
4734114b 1010 - added the 'enum' keyword for simple
1011 string enumerations which can be used as
98aae381 1012 type constraints
db1ab48d 1013 - see example of usage in t/202_example.t
4734114b 1014
98aae381 1015 * Moose::Object
1016 - more careful checking of params to new()
4734114b 1017
72c4f6d1 1018 * Moose::Meta::Role
1019 - much work done on the role composition
4734114b 1020 - many new tests for conflict detection
72c4f6d1 1021 and composition edge cases
4734114b 1022 - not enough documentation, I suggest
1023 looking at the tests
1024
98aae381 1025 * Moose::Meta::Instance
4734114b 1026 - added new Instance metaclass to support
98aae381 1027 the new Class::MOP instance protocol
4734114b 1028
98aae381 1029 * Moose::Meta::Class
4734114b 1030 - some small changes to support the new
98aae381 1031 instance protocol
72c4f6d1 1032 - some small additions to support Roles
4734114b 1033
98aae381 1034 * Moose::Meta::Attribute
1035 - some improvements to the accessor generation code
1036 by nothingmuch
4734114b 1037 - some small changes to support the new
98aae381 1038 instance protocol
4734114b 1039 - (still somewhat) experimental delegation support
98aae381 1040 with the 'handles' option
1041 - added several tests for this
db1ab48d 1042 - no docs for this yet
98aae381 1043
35c8b8f2 10440.05 Thurs. April 27, 2006
2d562421 1045 * Moose
1046 - keywords are now exported with Sub::Exporter
1047 thanks to chansen for this commit
4734114b 1048 - has keyword now takes a 'metaclass' option
1049 to support custom attribute meta-classes
590868a3 1050 on a per-attribute basis
4734114b 1051 - added tests for this
daea75c9 1052 - the 'has' keyword not accepts inherited slot
4734114b 1053 specifications (has '+foo'). This is still an
daea75c9 1054 experimental feature and probably not finished
4734114b 1055 see t/038_attribute_inherited_slot_specs.t for
daea75c9 1056 more details, or ask about it on #moose
fcb7afc2 1057 - added tests for this
4734114b 1058
2d562421 1059 * Moose::Role
1060 - keywords are now exported with Sub::Exporter
1061
5204cd52 1062 * Moose::Utils::TypeConstraints
cce8198b 1063 - reorganized the type constraint hierarchy, thanks
4734114b 1064 to nothingmuch and chansen for his help and advice
cce8198b 1065 on this
1066 - added some tests for this
7eaef7ad 1067 - keywords are now exported with Sub::Exporter
35c8b8f2 1068 thanks to chansen for this commit
5204cd52 1069
d500266f 1070 * Moose::Meta::Class
1071 - due to changes in Class::MOP, we had to change
1072 construct_instance (for the better)
4734114b 1073
d500266f 1074 * Moose::Meta::Attribute
4734114b 1075 - due to changes in Class::MOP, we had to add the
d500266f 1076 initialize_instance_slot method (it's a good thing)
4734114b 1077
cce8198b 1078 * Moose::Meta::TypeConstraint
4734114b 1079 - added type constraint unions
c07af9d2 1080 - added tests for this
cce8198b 1081 - added the is_subtype_of predicate method
1082 - added tests for this
d500266f 1083
02a0fb52 10840.04 Sun. April 16th, 2006
1331430a 1085 * Moose::Role
1086 - Roles can now consume other roles
1087 - added tests for this
4734114b 1088 - Roles can specify required methods now with
1331430a 1089 the requires() keyword
1090 - added tests for this
1091
bdabd620 1092 * Moose::Meta::Role
1093 - ripped out much of it's guts ,.. much cleaner now
4734114b 1094 - added required methods and correct handling of
fa1be058 1095 them in apply() for both classes and roles
1096 - added tests for this
4734114b 1097 - no longer adds a does() method to consuming classes
1331430a 1098 it relys on the one in Moose::Object
4734114b 1099 - added roles attribute and some methods to support
1331430a 1100 roles consuming roles
8c9d74e7 1101
1102 * Moose::Meta::Attribute
1103 - added support for triggers on attributes
1104 - added tests for this
4734114b 1105 - added support for does option on an attribute
02a0fb52 1106 - added tests for this
4734114b 1107
8c9d74e7 1108 * Moose::Meta::Class
4734114b 1109 - added support for attribute triggers in the
8c9d74e7 1110 object construction
1111 - added tests for this
4734114b 1112
256903b6 1113 * Moose
4734114b 1114 - Moose no longer creates a subtype for your class
1115 if a subtype of the same name already exists, this
256903b6 1116 should DWIM in 99.9999% of all cases
4734114b 1117
256903b6 1118 * Moose::Util::TypeConstraints
4734114b 1119 - fixed bug where incorrect subtype conflicts were
256903b6 1120 being reported
8c9d74e7 1121 - added test for this
4734114b 1122
8c9d74e7 1123 * Moose::Object
1124 - this class can now be extended with 'use base' if
1125 you need it, it properly loads the metaclass class now
1126 - added test for this
bdabd620 1127
0677220d 11280.03_02 Wed. April 12, 2006
05d9eaf6 1129 * Moose
1130 - you must now explictly use Moose::Util::TypeConstraints
1131 it no longer gets exported for you automatically
4734114b 1132
05d9eaf6 1133 * Moose::Object
1134 - new() now accepts hash-refs as well as key/value lists
0677220d 1135 - added does() method to check for Roles
1136 - added tests for this
05d9eaf6 1137
0677220d 1138 * Moose::Meta::Class
4734114b 1139 - added roles attribute along with the add_role() and
0677220d 1140 does_role() methods
4734114b 1141 - added tests for this
0677220d 1142
1143 * Moose::Meta::Role
4734114b 1144 - now adds a does() method to consuming classes
0677220d 1145 which tests the class's hierarchy for roles
1146 - added tests for this
1147
11480.03_01 Mon. April 10, 2006
e9ec68d6 1149 * Moose::Cookbook
76d37e5a 1150 - added new Role recipe (no content yet, only code)
4734114b 1151
e9ec68d6 1152 * Moose
1153 - added 'with' keyword for Role support
1154 - added test and docs for this
1155 - fixed subtype quoting bug
4734114b 1156 - added test for this
e9ec68d6 1157
1158 * Moose::Role
1159 - Roles for Moose
1160 - added test and docs
76d37e5a 1161
1162 * Moose::Util::TypeConstraints
1163 - added the message keyword to add custom
4734114b 1164 error messages to type constraints
1165
e9ec68d6 1166 * Moose::Meta::Role
1167 - the meta role to support Moose::Role
1168 - added tests and docs
4734114b 1169
e9ec68d6 1170 * Moose::Meta::Class
4734114b 1171 - moved a number of things from Moose.pm
1172 to here, they should have been here
e9ec68d6 1173 in the first place
1174
1175 * Moose::Meta::Attribute
1176 - moved the attribute option macros here
1177 instead of putting them in Moose.pm
e185c027 1178
76d37e5a 1179 * Moose::Meta::TypeConstraint
4734114b 1180 - added the message attributes and the
76d37e5a 1181 validate method
1182 - added tests and docs for this
1183
0ac928d2 11840.03 Thurs. March 30, 2006
e9bb8a31 1185 * Moose::Cookbook
4734114b 1186 - added the Moose::Cookbook with 5 recipes,
e9bb8a31 1187 describing all the stuff Moose can do.
1188
d7f17ebb 1189 * Moose
1190 - fixed an issue with &extends super class loading
4734114b 1191 it now captures errors and deals with inline
1192 packages correctly (bug found by mst, solution
d7f17ebb 1193 stolen from alias)
159da176 1194 - added super/override & inner/augment features
1195 - added tests and docs for these
4734114b 1196
d7f17ebb 1197 * Moose::Object
4734114b 1198 - BUILDALL now takes a reference of the %params
1199 that are passed to &new, and passes that to
d7f17ebb 1200 each BUILD as well.
4734114b 1201
471c4f09 1202 * Moose::Util::TypeConstraints
1203 - Type constraints now survive runtime reloading
1204 - added test for this
d7f17ebb 1205
8339fae2 1206 * Moose::Meta::Class
4734114b 1207 - fixed the way attribute defaults are handled
8339fae2 1208 during instance construction (bug found by chansen)
1209
d7f17ebb 1210 * Moose::Meta::Attribute
1211 - read-only attributes now actually enforce their
4734114b 1212 read-only-ness (this corrected in Class::MOP as
9deed647 1213 well)
d7f17ebb 1214
076c81ed 12150.02 Tues. March 21, 2006
fc5609d2 1216 * Moose
4734114b 1217 - many more tests, fixing some bugs and
b841b2a3 1218 edge cases
b841b2a3 1219 - &extends now loads the base module with
4734114b 1220 UNIVERSAL::require
1221 - added UNIVERSAL::require to the
b841b2a3 1222 dependencies list
6ba6d68c 1223 ** API CHANGES **
4734114b 1224 - each new Moose class will also create
1225 and register a subtype of Object which
1226 correspond to the new Moose class.
1227 - the 'isa' option in &has now only
1228 accepts strings, and will DWIM in
b841b2a3 1229 almost all cases
4734114b 1230
b841b2a3 1231 * Moose::Util::TypeConstraints
1232 - added type coercion features
1233 - added tests for this
4734114b 1234 - added support for this in attributes
b841b2a3 1235 and instance construction
6ba6d68c 1236 ** API CHANGES **
4734114b 1237 - type construction no longer creates a
b841b2a3 1238 function, it registers the type instead.
4734114b 1239 - added several functions to get the
1240 registered types
6ba6d68c 1241
1242 * Moose::Object
4734114b 1243 - BUILDALL and DEMOLISHALL were broken
6ba6d68c 1244 because of a mis-named hash key, Whoops :)
4734114b 1245
b841b2a3 1246 * Moose::Meta::Attribute
1247 - adding support for coercion in the
1248 autogenerated accessors
4734114b 1249
b841b2a3 1250 * Moose::Meta::Class
1251 - adding support for coercion in the
4734114b 1252 instance construction
6ba6d68c 1253
1254 * Moose::Meta::TypeConstraint
1255 * Moose::Meta::TypeCoercion
4734114b 1256 - type constraints and coercions are now
6ba6d68c 1257 full fledges meta-objects
fc5609d2 1258
e522431d 12590.01 Wed. March 15, 2006
900466d6 1260 - Moooooooooooooooooose!!!