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