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