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