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