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