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