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