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