tests for deferred and param roles
[gitmo/MooseX-Storage.git] / Changes
1 Revision history for MooseX-Storage
2
3 0.26
4   * Fix URI for repository in metadata.
5   * Fix infinite recursion when collapsing objects which overload stringify
6     to freeze themselves.
7
8 0.25
9   * Add support for Union types (bumps Moose dep to 0.99)
10
11 0.24
12   * Add additional YAML implementation tests.
13   * Switch from using Best to YAML::Any.
14   * Remove Test::YAML::Valid.
15
16 0.23
17   * Revert whitespace change in tests which breaks the tests if you
18     have Test::YAML::Valid installed.
19
20 0.22
21   * Fix warnings when types do not have a parent type.
22   * allow the use of roles outside MooseX::Storage:: (rjbs)
23   * allow the use of parameterized roles (rjbs)
24
25 0.21
26   * Fix inconsistent dist versions with Perl::Version
27
28 0.20
29   * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
30     namespace to alter the behaviour of the storage engine.
31     (Suggestions for how to make this less fugly appreciated)
32   * Add feature to disable cycle checking, either via engine trait or option
33     * add docs & tests (including 1 TODO test)
34   * Add feature to only serialize attributes whose predicate returns 'true'
35   * Implement the unpack( $data, inject => {...} ) feature.
36     * add docs & tests
37   * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
38   * Add extra test to ensure restoring fails if required argument isn't provided
39   * Fix a bug where if a required constructor argument was not serialized, it was
40     impossible to ->unpack again.
41
42 0.19
43   * Skip pod tests when not in author mode
44
45 0.18
46    * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
47    * Added support for Maybe[...] constraints fixing RT#43165 (plu)
48
49 0.17
50    * Change MooseX::Storage::Engine to use get_all_attributes,
51      rather than the deprecated compute_all_applicable_attributes (t0m)
52
53 0.16
54    * Don't fail tests when Best is unavailable (t0m)
55
56 0.15
57     * MooseX::Storage
58       - Remove use of deprecated alias_method routine
59         which was causing issues when you used multiple
60         Roles which used MooseX::Storage (t0m).
61
62 0.14
63     * MooseX::Storage::Engine
64       - cycles are now tracked by refaddr instead 
65         of stringified object, which broke for any
66         overloaded objects (Thanks to Jonathan Rockway)
67
68     * Don't fail tests when YAML is unavailable
69
70     * Use temporary files in test suite, instead of cwd
71
72 0.13 Sat. May 24, 2008
73     * MooseX::Storage::Engine
74       - added find_type_handler_for($name) method 
75         to make finding type handlers easier
76       - improved error messages
77
78     ~ removed Build.PL since Module::Install
79       no longer supports it
80
81 0.12 Fri. March 14, 2008
82
83     - added build_requires for Test::Deep (awwaiid)
84     - upped the Moose dependency to support the custom
85       meta-attribute-traits
86     
87     * t/
88       - fixing all the tests to properly skip if optional 
89         features are not being used, this should help get
90         rid of all our CPANtester failures
91         - tested against 5.10 as well
92     
93     * MooseX::Storage::Engine
94       MooseX::Storage::Meta::Attribute::DoNotSerialize
95       MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
96       - adding meta-attribute-trait support for 
97         DoNotSerialize
98         - added tests for this
99
100 0.11 Thurs. Jan. 10, 2008
101
102     - upped the Test::JSON dependency 
103       so that we use the version that 
104       supports JSON::Any
105     - upped the JSON::Any requirement 
106     - minor test cleanups to handle
107       optional dependencies better
108
109     * MooseX::Storage::Engine
110       - the numbers now have to numify (+0) in the 
111         expand/collapse so that certain JSON engines
112         will not choke on them
113
114 0.10 Thurs. Jan. 10, 2008
115     ~~ updated copyright information ~~
116
117     * MooseX::Storage::Deferred
118       - added this role, which allows you to wait until
119         you actually call a method to determine what 
120         formatter and/or IO engine you want to use
121         - added tests for this
122
123 0.09 Tue. Oct. 23, 2007
124     * MooseX::Storage::Util
125       - added support to deal with utf8 strings correctly
126       
127     * MooseX::Storage::Engine::File
128       MooseX::Storage::Engine::AtomicFile
129       - fixed utf8 handling when storing string
130         - added tests for this
131      
132     * t/
133       - added an extra test for the utf8 handling
134     
135     * Change build system to Module::Install
136
137 0.08 Wed. Oct. 10, 2007
138     * MooseX::Storage::Format::JSON
139       - added support to deal with utf8 strings correctly
140
141 0.07 Thurs. Sept. 27, 2007
142     + MooseX::Storage::Format::Storable
143       - this will use Storable to freeze/thaw objects
144         - added tests for this
145     
146     + MooseX::Storage::IO::StorableFile
147       - this will use Storable to load/store objects    
148         - added tests for this
149
150     * t/
151       - fixed tests in 030_with_checksum.t
152         (thanks to sartak)
153
154 0.06 Tues. Aug. 7, 2007
155     * MooseX::Storage::Engine
156       - added the Bool type and fixed a few bugs
157         that it exposed (thanks to Sartak)
158         - added tests for this
159
160 0.05 Sun. July 15. 2007
161     * MooseX::Storage::Base::WithChecksum
162       - Fixed minor issue where the WithChecksum would 
163         choke with a bad checksum due to odd Data::Dumper
164         output.
165     
166     * t/
167       - forced JSON::Any in the basic JSON tests to use 
168         JSON.pm since this is what Test::JSON uses and 
169         subtle (and annoying) issues can arise.
170
171 0.04 Tues. July 3, 2007
172     * MooseX::Storage::Util
173         - made this more robust when it tries
174           to use YAML and JSON loaders and fails
175           to find one
176             - fixed tests to reflect this
177
178 0.03 Wed. June 27, 2007
179     * MooseX::Storage::Util
180         - this is a collection of useful tools 
181           for working with MooseX::Storage data
182             - added docs and test
183
184     * t/
185         - added test for a custom type handler
186         - fixed checksum test to skip if Digest::SHA1 
187           (our default) is not available
188
189 0.02 Fri. June 8, 2007
190     * MooseX::Storage::Base::WithChecksum
191       - added a simple base role which makes a checksum of 
192         the data structure before packing, and checks the
193         checksum before unpacking.
194         - added tests for this
195
196     * MooseX::Storage::Engine
197       - better error reporting when cycles are found
198       - class names are now stored as the full identifier
199         (<class>-<version>-<authority>) and are checked
200         when they are expanded.
201         - added docs and tests for this
202
203     * MooseX::Storage::Engine::IO::(AtomicFile, File)
204       - added checks to make sure the file gets opened correctly
205         and dies if it does not.
206
207 0.01  Mon. April 30, 2007
208     This was Chris's idea originally (blame him), and 
209     we expanded on it to create what you see here :)
210