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