Version 0.32
[gitmo/MooseX-Storage.git] / Changes
CommitLineData
e9739624 1Revision history for MooseX-Storage
e59193fb 2
e44b5f54 30.32
7d5ab57c 4 * Change to use core Digest and Digest::SHA dists, rather than Digest::SHA1.
e44b5f54 5 RT#69811
0edcbfee 6 * Create a JSON::Any object, so setting $ENV{JSON_ANY_CONFIG} works.
e44b5f54 7 Adjust tests that were setting the wrong values and the default
8 happened to work.
cd4cef76 9 * Don't rely on hash key order in tests (RT#81695)
7d5ab57c 10
a0e1d538 110.31
cb534011 12 * Add example for add_custom_type_handler to the MooseX::Storage::Engine docs. (perigrin)
13
9ca35902 14 * Incorrect documentation for ->unpack method's inject parameter fixed.
15
9d3c60f5 16 * The test suite now uses Test::Fatal instead of Test::Exception (Karen
17 Etheridge).
18
9566cef2 190.30
20 * Make Makefile.PL features work again. RT#67170
21
08d0f48e 220.29
23 * Remove use of Test::TempDir in favor of File::Temp (gphat)
24
004bf3ea 250.28
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
00993f69 28 MooseX::Storage::Engine::Trait namespace
004bf3ea 29 * Misc POD and test cleanups.
30
39535ada 310.27
32 * use of parameterized roles (first added in 0.22) now works in Deferred
33 Example: $object->freeze({ format => [ $role_name => \%args ] })
34
8919e01e 350.26
c557e792 36 * Fix URI for repository in metadata.
049541bd 37 * Fix infinite recursion when collapsing objects which overload stringify
38 to freeze themselves.
c557e792 39
c905cefb 400.25
41 * Add support for Union types (bumps Moose dep to 0.99)
42
68cf3423 430.24
44 * Add additional YAML implementation tests.
45 * Switch from using Best to YAML::Any.
46 * Remove Test::YAML::Valid.
47
0e45b8f5 480.23
49 * Revert whitespace change in tests which breaks the tests if you
50 have Test::YAML::Valid installed.
51
75b4d0b3 520.22
e0f8f2ee 53 * Fix warnings when types do not have a parent type.
9ff679e4 54 * allow the use of roles outside MooseX::Storage:: (rjbs)
55 * allow the use of parameterized roles (rjbs)
e0f8f2ee 56
14e5132a 570.21
58 * Fix inconsistent dist versions with Perl::Version
59
e43a61ed 600.20
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.
68 * add docs & tests
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.
73
740.19
75 * Skip pod tests when not in author mode
76
ef87e4a6 770.18
8f677182 78 * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
79 * Added support for Maybe[...] constraints fixing RT#43165 (plu)
ef87e4a6 80
f4ffa4ef 810.17
82 * Change MooseX::Storage::Engine to use get_all_attributes,
83 rather than the deprecated compute_all_applicable_attributes (t0m)
84
5aaf0d46 850.16
86 * Don't fail tests when Best is unavailable (t0m)
87
f9143059 880.15
89 * MooseX::Storage
90 - Remove use of deprecated alias_method routine
91 which was causing issues when you used multiple
92 Roles which used MooseX::Storage (t0m).
93
df7bb436 940.14
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)
99
cfd008fa 100 * Don't fail tests when YAML is unavailable
101
102 * Use temporary files in test suite, instead of cwd
103
6d0abbe8 1040.13 Sat. May 24, 2008
3defafb9 105 * MooseX::Storage::Engine
106 - added find_type_handler_for($name) method
107 to make finding type handlers easier
108 - improved error messages
109
6d0abbe8 110 ~ removed Build.PL since Module::Install
111 no longer supports it
112
4fa64e86 1130.12 Fri. March 14, 2008
eaa26357 114
115 - added build_requires for Test::Deep (awwaiid)
4fa64e86 116 - upped the Moose dependency to support the custom
117 meta-attribute-traits
118
119 * t/
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
124
04990d7a 125 * MooseX::Storage::Engine
126 MooseX::Storage::Meta::Attribute::DoNotSerialize
4fa64e86 127 MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
128 - adding meta-attribute-trait support for
129 DoNotSerialize
130 - added tests for this
eaa26357 131
cfee09ad 1320.11 Thurs. Jan. 10, 2008
133
134 - upped the Test::JSON dependency
135 so that we use the version that
136 supports JSON::Any
137 - upped the JSON::Any requirement
138 - minor test cleanups to handle
139 optional dependencies better
140
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
145
1460.10 Thurs. Jan. 10, 2008
1f3074ea 147 ~~ updated copyright information ~~
148
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
154
399f3500 1550.09 Tue. Oct. 23, 2007
6f491fae 156 * MooseX::Storage::Util
157 - added support to deal with utf8 strings correctly
6237d568 158
159 * MooseX::Storage::Engine::File
160 MooseX::Storage::Engine::AtomicFile
161 - fixed utf8 handling when storing string
162 - added tests for this
9740e0b7 163
164 * t/
9237d6b4 165 - added an extra test for the utf8 handling
399f3500 166
167 * Change build system to Module::Install
6f491fae 168
1690.08 Wed. Oct. 10, 2007
6c9f2c85 170 * MooseX::Storage::Format::JSON
171 - added support to deal with utf8 strings correctly
172
124c2ba5 1730.07 Thurs. Sept. 27, 2007
174 + MooseX::Storage::Format::Storable
175 - this will use Storable to freeze/thaw objects
176 - added tests for this
177
178 + MooseX::Storage::IO::StorableFile
179 - this will use Storable to load/store objects
180 - added tests for this
4747c531 181
182 * t/
183 - fixed tests in 030_with_checksum.t
184 (thanks to sartak)
185
917411c2 1860.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
191
a7f358fb 1920.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
196 output.
197
198 * t/
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.
202
8cd124d3 2030.04 Tues. July 3, 2007
021c860a 204 * MooseX::Storage::Util
205 - made this more robust when it tries
206 to use YAML and JSON loaders and fails
207 to find one
208 - fixed tests to reflect this
209
b04cbd47 2100.03 Wed. June 27, 2007
69b45b7d 211 * MooseX::Storage::Util
212 - this is a collection of useful tools
213 for working with MooseX::Storage data
214 - added docs and test
215
216 * t/
217 - added test for a custom type handler
bc0c5bf9 218 - fixed checksum test to skip if Digest::SHA1
219 (our default) is not available
1c6ac775 220
c86a46cc 2210.02 Fri. June 8, 2007
c4a322ec 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
227
45d9a73c 228 * MooseX::Storage::Engine
229 - better error reporting when cycles are found
c1830046 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
45d9a73c 234
06a66732 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.
238
7b428d1f 2390.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 :)
e59193fb 242