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