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