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