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