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