bump version to 0.33
[gitmo/MooseX-Storage.git] / Changes
CommitLineData
e9739624 1Revision history for MooseX-Storage
e59193fb 2
81a523ba 30.33
6f80d403 4 * always JSONify data with sorted keys, to handle hash order randomization
5 introduced in 5.17.* (RT#84287, Karen Etheridge)
6
e44b5f54 70.32
7d5ab57c 8 * Change to use core Digest and Digest::SHA dists, rather than Digest::SHA1.
e44b5f54 9 RT#69811
0edcbfee 10 * Create a JSON::Any object, so setting $ENV{JSON_ANY_CONFIG} works.
e44b5f54 11 Adjust tests that were setting the wrong values and the default
12 happened to work.
cd4cef76 13 * Don't rely on hash key order in tests (RT#81695)
7d5ab57c 14
a0e1d538 150.31
cb534011 16 * Add example for add_custom_type_handler to the MooseX::Storage::Engine docs. (perigrin)
17
9ca35902 18 * Incorrect documentation for ->unpack method's inject parameter fixed.
19
9d3c60f5 20 * The test suite now uses Test::Fatal instead of Test::Exception (Karen
21 Etheridge).
22
9566cef2 230.30
24 * Make Makefile.PL features work again. RT#67170
25
08d0f48e 260.29
27 * Remove use of Test::TempDir in favor of File::Temp (gphat)
28
004bf3ea 290.28
30 * Make the engine_traits parameter be able to use a '+My::Trait::Name'
31 prefix to specify a trait name which isn't in the
00993f69 32 MooseX::Storage::Engine::Trait namespace
004bf3ea 33 * Misc POD and test cleanups.
34
39535ada 350.27
36 * use of parameterized roles (first added in 0.22) now works in Deferred
37 Example: $object->freeze({ format => [ $role_name => \%args ] })
38
8919e01e 390.26
c557e792 40 * Fix URI for repository in metadata.
049541bd 41 * Fix infinite recursion when collapsing objects which overload stringify
42 to freeze themselves.
c557e792 43
c905cefb 440.25
45 * Add support for Union types (bumps Moose dep to 0.99)
46
68cf3423 470.24
48 * Add additional YAML implementation tests.
49 * Switch from using Best to YAML::Any.
50 * Remove Test::YAML::Valid.
51
0e45b8f5 520.23
53 * Revert whitespace change in tests which breaks the tests if you
54 have Test::YAML::Valid installed.
55
75b4d0b3 560.22
e0f8f2ee 57 * Fix warnings when types do not have a parent type.
9ff679e4 58 * allow the use of roles outside MooseX::Storage:: (rjbs)
59 * allow the use of parameterized roles (rjbs)
e0f8f2ee 60
14e5132a 610.21
62 * Fix inconsistent dist versions with Perl::Version
63
e43a61ed 640.20
65 * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
66 namespace to alter the behaviour of the storage engine.
67 (Suggestions for how to make this less fugly appreciated)
68 * Add feature to disable cycle checking, either via engine trait or option
69 * add docs & tests (including 1 TODO test)
70 * Add feature to only serialize attributes whose predicate returns 'true'
71 * Implement the unpack( $data, inject => {...} ) feature.
72 * add docs & tests
73 * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
74 * Add extra test to ensure restoring fails if required argument isn't provided
75 * Fix a bug where if a required constructor argument was not serialized, it was
76 impossible to ->unpack again.
77
780.19
79 * Skip pod tests when not in author mode
80
ef87e4a6 810.18
8f677182 82 * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
83 * Added support for Maybe[...] constraints fixing RT#43165 (plu)
ef87e4a6 84
f4ffa4ef 850.17
86 * Change MooseX::Storage::Engine to use get_all_attributes,
87 rather than the deprecated compute_all_applicable_attributes (t0m)
88
5aaf0d46 890.16
90 * Don't fail tests when Best is unavailable (t0m)
91
f9143059 920.15
93 * MooseX::Storage
94 - Remove use of deprecated alias_method routine
95 which was causing issues when you used multiple
96 Roles which used MooseX::Storage (t0m).
97
df7bb436 980.14
99 * MooseX::Storage::Engine
100 - cycles are now tracked by refaddr instead
101 of stringified object, which broke for any
102 overloaded objects (Thanks to Jonathan Rockway)
103
cfd008fa 104 * Don't fail tests when YAML is unavailable
105
106 * Use temporary files in test suite, instead of cwd
107
6d0abbe8 1080.13 Sat. May 24, 2008
3defafb9 109 * MooseX::Storage::Engine
110 - added find_type_handler_for($name) method
111 to make finding type handlers easier
112 - improved error messages
113
6d0abbe8 114 ~ removed Build.PL since Module::Install
115 no longer supports it
116
4fa64e86 1170.12 Fri. March 14, 2008
eaa26357 118
119 - added build_requires for Test::Deep (awwaiid)
4fa64e86 120 - upped the Moose dependency to support the custom
121 meta-attribute-traits
122
123 * t/
124 - fixing all the tests to properly skip if optional
125 features are not being used, this should help get
126 rid of all our CPANtester failures
127 - tested against 5.10 as well
128
04990d7a 129 * MooseX::Storage::Engine
130 MooseX::Storage::Meta::Attribute::DoNotSerialize
4fa64e86 131 MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
132 - adding meta-attribute-trait support for
133 DoNotSerialize
134 - added tests for this
eaa26357 135
cfee09ad 1360.11 Thurs. Jan. 10, 2008
137
138 - upped the Test::JSON dependency
139 so that we use the version that
140 supports JSON::Any
141 - upped the JSON::Any requirement
142 - minor test cleanups to handle
143 optional dependencies better
144
145 * MooseX::Storage::Engine
146 - the numbers now have to numify (+0) in the
147 expand/collapse so that certain JSON engines
148 will not choke on them
149
1500.10 Thurs. Jan. 10, 2008
1f3074ea 151 ~~ updated copyright information ~~
152
153 * MooseX::Storage::Deferred
154 - added this role, which allows you to wait until
155 you actually call a method to determine what
156 formatter and/or IO engine you want to use
157 - added tests for this
158
399f3500 1590.09 Tue. Oct. 23, 2007
6f491fae 160 * MooseX::Storage::Util
161 - added support to deal with utf8 strings correctly
6237d568 162
163 * MooseX::Storage::Engine::File
164 MooseX::Storage::Engine::AtomicFile
165 - fixed utf8 handling when storing string
166 - added tests for this
9740e0b7 167
168 * t/
9237d6b4 169 - added an extra test for the utf8 handling
399f3500 170
171 * Change build system to Module::Install
6f491fae 172
1730.08 Wed. Oct. 10, 2007
6c9f2c85 174 * MooseX::Storage::Format::JSON
175 - added support to deal with utf8 strings correctly
176
124c2ba5 1770.07 Thurs. Sept. 27, 2007
178 + MooseX::Storage::Format::Storable
179 - this will use Storable to freeze/thaw objects
180 - added tests for this
181
182 + MooseX::Storage::IO::StorableFile
183 - this will use Storable to load/store objects
184 - added tests for this
4747c531 185
186 * t/
187 - fixed tests in 030_with_checksum.t
188 (thanks to sartak)
189
917411c2 1900.06 Tues. Aug. 7, 2007
191 * MooseX::Storage::Engine
192 - added the Bool type and fixed a few bugs
193 that it exposed (thanks to Sartak)
194 - added tests for this
195
a7f358fb 1960.05 Sun. July 15. 2007
197 * MooseX::Storage::Base::WithChecksum
198 - Fixed minor issue where the WithChecksum would
199 choke with a bad checksum due to odd Data::Dumper
200 output.
201
202 * t/
203 - forced JSON::Any in the basic JSON tests to use
204 JSON.pm since this is what Test::JSON uses and
205 subtle (and annoying) issues can arise.
206
8cd124d3 2070.04 Tues. July 3, 2007
021c860a 208 * MooseX::Storage::Util
209 - made this more robust when it tries
210 to use YAML and JSON loaders and fails
211 to find one
212 - fixed tests to reflect this
213
b04cbd47 2140.03 Wed. June 27, 2007
69b45b7d 215 * MooseX::Storage::Util
216 - this is a collection of useful tools
217 for working with MooseX::Storage data
218 - added docs and test
219
220 * t/
221 - added test for a custom type handler
bc0c5bf9 222 - fixed checksum test to skip if Digest::SHA1
223 (our default) is not available
1c6ac775 224
c86a46cc 2250.02 Fri. June 8, 2007
c4a322ec 226 * MooseX::Storage::Base::WithChecksum
227 - added a simple base role which makes a checksum of
228 the data structure before packing, and checks the
229 checksum before unpacking.
230 - added tests for this
231
45d9a73c 232 * MooseX::Storage::Engine
233 - better error reporting when cycles are found
c1830046 234 - class names are now stored as the full identifier
235 (<class>-<version>-<authority>) and are checked
236 when they are expanded.
237 - added docs and tests for this
45d9a73c 238
06a66732 239 * MooseX::Storage::Engine::IO::(AtomicFile, File)
240 - added checks to make sure the file gets opened correctly
241 and dies if it does not.
242
7b428d1f 2430.01 Mon. April 30, 2007
244 This was Chris's idea originally (blame him), and
245 we expanded on it to create what you see here :)
e59193fb 246