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