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