1 Revision history for {{$dist->name}}
6 * properly skip optional tests when the required JSON backends aren't
10 * JSON storage works when Cpanel::JSON::XS is the only JSON backend installed
13 * always JSONify data with sorted keys, to handle hash order randomization
14 introduced in 5.17.* (RT#84287, Karen Etheridge)
17 * Change to use core Digest and Digest::SHA dists, rather than Digest::SHA1.
19 * Create a JSON::Any object, so setting $ENV{JSON_ANY_CONFIG} works.
20 Adjust tests that were setting the wrong values and the default
22 * Don't rely on hash key order in tests (RT#81695)
25 * Add example for add_custom_type_handler to the MooseX::Storage::Engine docs. (perigrin)
27 * Incorrect documentation for ->unpack method's inject parameter fixed.
29 * The test suite now uses Test::Fatal instead of Test::Exception (Karen
33 * Make Makefile.PL features work again. RT#67170
36 * Remove use of Test::TempDir in favor of File::Temp (gphat)
39 * Make the engine_traits parameter be able to use a '+My::Trait::Name'
40 prefix to specify a trait name which isn't in the
41 MooseX::Storage::Engine::Trait namespace
42 * Misc POD and test cleanups.
45 * use of parameterized roles (first added in 0.22) now works in Deferred
46 Example: $object->freeze({ format => [ $role_name => \%args ] })
49 * Fix URI for repository in metadata.
50 * Fix infinite recursion when collapsing objects which overload stringify
54 * Add support for Union types (bumps Moose dep to 0.99)
57 * Add additional YAML implementation tests.
58 * Switch from using Best to YAML::Any.
59 * Remove Test::YAML::Valid.
62 * Revert whitespace change in tests which breaks the tests if you
63 have Test::YAML::Valid installed.
66 * Fix warnings when types do not have a parent type.
67 * allow the use of roles outside MooseX::Storage:: (rjbs)
68 * allow the use of parameterized roles (rjbs)
71 * Fix inconsistent dist versions with Perl::Version
74 * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
75 namespace to alter the behaviour of the storage engine.
76 (Suggestions for how to make this less fugly appreciated)
77 * Add feature to disable cycle checking, either via engine trait or option
78 * add docs & tests (including 1 TODO test)
79 * Add feature to only serialize attributes whose predicate returns 'true'
80 * Implement the unpack( $data, inject => {...} ) feature.
82 * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
83 * Add extra test to ensure restoring fails if required argument isn't provided
84 * Fix a bug where if a required constructor argument was not serialized, it was
85 impossible to ->unpack again.
88 * Skip pod tests when not in author mode
91 * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
92 * Added support for Maybe[...] constraints fixing RT#43165 (plu)
95 * Change MooseX::Storage::Engine to use get_all_attributes,
96 rather than the deprecated compute_all_applicable_attributes (t0m)
98 0.16 (not actually released)
99 * Don't fail tests when Best is unavailable (t0m)
103 - Remove use of deprecated alias_method routine
104 which was causing issues when you used multiple
105 Roles which used MooseX::Storage (t0m).
108 * MooseX::Storage::Engine
109 - cycles are now tracked by refaddr instead
110 of stringified object, which broke for any
111 overloaded objects (Thanks to Jonathan Rockway)
113 * Don't fail tests when YAML is unavailable
115 * Use temporary files in test suite, instead of cwd
118 * MooseX::Storage::Engine
119 - added find_type_handler_for($name) method
120 to make finding type handlers easier
121 - improved error messages
123 ~ removed Build.PL since Module::Install
124 no longer supports it
127 - added build_requires for Test::Deep (awwaiid)
128 - upped the Moose dependency to support the custom
129 meta-attribute-traits
132 - fixing all the tests to properly skip if optional
133 features are not being used, this should help get
134 rid of all our CPANtester failures
135 - tested against 5.10 as well
137 * MooseX::Storage::Engine
138 MooseX::Storage::Meta::Attribute::DoNotSerialize
139 MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
140 - adding meta-attribute-trait support for
142 - added tests for this
145 - upped the Test::JSON dependency
146 so that we use the version that
148 - upped the JSON::Any requirement
149 - minor test cleanups to handle
150 optional dependencies better
152 * MooseX::Storage::Engine
153 - the numbers now have to numify (+0) in the
154 expand/collapse so that certain JSON engines
155 will not choke on them
158 ~~ updated copyright information ~~
160 * MooseX::Storage::Deferred
161 - added this role, which allows you to wait until
162 you actually call a method to determine what
163 formatter and/or IO engine you want to use
164 - added tests for this
167 * MooseX::Storage::Util
168 - added support to deal with utf8 strings correctly
170 * MooseX::Storage::Engine::File
171 MooseX::Storage::Engine::AtomicFile
172 - fixed utf8 handling when storing string
173 - added tests for this
176 - added an extra test for the utf8 handling
178 * Change build system to Module::Install
181 * MooseX::Storage::Format::JSON
182 - added support to deal with utf8 strings correctly
185 + MooseX::Storage::Format::Storable
186 - this will use Storable to freeze/thaw objects
187 - added tests for this
189 + MooseX::Storage::IO::StorableFile
190 - this will use Storable to load/store objects
191 - added tests for this
194 - fixed tests in 030_with_checksum.t
198 * MooseX::Storage::Engine
199 - added the Bool type and fixed a few bugs
200 that it exposed (thanks to Sartak)
201 - added tests for this
204 * MooseX::Storage::Base::WithChecksum
205 - Fixed minor issue where the WithChecksum would
206 choke with a bad checksum due to odd Data::Dumper
210 - forced JSON::Any in the basic JSON tests to use
211 JSON.pm since this is what Test::JSON uses and
212 subtle (and annoying) issues can arise.
215 * MooseX::Storage::Util
216 - made this more robust when it tries
217 to use YAML and JSON loaders and fails
219 - fixed tests to reflect this
222 * MooseX::Storage::Util
223 - this is a collection of useful tools
224 for working with MooseX::Storage data
225 - added docs and test
228 - added test for a custom type handler
229 - fixed checksum test to skip if Digest::SHA1
230 (our default) is not available
233 * MooseX::Storage::Base::WithChecksum
234 - added a simple base role which makes a checksum of
235 the data structure before packing, and checks the
236 checksum before unpacking.
237 - added tests for this
239 * MooseX::Storage::Engine
240 - better error reporting when cycles are found
241 - class names are now stored as the full identifier
242 (<class>-<version>-<authority>) and are checked
243 when they are expanded.
244 - added docs and tests for this
246 * MooseX::Storage::Engine::IO::(AtomicFile, File)
247 - added checks to make sure the file gets opened correctly
248 and dies if it does not.
251 This was Chris's idea originally (blame him), and
252 we expanded on it to create what you see here :)