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