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