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