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