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