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