Add set method to Counter and let inc/dec take args.
[gitmo/MooseX-AttributeHelpers.git] / ChangeLog
CommitLineData
22d869ff 1Revision history for Perl extension MooseX-AttributeHelpers
2
063fae5e 30.10
eef0ea50 4 - Counter: add set and allow inc and dec to accept args
063fae5e 5 - add Bool as an attribute helper (thanks to jasonmay)
6
e8013350 70.09 Sat. May, 24, 2008
8 - remove Module::Build in favor of Module::Install
9
10 * MooseX::AttributeHelpers::MethodProvider::Hash
11 - delete with multiple keys will now work (thanks to frodwith)
12
13 * MooseX::AttributeHelpers::MethodProvider::List
14 - add "join" and "elements" provided methods (thanks to Sartak)
15
16 * MooseX::AttributeHelpers::MethodProvider::Array
17 - add "splice" provided method
18
190.08 Sat. April 12, 2008
99c62fb8 20 ~~ updates copyright year on all modules ~~
21
532b802c 22 * MooseX::AttributeHelpers::MethodProvider::Hash
23 - fixed bug in non-type constraint version of set
24 method (thanks to frodwith)
25
eca30395 260.07 Tues. Jan. 1, 2008
27 * MooseX::AttributeHelpers::String
28 - Initial version
29 * MooseX::AttributeHelpers::Hash
30 - get and set now support aggregate operations
31
34e30a7e 320.06 Tues. Dec. 7, 2007
999f34a9 33 * MooseX::AttributeHelpers::Base
34 - added the &remove_accessors method to comply with the
35 Class::MOP::Attribute interface
36 - added test for this
37 - the &install_accessors method now also properly assocaites
38 the methods with the attribute, so they are accessible via
39 introspection now.
40
f9b41f2e 410.05 Sat. Nov. 24, 2007
0f31cc28 42 - update Class::MOP dependency
999f34a9 43 - hide the Moose::Meta::Attribute::Custom::* package
0f31cc28 44 declarations from search.cpan.org (when did they change
45 things to start seeing these?? *sigh*)
46
ea60939b 470.04 Fri. Nov. 23, 2007
9a976497 48 * MooseX::AttributeHelpers::Base
49 - changing this to use the new Class::MOP::Attribute
50 reader and write method ref stuff.
999f34a9 51 - fixed this to use find_or_create_type_constraint
9a976497 52 instead of trying to parse stuff on our own.
999f34a9 53
9a976497 54 * MooseX::AttributeHelpers::Collection
999f34a9 55 - this is pretty much empty subclass now cause of
9a976497 56 the find_or_create_type_constraint fix above
999f34a9 57
9a976497 58 + MooseX::AttributeHelpers::Collection::ImmutableHash
59 + MooseX::AttributeHelpers::Collection::Bag
60 - added these two new collection types
61 - added method provider roles for them
62 - added tests for them
999f34a9 63
9a976497 64 * MooseX::AttributeHelpers::MethodProvider::Hash
65 - this is now composed from the ImmutableHash
66 method provider
999f34a9 67
9a976497 68 * t/
69 - fixed the plans on all the tests
70
710.03 Mon. Sept. 17, 2007
829736f9 72 ~~ more misc. doc updates ~~
999f34a9 73
38abf787 74 * MooseX::AttributeHelpers::Counter
75 - now provides default attribute options for 'is',
76 'isa', 'provides', and 'default' if not specified.
999f34a9 77
38abf787 78 * MooseX::AttributeHelpers::Base
79 - added attribute $name to the params passed to
80 process_options_or_provides(), which gives us more
2dee86e9 81 flexibility when writing additional helpers
38abf787 82 - removed check for 'provides' and 'isa' attr
83 options before _process_options. It should be
999f34a9 84 called always.
85
b91f57af 86 * MooseX::AttributeHelpers::MethodProvider::Array
999f34a9 87 - added `delete` and `insert` methods
72a41843 88
c91a1347 890.02 Thurs. Sept. 13, 2007
90 ~~ some misc. doc updates ~~
91
457dc4fb 92 * MooseX::AttributeHelpers::Base
999f34a9 93 - now providing subrefs for the reader and writer
457dc4fb 94 methods to all the method provider constructors
95 (this should speed things up quite a bit).
96 - all method providers now use this internally
97
98 * MooseX::AttributeHelpers::Counter
999f34a9 99 - added the 'reset' method
100
457dc4fb 101 * MooseX::AttributeHelpers::Collection::Array
999f34a9 102 - Extracted the List method provider role from
457dc4fb 103 Array and made Array consume List.
104
105 + MooseX::AttributeHelpers::Collection::List
106 - created the Collection::List metaclass
999f34a9 107 derived from parts of the old Collection::Array
457dc4fb 108
5431dff2 1090.01 Mon. Aug. 13, 2007
38abf787 110 - module released to CPAN