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