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