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