make this test function properly when JSON backends aren't installed
[gitmo/MooseX-Storage.git] / Changes
CommitLineData
d3671a48 1Revision history for {{$dist->name}}
2
3{{$NEXT}}
16064545 4 * replaced last use of Best (held over since 2010!) to YAML::Any
c2d52f94 5 * fixed another test making use of optional features
77e5790d 6
70.39 2013-07-26 17:02:26 PDT-0700 (Karen Etheridge)
d29321d0 8 * re-release as stable (full working Dist::Zilla conversion)
814698b4 9
100.38-TRIAL 2013-07-20 09:42:03 PDT-0700 (Karen Etheridge)
8725bb5d 11 * re-release with new compile test, which properly declares all its prerequisites
26a10d69 12
130.37-TRIAL 2013-07-19 17:41:17 PDT-0700 (Karen Etheridge)
fdc71a7a 14 * fixed compile tests so that modules using optional features are skipped
15 (from 0.36-TRIAL)
4d941613 16
170.36-TRIAL 2013-07-16 21:41:39 PDT-0700 (Karen Etheridge)
1ba47903 18 * convert to Dist::Zilla, with new optional prereq handling
e59193fb 19
bba46bb5 200.35 2013-07-15
30d5da5c 21 * properly skip optional tests when the required JSON backends aren't
22 available
23
e7ab79ca 240.34 2013-06-20
b9f532ee 25 * JSON storage works when Cpanel::JSON::XS is the only JSON backend installed
26
8e1415ef 270.33 2013-03-29
6f80d403 28 * always JSONify data with sorted keys, to handle hash order randomization
29 introduced in 5.17.* (RT#84287, Karen Etheridge)
30
8e1415ef 310.32 2012-12-04
7d5ab57c 32 * Change to use core Digest and Digest::SHA dists, rather than Digest::SHA1.
e44b5f54 33 RT#69811
0edcbfee 34 * Create a JSON::Any object, so setting $ENV{JSON_ANY_CONFIG} works.
e44b5f54 35 Adjust tests that were setting the wrong values and the default
36 happened to work.
cd4cef76 37 * Don't rely on hash key order in tests (RT#81695)
7d5ab57c 38
8e1415ef 390.31 2012-02-28
cb534011 40 * Add example for add_custom_type_handler to the MooseX::Storage::Engine docs. (perigrin)
41
9ca35902 42 * Incorrect documentation for ->unpack method's inject parameter fixed.
43
9d3c60f5 44 * The test suite now uses Test::Fatal instead of Test::Exception (Karen
45 Etheridge).
46
8e1415ef 470.30 2011-04-29
9566cef2 48 * Make Makefile.PL features work again. RT#67170
49
8e1415ef 500.29 2010-11-17
08d0f48e 51 * Remove use of Test::TempDir in favor of File::Temp (gphat)
52
8e1415ef 530.28 2010-10-03
004bf3ea 54 * Make the engine_traits parameter be able to use a '+My::Trait::Name'
55 prefix to specify a trait name which isn't in the
00993f69 56 MooseX::Storage::Engine::Trait namespace
004bf3ea 57 * Misc POD and test cleanups.
58
8e1415ef 590.27 2010-04-15
39535ada 60 * use of parameterized roles (first added in 0.22) now works in Deferred
61 Example: $object->freeze({ format => [ $role_name => \%args ] })
62
8e1415ef 630.26 2010-03-25
c557e792 64 * Fix URI for repository in metadata.
049541bd 65 * Fix infinite recursion when collapsing objects which overload stringify
66 to freeze themselves.
c557e792 67
8e1415ef 680.25 2010-03-09
c905cefb 69 * Add support for Union types (bumps Moose dep to 0.99)
70
8e1415ef 710.24 2010-01-11
68cf3423 72 * Add additional YAML implementation tests.
73 * Switch from using Best to YAML::Any.
74 * Remove Test::YAML::Valid.
75
8e1415ef 760.23 2009-11-10
0e45b8f5 77 * Revert whitespace change in tests which breaks the tests if you
78 have Test::YAML::Valid installed.
79
8e1415ef 800.22 2009-11-05
e0f8f2ee 81 * Fix warnings when types do not have a parent type.
9ff679e4 82 * allow the use of roles outside MooseX::Storage:: (rjbs)
83 * allow the use of parameterized roles (rjbs)
e0f8f2ee 84
8e1415ef 850.21 2009-07-14
14e5132a 86 * Fix inconsistent dist versions with Perl::Version
87
8e1415ef 880.20 2009-07-14
e43a61ed 89 * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
90 namespace to alter the behaviour of the storage engine.
91 (Suggestions for how to make this less fugly appreciated)
92 * Add feature to disable cycle checking, either via engine trait or option
93 * add docs & tests (including 1 TODO test)
94 * Add feature to only serialize attributes whose predicate returns 'true'
95 * Implement the unpack( $data, inject => {...} ) feature.
96 * add docs & tests
97 * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
98 * Add extra test to ensure restoring fails if required argument isn't provided
99 * Fix a bug where if a required constructor argument was not serialized, it was
100 impossible to ->unpack again.
101
8e1415ef 1020.19 2009-07-14
e43a61ed 103 * Skip pod tests when not in author mode
104
8e1415ef 1050.18 2009-06-02
8f677182 106 * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
107 * Added support for Maybe[...] constraints fixing RT#43165 (plu)
ef87e4a6 108
8e1415ef 1090.17 2009-04-06
f4ffa4ef 110 * Change MooseX::Storage::Engine to use get_all_attributes,
111 rather than the deprecated compute_all_applicable_attributes (t0m)
5aaf0d46 112 * Don't fail tests when Best is unavailable (t0m)
113
8e1415ef 1140.15 2008-09-29
f9143059 115 * MooseX::Storage
116 - Remove use of deprecated alias_method routine
117 which was causing issues when you used multiple
118 Roles which used MooseX::Storage (t0m).
119
8e1415ef 1200.14 2008-06-22
df7bb436 121 * MooseX::Storage::Engine
122 - cycles are now tracked by refaddr instead
123 of stringified object, which broke for any
124 overloaded objects (Thanks to Jonathan Rockway)
125
cfd008fa 126 * Don't fail tests when YAML is unavailable
127
128 * Use temporary files in test suite, instead of cwd
129
8e1415ef 1300.13 2008-05-24
3defafb9 131 * MooseX::Storage::Engine
132 - added find_type_handler_for($name) method
133 to make finding type handlers easier
134 - improved error messages
135
6d0abbe8 136 ~ removed Build.PL since Module::Install
137 no longer supports it
138
8e1415ef 1390.12 2008-03-14
eaa26357 140 - added build_requires for Test::Deep (awwaiid)
4fa64e86 141 - upped the Moose dependency to support the custom
142 meta-attribute-traits
143
144 * t/
145 - fixing all the tests to properly skip if optional
146 features are not being used, this should help get
147 rid of all our CPANtester failures
148 - tested against 5.10 as well
149
04990d7a 150 * MooseX::Storage::Engine
151 MooseX::Storage::Meta::Attribute::DoNotSerialize
4fa64e86 152 MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
153 - adding meta-attribute-trait support for
154 DoNotSerialize
155 - added tests for this
eaa26357 156
8e1415ef 1570.11 2008-01-10
cfee09ad 158 - upped the Test::JSON dependency
159 so that we use the version that
160 supports JSON::Any
161 - upped the JSON::Any requirement
162 - minor test cleanups to handle
163 optional dependencies better
164
165 * MooseX::Storage::Engine
166 - the numbers now have to numify (+0) in the
167 expand/collapse so that certain JSON engines
168 will not choke on them
169
8e1415ef 1700.10 2009-01-10
1f3074ea 171 ~~ updated copyright information ~~
172
173 * MooseX::Storage::Deferred
174 - added this role, which allows you to wait until
175 you actually call a method to determine what
176 formatter and/or IO engine you want to use
177 - added tests for this
178
8e1415ef 1790.09 2007-10-23
6f491fae 180 * MooseX::Storage::Util
181 - added support to deal with utf8 strings correctly
6237d568 182
183 * MooseX::Storage::Engine::File
184 MooseX::Storage::Engine::AtomicFile
185 - fixed utf8 handling when storing string
186 - added tests for this
9740e0b7 187
188 * t/
9237d6b4 189 - added an extra test for the utf8 handling
399f3500 190
191 * Change build system to Module::Install
6f491fae 192
8e1415ef 1930.08 2007-10-10
6c9f2c85 194 * MooseX::Storage::Format::JSON
195 - added support to deal with utf8 strings correctly
196
8e1415ef 1970.07 2007-09-27
124c2ba5 198 + MooseX::Storage::Format::Storable
199 - this will use Storable to freeze/thaw objects
200 - added tests for this
201
202 + MooseX::Storage::IO::StorableFile
203 - this will use Storable to load/store objects
204 - added tests for this
4747c531 205
206 * t/
207 - fixed tests in 030_with_checksum.t
208 (thanks to sartak)
209
8e1415ef 2100.06 2007-08-07
917411c2 211 * MooseX::Storage::Engine
212 - added the Bool type and fixed a few bugs
213 that it exposed (thanks to Sartak)
214 - added tests for this
215
8e1415ef 2160.05 2007-07-15
a7f358fb 217 * MooseX::Storage::Base::WithChecksum
218 - Fixed minor issue where the WithChecksum would
219 choke with a bad checksum due to odd Data::Dumper
220 output.
221
222 * t/
223 - forced JSON::Any in the basic JSON tests to use
224 JSON.pm since this is what Test::JSON uses and
225 subtle (and annoying) issues can arise.
226
8e1415ef 2270.04 2007-07-03
021c860a 228 * MooseX::Storage::Util
229 - made this more robust when it tries
230 to use YAML and JSON loaders and fails
231 to find one
232 - fixed tests to reflect this
233
8e1415ef 2340.03 2007-06-27
69b45b7d 235 * MooseX::Storage::Util
236 - this is a collection of useful tools
237 for working with MooseX::Storage data
238 - added docs and test
239
240 * t/
241 - added test for a custom type handler
bc0c5bf9 242 - fixed checksum test to skip if Digest::SHA1
243 (our default) is not available
1c6ac775 244
8e1415ef 2450.02 2007-06-08
c4a322ec 246 * MooseX::Storage::Base::WithChecksum
247 - added a simple base role which makes a checksum of
248 the data structure before packing, and checks the
249 checksum before unpacking.
250 - added tests for this
251
45d9a73c 252 * MooseX::Storage::Engine
253 - better error reporting when cycles are found
c1830046 254 - class names are now stored as the full identifier
255 (<class>-<version>-<authority>) and are checked
256 when they are expanded.
257 - added docs and tests for this
45d9a73c 258
06a66732 259 * MooseX::Storage::Engine::IO::(AtomicFile, File)
260 - added checks to make sure the file gets opened correctly
261 and dies if it does not.
262
8e1415ef 2630.01 2007-04-30
7b428d1f 264 This was Chris's idea originally (blame him), and
265 we expanded on it to create what you see here :)
e59193fb 266