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