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