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