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