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