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