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