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