allow deferred to use parameterized roles
[gitmo/MooseX-Storage.git] / Changes
CommitLineData
e9739624 1Revision history for MooseX-Storage
e59193fb 2
8919e01e 30.26
c557e792 4 * Fix URI for repository in metadata.
049541bd 5 * Fix infinite recursion when collapsing objects which overload stringify
6 to freeze themselves.
c557e792 7
c905cefb 80.25
9 * Add support for Union types (bumps Moose dep to 0.99)
10
68cf3423 110.24
12 * Add additional YAML implementation tests.
13 * Switch from using Best to YAML::Any.
14 * Remove Test::YAML::Valid.
15
0e45b8f5 160.23
17 * Revert whitespace change in tests which breaks the tests if you
18 have Test::YAML::Valid installed.
19
75b4d0b3 200.22
e0f8f2ee 21 * Fix warnings when types do not have a parent type.
9ff679e4 22 * allow the use of roles outside MooseX::Storage:: (rjbs)
23 * allow the use of parameterized roles (rjbs)
e0f8f2ee 24
14e5132a 250.21
26 * Fix inconsistent dist versions with Perl::Version
27
e43a61ed 280.20
29 * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
30 namespace to alter the behaviour of the storage engine.
31 (Suggestions for how to make this less fugly appreciated)
32 * Add feature to disable cycle checking, either via engine trait or option
33 * add docs & tests (including 1 TODO test)
34 * Add feature to only serialize attributes whose predicate returns 'true'
35 * Implement the unpack( $data, inject => {...} ) feature.
36 * add docs & tests
37 * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
38 * Add extra test to ensure restoring fails if required argument isn't provided
39 * Fix a bug where if a required constructor argument was not serialized, it was
40 impossible to ->unpack again.
41
420.19
43 * Skip pod tests when not in author mode
44
ef87e4a6 450.18
8f677182 46 * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
47 * Added support for Maybe[...] constraints fixing RT#43165 (plu)
ef87e4a6 48
f4ffa4ef 490.17
50 * Change MooseX::Storage::Engine to use get_all_attributes,
51 rather than the deprecated compute_all_applicable_attributes (t0m)
52
5aaf0d46 530.16
54 * Don't fail tests when Best is unavailable (t0m)
55
f9143059 560.15
57 * MooseX::Storage
58 - Remove use of deprecated alias_method routine
59 which was causing issues when you used multiple
60 Roles which used MooseX::Storage (t0m).
61
df7bb436 620.14
63 * MooseX::Storage::Engine
64 - cycles are now tracked by refaddr instead
65 of stringified object, which broke for any
66 overloaded objects (Thanks to Jonathan Rockway)
67
cfd008fa 68 * Don't fail tests when YAML is unavailable
69
70 * Use temporary files in test suite, instead of cwd
71
6d0abbe8 720.13 Sat. May 24, 2008
3defafb9 73 * MooseX::Storage::Engine
74 - added find_type_handler_for($name) method
75 to make finding type handlers easier
76 - improved error messages
77
6d0abbe8 78 ~ removed Build.PL since Module::Install
79 no longer supports it
80
4fa64e86 810.12 Fri. March 14, 2008
eaa26357 82
83 - added build_requires for Test::Deep (awwaiid)
4fa64e86 84 - upped the Moose dependency to support the custom
85 meta-attribute-traits
86
87 * t/
88 - fixing all the tests to properly skip if optional
89 features are not being used, this should help get
90 rid of all our CPANtester failures
91 - tested against 5.10 as well
92
04990d7a 93 * MooseX::Storage::Engine
94 MooseX::Storage::Meta::Attribute::DoNotSerialize
4fa64e86 95 MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
96 - adding meta-attribute-trait support for
97 DoNotSerialize
98 - added tests for this
eaa26357 99
cfee09ad 1000.11 Thurs. Jan. 10, 2008
101
102 - upped the Test::JSON dependency
103 so that we use the version that
104 supports JSON::Any
105 - upped the JSON::Any requirement
106 - minor test cleanups to handle
107 optional dependencies better
108
109 * MooseX::Storage::Engine
110 - the numbers now have to numify (+0) in the
111 expand/collapse so that certain JSON engines
112 will not choke on them
113
1140.10 Thurs. Jan. 10, 2008
1f3074ea 115 ~~ updated copyright information ~~
116
117 * MooseX::Storage::Deferred
118 - added this role, which allows you to wait until
119 you actually call a method to determine what
120 formatter and/or IO engine you want to use
121 - added tests for this
122
399f3500 1230.09 Tue. Oct. 23, 2007
6f491fae 124 * MooseX::Storage::Util
125 - added support to deal with utf8 strings correctly
6237d568 126
127 * MooseX::Storage::Engine::File
128 MooseX::Storage::Engine::AtomicFile
129 - fixed utf8 handling when storing string
130 - added tests for this
9740e0b7 131
132 * t/
9237d6b4 133 - added an extra test for the utf8 handling
399f3500 134
135 * Change build system to Module::Install
6f491fae 136
1370.08 Wed. Oct. 10, 2007
6c9f2c85 138 * MooseX::Storage::Format::JSON
139 - added support to deal with utf8 strings correctly
140
124c2ba5 1410.07 Thurs. Sept. 27, 2007
142 + MooseX::Storage::Format::Storable
143 - this will use Storable to freeze/thaw objects
144 - added tests for this
145
146 + MooseX::Storage::IO::StorableFile
147 - this will use Storable to load/store objects
148 - added tests for this
4747c531 149
150 * t/
151 - fixed tests in 030_with_checksum.t
152 (thanks to sartak)
153
917411c2 1540.06 Tues. Aug. 7, 2007
155 * MooseX::Storage::Engine
156 - added the Bool type and fixed a few bugs
157 that it exposed (thanks to Sartak)
158 - added tests for this
159
a7f358fb 1600.05 Sun. July 15. 2007
161 * MooseX::Storage::Base::WithChecksum
162 - Fixed minor issue where the WithChecksum would
163 choke with a bad checksum due to odd Data::Dumper
164 output.
165
166 * t/
167 - forced JSON::Any in the basic JSON tests to use
168 JSON.pm since this is what Test::JSON uses and
169 subtle (and annoying) issues can arise.
170
8cd124d3 1710.04 Tues. July 3, 2007
021c860a 172 * MooseX::Storage::Util
173 - made this more robust when it tries
174 to use YAML and JSON loaders and fails
175 to find one
176 - fixed tests to reflect this
177
b04cbd47 1780.03 Wed. June 27, 2007
69b45b7d 179 * MooseX::Storage::Util
180 - this is a collection of useful tools
181 for working with MooseX::Storage data
182 - added docs and test
183
184 * t/
185 - added test for a custom type handler
bc0c5bf9 186 - fixed checksum test to skip if Digest::SHA1
187 (our default) is not available
1c6ac775 188
c86a46cc 1890.02 Fri. June 8, 2007
c4a322ec 190 * MooseX::Storage::Base::WithChecksum
191 - added a simple base role which makes a checksum of
192 the data structure before packing, and checks the
193 checksum before unpacking.
194 - added tests for this
195
45d9a73c 196 * MooseX::Storage::Engine
197 - better error reporting when cycles are found
c1830046 198 - class names are now stored as the full identifier
199 (<class>-<version>-<authority>) and are checked
200 when they are expanded.
201 - added docs and tests for this
45d9a73c 202
06a66732 203 * MooseX::Storage::Engine::IO::(AtomicFile, File)
204 - added checks to make sure the file gets opened correctly
205 and dies if it does not.
206
7b428d1f 2070.01 Mon. April 30, 2007
208 This was Chris's idea originally (blame him), and
209 we expanded on it to create what you see here :)
e59193fb 210