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