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