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