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