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