let wrapped/overridden methods be inherited instead of only local; complain more...
[gitmo/Moose.git] / Changes
CommitLineData
e522431d 1Revision history for Perl extension Moose
2
5af6a16d 30.27
4 * fixing some misc. bits in the docs that
5 got mentioned on CPAN Forum
6
77a18c28 70.26 Thurs. Sept. 27, 2007
8 == New Features ==
9
10 * Parameterized Types
11 We now support parameterized collection types, such as:
12 ArrayRef[Int] # array or integers
13 HashRef[Object] # a hash with object values
14 They can also be nested:
15 ArrayRef[HashRef[RegExpr]] # an array of hashes with regexpr values
16 And work with the type unions as well:
17 ArrayRef[Int | Str] # array of integers of strings
18
19 * Better Framework Extendability
20 Moose.pm is now "extendable" such that it is now much
21 easier to extend the framework and add your own keywords
22 and customizations. See the "EXTENDING AND EMBEDDING MOOSE"
23 section of the Moose.pm docs.
24
25 * Moose Snacks!
26 In an effort to begin documenting some of the various
27 details of Moose as well as some common idioms, we have
28 created Moose::Cookbook::Snacks as a place to find
29 small (easily digestable) nuggets of Moose code.
30
31 ====
fb697a87 32 ~ Several doc updates/cleanup thanks to castaway ~
e46f5cc2 33
34 - converted build system to use Module::Install instead of
35 Module::Build (thanks to jrockway)
fb697a87 36
d67145ed 37 * Moose
38 - added all the meta classes to the immutable list and
39 set it to inline the accessors
9bcfbab1 40 - fix import to allow Sub::Exporter like { into => }
e59a5c29 41 and { into_level => } (perigrin)
9bcfbab1 42 - exposed and documented init_meta() to allow better
e59a5c29 43 embedding and extending of Moose (perigrin)
44
45 * t/
46 - complete re-organization of the test suite
b468a3d3 47 - added some new tests as well
77a18c28 48 - finally re-enabled the Moose::POOP test since
49 the new version of DBM::Deep now works again
50 (thanks rob)
b468a3d3 51
52 * Moose::Meta::Class
53 - fixed very odd and very nasty recursion bug with
54 inner/augment (mst)
55 - added tests for this (eilara)
d67145ed 56
3726f905 57 * Moose::Meta::Attribute
58 Moose::Meta::Method::Constructor
59 Moose::Meta::Method::Accessor
60 - fixed issue with overload::Overloaded getting called
f1917f58 61 on non-blessed items. (RT #29269)
3726f905 62 - added tests for this
63
3ccdc84a 64 * Moose::Meta::Method::Accessor
65 - fixed issue with generated accessor code making
66 assumptions about hash based classes (thanks to dexter)
67
3726f905 68 * Moose::Coookbook::Snacks
69 - these are bits of documentation, not quite as big as
70 Recipes but which have no clear place in the module docs.
71 So they are Snacks! (horray for castaway++)
72
07cde929 73 * Moose::Cookbook::Recipe4
74 - updated it to use the new ArrayRef[MyType] construct
75 - updated the accompanying test as well
76
3726f905 77 +++ Major Refactor of the Type Constraint system +++
78 +++ with new features added as well +++
79
22aed3c0 80 * Moose::Util::TypeConstraint
81 - no longer uses package variable to keep track of
82 the type constraints, now uses the an instance of
83 Moose::Meta::TypeConstraint::Registry to do it
f1917f58 84 - added more sophisticated type notation parsing
85 (thanks to mugwump)
86 - added tests for this
22aed3c0 87
d67145ed 88 * Moose::Meta::TypeConstraint
89 - some minor adjustments to make subclassing easier
22aed3c0 90 - added the package_defined_in attribute so that we
91 can track where the type constraints are created
d67145ed 92
93 * Moose::Meta::TypeConstraint::Union
3726f905 94 - this is now been refactored to be a subclass of
95 Moose::Meta::TypeConstraint
96
97 * Moose::Meta::TypeCoercion::Union
98 - this has been added to service the newly refactored
99 Moose::Meta::TypeConstraint::Union and is itself
100 a subclass of Moose::Meta::TypeCoercion
d67145ed 101
0fbd4b0a 102 * Moose::Meta::TypeConstraint::Parameterized
d67145ed 103 - added this module (taken from MooseX::AttributeHelpers)
104 to help construct nested collection types
105 - added tests for this
18ea2bcc 106
22aed3c0 107 * Moose::Meta::TypeConstraint::Registry
108 - added this class to keep track of type constraints
d67145ed 109
887169d7 1100.25 Mon. Aug. 13, 2007
8eca434b 111 * Moose
112 - Documentation update to reference Moose::Util::TypeConstraints
113 under 'isa' in 'has' for how to define a new type
114 (thanks to shlomif).
115
ab859145 116 * Moose::Meta::Attribute
117 - required attributes now will no longer accept undef
118 from the constructor, even if there is a default and lazy
119 - added tests for this
7a5ebc40 120 - default subroutines must return a value which passes the
121 type constraint
122 - added tests for this
a909a4df 123
124 * Moose::Meta::Attribute
125 * Moose::Meta::Method::Constructor
126 * Moose::Meta::Method::Accessor
127 - type-constraint tests now handle overloaded objects correctly
128 in the error message
129 - added tests for this (thanks to EvanCarroll)
ab859145 130
8eca434b 131 * Moose::Meta::TypeConstraint::Union
132 - added (has_)hand_optimized_constraint to this class so that
133 it behaves as the regular Moose::Meta::TypeConstraint does.
134
5868294f 135 * Moose::Meta::Role
887169d7 136 - large refactoring of this code
24a8fe99 137 - added several more tests
7125b244 138 - tests for subtle conflict resolition issues
139 added, but not currently running
140 (thanks to kolibre)
141
142 * Moose::Cookbook::Recipe7
887169d7 143 - added new recipe for augment/inner functionality
144 (still in progress)
7125b244 145 - added test for this
5868294f 146
24a8fe99 147 * Moose::Spec::Role
7125b244 148 - a formal definition of roles (still in progress)
24a8fe99 149
9a641848 150 * Moose::Util
887169d7 151 - utilities for easier working with Moose classes
7125b244 152 - added tests for these
9a641848 153
154 * Test::Moose
887169d7 155 - This contains Moose specific test functions
7125b244 156 - added tests for these
9a641848 157
6b4c1bdd 1580.24 Tues. July 3, 2007
159 ~ Some doc updates/cleanup ~
c84f324f 160
161 * Moose::Meta::Attribute
162 - added support for roles to be given as parameters
163 to the 'handles' option.
164 - added tests and docs for this
83cc9094 165 - the has '+foo' attribute form now accepts changes to
166 the lazy option, and the addition of a handles option
167 (but not changing the handles option)
168 - added tests and docs for this
c84f324f 169
1db8ecc7 170 * Moose::Meta::Role
171 - required methods are now fetched using find_method_by_name
172 so that required methods can come from superclasses
173 - adjusted tests for this
174
81941e9b 1750.23 Mon. June 18, 2007
73b84d2e 176 * Moose::Meta::Method::Constructor
177 - fix inlined constructor for hierarchy with multiple BUILD methods (mst)
ac2dc464 178 * Moose::Meta::Class
179 - Modify make_immutable to work with the new Class::MOP immutable
180 mechanism + POD + very basic test (groditi)
cbe25729 181 * Moose::Meta::Attribute
182 - Fix handles to use goto() so that caller() comes out properly on
183 the other side (perigrin)
ac2dc464 184
db53853c 1850.22 Thurs. May 31, 2007
3969267d 186 * Moose::Util::TypeConstraints
db53853c 187 - fix for prototype undeclared issue when Moose::Util::TypeConstraints
188 loaded before consumers (e.g. Moose::Meta::Attribute) by predeclaring
189 prototypes for functions
9af1d28b 190 - added the ClassName type constraint, this checks for strings
191 which will respond true to ->isa(UNIVERSAL).
192 - added tests and docs for this
86629f93 193 - subtyping just in name now works correctly by making the
194 default for where be { 1 }
195 - added test for this
3969267d 196
d7611a4a 197 * Moose::Meta::Method::Accessor
198 - coerce and lazy now work together correctly, thanks to
199 merlyn for finding this bug
200 - tests added for this
df492bba 201 - fix reader presedence bug in Moose::Meta::Attribute + tests
d7611a4a 202
86629f93 203 * Moose::Object
204 - Foo->new(undef) now gets ignored, it is assumed you meant to pass
205 a HASH-ref and missed. This produces better error messages then
206 having it die cause undef is not a HASH.
207 - added tests for this
208
74a0a945 2090.21 Thursday, May 2nd, 2007
52c7c330 210 * Moose
211 - added SUPER_SLOT and INNER_SLOT class hashes to support unimport
212 - modified unimport to remove super and inner along with the rest
213 - altered unimport tests to handle this
214
215 * Moose::Role
216 - altered super export to populate SUPER_SLOT
217
218 * Moose::Meta::Class
219 - altered augment and override modifier application to use *_SLOT
220 - modified tests for these to unimport one test class each to test
221
492d4d76 222 * Moose::Meta::Role
223 - fixed issue where custom attribute metaclasses
224 where not handled correctly in roles
225 - added tests for this
5cb193ed 226
227 * Moose::Meta::Class
228 - fixed issue where extending metaclasses with
229 roles would blow up. Thanks to Aankhen`` for
230 finding this insidious error, and it's solution.
b7c751dc 231
0305961b 232 ~~ lots of spelling and grammer fixes in the docs,
233 many many thanks to rlb3 and Aankhen for these :)
492d4d76 234
e518dfb4 2350.20 Friday, April 6th, 2007
a60285b3 236 >> I messed up the SKIP logic in one test
237 so this release is just to fix that.
238
93c435b3 239 * Moose
240 - 'has' now also accepts an ARRAY ref
241 to create multiple attrs (see docs)
242 (thanks to konobi for this)
243 - added tests and docs
244
cd7eeaf5 2450.19 Thurs. April 5th, 2007
246 ~~ More documentation updates ~~
247
c899258b 248 * Moose::Util::TypeConstraints
c1935ade 249 - 'type' now supports messages as well
ddbdc0cb 250 thanks to phaylon for finding this
c899258b 251 - added tests for this
c1935ade 252 - added &list_all_type_constraints and
253 &list_all_builtin_type_constraints
943596a6 254 functions to facilitate introspection.
d022f632 255
256 * Moose::Meta::Attribute
257 - fixed regexp 'handles' declarations
258 to build the list of delegated methods
259 correctly (and not override important
ddbdc0cb 260 things like &new) thanks to ashleyb
261 for finding this
262 - added tests and docs for this
c1935ade 263 - added the 'documentation' attributes
ddbdc0cb 264 so that you can actually document your
265 attributes and inspect them through the
266 meta-object.
d022f632 267 - added tests and docs for this
268
c1935ade 269 * Moose::Meta::Class
270 - when loading custom attribute metaclasses
271 it will first look in for the class in the
272 Moose::Meta::Attribute::Custom::$name, and
273 then default to just loading $name.
274 - added tests and docs for this
275
900466d6 276 * Moose::Meta::TypeConstraint
277 - type constraints now stringify to their names.
278 - added test for this
279
d022f632 280 * misc.
ddbdc0cb 281 - added tests to assure we work with Module::Refresh
282 - added stricter test skip logic in the Moose POOP
283 test, ask Rob Kinyon why.
284 - *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)
c899258b 285
af5199c6 2860.18 Sat. March 10, 2007
287 ~~ Many, many documentation updates ~~
ddbdc0cb 288
289 * misc.
290 - We now use Class::MOP::load_class to
291 load all classes.
292 - added tests to show types and subtypes
293 working with Declare::Constraints::Simple
294 and Test::Deep as constraint engines.
b77fdbed 295
587ae0d2 2960.18_001
d01f1dab 297 !! You must have Class::MOP 0.37_001 !!
298 !! for this developer release to work !!
299
734d1752 300 This release was primarily adding the immutable
301 feature to Moose. An immutable class is one which
302 you promise not to alter. When you set the class
303 as immutable it will perform various bits of
304 memoization and inline certain part of the code
305 (constructors, destructors and accessors). This
306 minimizes (and in some cases totally eliminates)
307 one of Moose's biggest performance hits. This
308 feature is not on by default, and is 100% optional.
309 It has several configurable bits as well, so you
310 can pick and choose to your specific needs.
311
312 The changes involved in this were fairly wide and
313 highly specific, but 100% backwards compatible, so
314 I am not going to enumerate them here. If you are
315 truely interested in what was changed, please do
316 a diff :)
587ae0d2 317
3180.17 Tues. Nov. 14, 2006
319 * Moose::Meta::Method::Accessor
320 - bugfix for read-only accessors which
321 are have a type constraint and lazy.
322 Thanks to chansen for finding it.
323
3240.16 Tues. Nov. 14, 2006
325 ++ NOTE ++
326 There are some speed improvements in this release,
327 but they are only the begining, so stay tuned.
328
329 * Moose::Object
330 - BUILDALL and DEMOLISHALL no longer get
331 called unless they actually need to be.
332 This gave us a signifigant speed boost
333 for the cases when there is no BUILD or
334 DEMOLISH method present.
335
336 * Moose::Util::TypeConstraints
337 * Moose::Meta::TypeConstraint
338 - added an 'optimize_as' option to the
339 type constraint, which allows for a
340 hand optimized version of the type
341 constraint to be used when possible.
342 - Any internally created type constraints
343 now provide an optimized version as well.
344
ecb59493 3450.15 Sun. Nov. 5, 2006
946289d1 346 ++ NOTE ++
347 This version of Moose *must* have Class::MOP 0.36 in order
348 to work correctly. A number of small internal tweaks have
349 been made in order to be compatible with that release.
571dd39f 350
351 * Moose::Util::TypeConstraints
352 - added &unimport so that you can clean out
353 your class namespace of these exported
354 keywords
355
37ee30c9 356 * Moose::Meta::Class
357 - fixed minor issue which occasionally
358 comes up during global destruction
359 (thanks omega)
946289d1 360 - moved Moose::Meta::Method::Overriden into
361 its own file.
362
363 * Moose::Meta::Role
364 - moved Moose::Meta::Role::Method into
365 its own file.
366
43123819 367 * Moose::Meta::Attribute
368 - changed how we do type checks so that
7623f774 369 we reduce the overall cost, but still
370 retain correctness.
946289d1 371 *** API CHANGE ***
372 - moved accessor generation methods to
373 Moose::Meta::Method::Accessor to
374 conform to the API changes from
375 Class::MOP 0.36
43123819 376
377 * Moose::Meta::TypeConstraint
378 - changed how constraints are compiled
379 so that we do less recursion and more
380 iteration. This makes the type check
381 faster :)
946289d1 382 - moved Moose::Meta::TypeConstraint::Union
383 into its own file
384
385 * Moose::Meta::Method::Accessor
386 - created this from methods formerly found in
387 Moose::Meta::Attribute
388
389 * Moose::Meta::Role::Method
390 - moved this from Moose::Meta::Role
391
392 * Moose::Meta::Method::Overriden
393 - moved this from Moose::Meta::Class
394
395 * Moose::Meta::TypeConstraint::Union
396 - moved this from Moose::Meta::TypeConstraint
37ee30c9 397
3ec7b7a3 3980.14 Mon. Oct. 9, 2006
4fd69d6c 399
400 * Moose::Meta::Attribute
401 - fixed lazy attributes which were not getting
402 checked with the type constraint (thanks ashley)
403 - added tests for this
3ec7b7a3 404 - removed the over-enthusiastic DWIMery of the
405 automatic ArrayRef and HashRef defaults, it
406 broke predicates in an ugly way.
407 - removed tests for this
4fd69d6c 408
c0c41f76 4090.13 Sat. Sept. 30, 2006
093b12c2 410 ++ NOTE ++
411 This version of Moose *must* have Class::MOP 0.35 in order
412 to work correctly. A number of small internal tweaks have
413 been made in order to be compatible with that release.
414
3c2bc5e2 415 * Moose
416 - Removed the use of UNIVERSAL::require to be a better
093b12c2 417 symbol table citizen and remove a dependency
418 (thanks Adam Kennedy)
3c2bc5e2 419
2a0f3bd3 420 **~~ removed experimental & undocumented feature ~~**
421 - commented out the 'method' and 'self' keywords, see the
422 comments for more info.
423
e95c7c42 424 * Moose::Cookbook
425 - added a FAQ and WTF files to document frequently
426 asked questions and common problems
b805c70c 427
3f7376b0 428 * Moose::Util::TypeConstraints
0a5bd159 429 - added GlobRef and FileHandle type constraint
3f7376b0 430 - added tests for this
431
432 * Moose::Meta::Attribute
433 - if your attribute 'isa' ArrayRef of HashRef, and you have
434 not explicitly set a default, then make the default DWIM.
94b8bbb8 435 This will also work for subtypes of ArrayRef and HashRef
436 as well.
437 - you can now auto-deref subtypes of ArrayRef or HashRef too.
438 - new test added for this (thanks to ashley)
3f7376b0 439
b805c70c 440 * Moose::Meta::Role
441 - added basic support for runtime role composition
0a5bd159 442 but this is still *highly experimental*, so feedback
443 is much appreciated :)
b805c70c 444 - added tests for this
e95c7c42 445
0a5bd159 446 * Moose::Meta::TypeConstraint
447 - the type constraint now handles the coercion process
448 through delegation, this is to support the coercion
449 of unions
450
451 * Moose::Meta::TypeConstraint::Union
452 - it is now possible for coercions to be performed
453 on a type union
454 - added tests for this (thanks to konobi)
455
e95c7c42 456 * Moose::Meta::TypeCoercion
457 - properly capturing error when type constraint
458 is not found
459
3c2bc5e2 460 * Build.PL
461 - Scalar::Util 1.18 is bad on Win32, so temporarily
462 only require version 1.17 for Win32 and cygwin.
093b12c2 463 (thanks Adam Kennedy)
3c2bc5e2 464
40e89659 4650.12 Sat. Sept. 1, 2006
2bdd01cd 466 * Moose::Cookbook
467 - Recipe5 (subtypes & coercion) has been written
468
469 * Moose
3279ab4a 470 - fixed "bad meta" error message to be more descriptive
471 - fixed &unimport to not remove the &inner and &super
472 keywords because we need to localize them.
68efb014 473 - fixed number of spelling/grammer issues, thanks Theory :)
0558683c 474
475 **~~ experimental & undocumented feature ~~**
68efb014 476 - added the method and self keywords, they are basically
477 just sugar, and they may not stay around.
f742dfef 478
479 * Moose::Object
68efb014 480 - added &dump method to easily Data::Dumper
481 an object
b26e162e 482
483 * Moose::Meta::TypeConstraint
484 - added the &is_a_type_of method to check both the current
485 and the subtype of a method (similar to &isa with classes)
f008ac1f 486
68efb014 487 * Moose::Meta::Role
488 - this is now a subclass of Class::MOP::Module, and no longer
489 creates the _role_meta ugliness of before.
490 - fixed tests to reflect this change
491
8c835eba 4920.11 Wed. July 12, 2006
31f8ec72 493 * Moose
494 - added an &unimport method to remove all the keywords
8c835eba 495 that Moose will import, simply add 'no Moose' to the
496 bottom of your class file.
31f8ec72 497
498 * t/
499 - fixed some test failures caused by a forgotten test
500 dependency.
501
864cd714 5020.10 Thurs. July 6, 2006
01a8e221 503 * Moose
504 - improved error message when loading modules so
505 it is less confusing when you load a role.
2b14ac61 506 - added &calculate_all_roles method to
507 Moose::Meta::Class and Moose::Meta::Role
508
509 NOTE:
510 This module has been tested against Class::MOP 0.30
511 but it does not yet utilize the optimizations
512 it makes available. Stay tuned for that ;)
513
2b14ac61 5140.09_03 Fri. June 23, 2006
715ea0b7 515 ++ DEVELOPER RELEASE ++
4276ccb4 516 * Moose
517 - 'use strict' and 'use warnings' are no longer
518 needed in Moose classes, Moose itself will
519 turn them on for you.
520 - added tests for this
1341f10c 521 - moved code from exported subs to private methods
522 in Moose::Meta::Class
4276ccb4 523
524 * Moose::Role
525 - as with Moose, strict and warnings are
526 automatically turned on for you.
527 - added tests for this
e39d707f 528
529 * Moose::Meta::Role
530 - now handles an edge case for override errors
531 - added tests for this
b7f2d25b 532 - added some more edge case tests
1341f10c 533
43d599e5 5340.09_02 Tues. May 16, 2006
715ea0b7 535 ++ DEVELOPER RELEASE ++
2c0cbef7 536 * Moose
537 - added prototypes to the exported subs
43d599e5 538 - updated docs
2c0cbef7 539
540 * Moose::Role
541 - added prototypes to the exported subs
43d599e5 542 - updated docs
2c0cbef7 543
544 * Moose::Util::TypeConstraints
545 - cleaned up prototypes for the subs
43d599e5 546 - updated docs
2c0cbef7 547
72c4f6d1 5480.09_01 Fri. May 12, 2006
549 ++ DEVELOPER RELEASE ++
550 - This release works in combination with
551 Class::MOP 0.29_01, it is a developer
552 release because it uses the a new
553 instance sub-protocol and a fairly
554 complete Role implementation. It has
555 not yet been optimized, so it slower
556 the the previous CPAN version. This
557 release also lacks good updated docs,
558 the official release will have updated docs.
559
98aae381 560 * Moose
561 - refactored the keyword exports
db1ab48d 562 - 'with' now checks Role validaity and
563 accepts more than one Role at a time
98aae381 564 - 'extends' makes metaclass adjustments as
565 needed to ensure metaclass compatability
566
72c4f6d1 567 * Moose::Role
568 - refactored the keyword exports
569 - 'with' now checks Role validaity and
570 accepts more than one Role at a time
571
98aae381 572 * Moose::Util::TypeConstraints
573 - added the 'enum' keyword for simple
574 string enumerations which can be used as
575 type constraints
db1ab48d 576 - see example of usage in t/202_example.t
98aae381 577
578 * Moose::Object
579 - more careful checking of params to new()
580
72c4f6d1 581 * Moose::Meta::Role
582 - much work done on the role composition
583 - many new tests for conflict detection
584 and composition edge cases
585 - not enough documentation, I suggest
586 looking at the tests
587
98aae381 588 * Moose::Meta::Instance
589 - added new Instance metaclass to support
590 the new Class::MOP instance protocol
591
592 * Moose::Meta::Class
593 - some small changes to support the new
594 instance protocol
72c4f6d1 595 - some small additions to support Roles
98aae381 596
597 * Moose::Meta::Attribute
598 - some improvements to the accessor generation code
599 by nothingmuch
600 - some small changes to support the new
601 instance protocol
602 - (still somewhat) experimental delegation support
603 with the 'handles' option
604 - added several tests for this
db1ab48d 605 - no docs for this yet
98aae381 606
35c8b8f2 6070.05 Thurs. April 27, 2006
2d562421 608 * Moose
609 - keywords are now exported with Sub::Exporter
610 thanks to chansen for this commit
590868a3 611 - has keyword now takes a 'metaclass' option
612 to support custom attribute meta-classes
613 on a per-attribute basis
daea75c9 614 - added tests for this
615 - the 'has' keyword not accepts inherited slot
616 specifications (has '+foo'). This is still an
617 experimental feature and probably not finished
618 see t/038_attribute_inherited_slot_specs.t for
619 more details, or ask about it on #moose
fcb7afc2 620 - added tests for this
2d562421 621
622 * Moose::Role
623 - keywords are now exported with Sub::Exporter
624
5204cd52 625 * Moose::Utils::TypeConstraints
cce8198b 626 - reorganized the type constraint hierarchy, thanks
627 to nothingmuch and chansen for his help and advice
628 on this
629 - added some tests for this
7eaef7ad 630 - keywords are now exported with Sub::Exporter
35c8b8f2 631 thanks to chansen for this commit
5204cd52 632
d500266f 633 * Moose::Meta::Class
634 - due to changes in Class::MOP, we had to change
635 construct_instance (for the better)
636
637 * Moose::Meta::Attribute
638 - due to changes in Class::MOP, we had to add the
639 initialize_instance_slot method (it's a good thing)
c07af9d2 640
cce8198b 641 * Moose::Meta::TypeConstraint
c07af9d2 642 - added type constraint unions
643 - added tests for this
cce8198b 644 - added the is_subtype_of predicate method
645 - added tests for this
d500266f 646
02a0fb52 6470.04 Sun. April 16th, 2006
1331430a 648 * Moose::Role
649 - Roles can now consume other roles
650 - added tests for this
651 - Roles can specify required methods now with
652 the requires() keyword
653 - added tests for this
654
bdabd620 655 * Moose::Meta::Role
656 - ripped out much of it's guts ,.. much cleaner now
1331430a 657 - added required methods and correct handling of
fa1be058 658 them in apply() for both classes and roles
659 - added tests for this
1331430a 660 - no longer adds a does() method to consuming classes
661 it relys on the one in Moose::Object
662 - added roles attribute and some methods to support
663 roles consuming roles
8c9d74e7 664
665 * Moose::Meta::Attribute
666 - added support for triggers on attributes
667 - added tests for this
02a0fb52 668 - added support for does option on an attribute
669 - added tests for this
8c9d74e7 670
671 * Moose::Meta::Class
672 - added support for attribute triggers in the
673 object construction
674 - added tests for this
256903b6 675
676 * Moose
677 - Moose no longer creates a subtype for your class
678 if a subtype of the same name already exists, this
679 should DWIM in 99.9999% of all cases
680
681 * Moose::Util::TypeConstraints
682 - fixed bug where incorrect subtype conflicts were
683 being reported
8c9d74e7 684 - added test for this
685
686 * Moose::Object
687 - this class can now be extended with 'use base' if
688 you need it, it properly loads the metaclass class now
689 - added test for this
bdabd620 690
0677220d 6910.03_02 Wed. April 12, 2006
05d9eaf6 692 * Moose
693 - you must now explictly use Moose::Util::TypeConstraints
694 it no longer gets exported for you automatically
695
696 * Moose::Object
697 - new() now accepts hash-refs as well as key/value lists
0677220d 698 - added does() method to check for Roles
699 - added tests for this
05d9eaf6 700
0677220d 701 * Moose::Meta::Class
702 - added roles attribute along with the add_role() and
703 does_role() methods
704 - added tests for this
705
706 * Moose::Meta::Role
707 - now adds a does() method to consuming classes
708 which tests the class's hierarchy for roles
709 - added tests for this
710
7110.03_01 Mon. April 10, 2006
e9ec68d6 712 * Moose::Cookbook
76d37e5a 713 - added new Role recipe (no content yet, only code)
e9ec68d6 714
715 * Moose
716 - added 'with' keyword for Role support
717 - added test and docs for this
718 - fixed subtype quoting bug
719 - added test for this
720
721 * Moose::Role
722 - Roles for Moose
723 - added test and docs
76d37e5a 724
725 * Moose::Util::TypeConstraints
726 - added the message keyword to add custom
727 error messages to type constraints
e9ec68d6 728
729 * Moose::Meta::Role
730 - the meta role to support Moose::Role
731 - added tests and docs
732
733 * Moose::Meta::Class
734 - moved a number of things from Moose.pm
735 to here, they should have been here
736 in the first place
737
738 * Moose::Meta::Attribute
739 - moved the attribute option macros here
740 instead of putting them in Moose.pm
e185c027 741
76d37e5a 742 * Moose::Meta::TypeConstraint
743 - added the message attributes and the
744 validate method
745 - added tests and docs for this
746
0ac928d2 7470.03 Thurs. March 30, 2006
e9bb8a31 748 * Moose::Cookbook
749 - added the Moose::Cookbook with 5 recipes,
750 describing all the stuff Moose can do.
751
d7f17ebb 752 * Moose
753 - fixed an issue with &extends super class loading
754 it now captures errors and deals with inline
755 packages correctly (bug found by mst, solution
756 stolen from alias)
159da176 757 - added super/override & inner/augment features
758 - added tests and docs for these
d7f17ebb 759
760 * Moose::Object
761 - BUILDALL now takes a reference of the %params
762 that are passed to &new, and passes that to
763 each BUILD as well.
471c4f09 764
765 * Moose::Util::TypeConstraints
766 - Type constraints now survive runtime reloading
767 - added test for this
d7f17ebb 768
8339fae2 769 * Moose::Meta::Class
770 - fixed the way attribute defaults are handled
771 during instance construction (bug found by chansen)
772
d7f17ebb 773 * Moose::Meta::Attribute
774 - read-only attributes now actually enforce their
9deed647 775 read-only-ness (this corrected in Class::MOP as
776 well)
d7f17ebb 777
076c81ed 7780.02 Tues. March 21, 2006
fc5609d2 779 * Moose
b841b2a3 780 - many more tests, fixing some bugs and
781 edge cases
b841b2a3 782 - &extends now loads the base module with
783 UNIVERSAL::require
784 - added UNIVERSAL::require to the
785 dependencies list
6ba6d68c 786 ** API CHANGES **
b841b2a3 787 - each new Moose class will also create
788 and register a subtype of Object which
789 correspond to the new Moose class.
b841b2a3 790 - the 'isa' option in &has now only
791 accepts strings, and will DWIM in
792 almost all cases
793
794 * Moose::Util::TypeConstraints
795 - added type coercion features
796 - added tests for this
797 - added support for this in attributes
798 and instance construction
6ba6d68c 799 ** API CHANGES **
b841b2a3 800 - type construction no longer creates a
801 function, it registers the type instead.
802 - added several functions to get the
803 registered types
6ba6d68c 804
805 * Moose::Object
806 - BUILDALL and DEMOLISHALL were broken
807 because of a mis-named hash key, Whoops :)
b841b2a3 808
809 * Moose::Meta::Attribute
810 - adding support for coercion in the
811 autogenerated accessors
812
813 * Moose::Meta::Class
814 - adding support for coercion in the
6ba6d68c 815 instance construction
816
817 * Moose::Meta::TypeConstraint
818 * Moose::Meta::TypeCoercion
819 - type constraints and coercions are now
820 full fledges meta-objects
fc5609d2 821
e522431d 8220.01 Wed. March 15, 2006
900466d6 823 - Moooooooooooooooooose!!!