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