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