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