Version 0.31
[gitmo/MooseX-Storage.git] / Changes
CommitLineData
e9739624 1Revision history for MooseX-Storage
e59193fb 2
a0e1d538 30.31
cb534011 4 * Add example for add_custom_type_handler to the MooseX::Storage::Engine docs. (perigrin)
5
9ca35902 6 * Incorrect documentation for ->unpack method's inject parameter fixed.
7
9d3c60f5 8 * The test suite now uses Test::Fatal instead of Test::Exception (Karen
9 Etheridge).
10
9566cef2 110.30
12 * Make Makefile.PL features work again. RT#67170
13
08d0f48e 140.29
15 * Remove use of Test::TempDir in favor of File::Temp (gphat)
16
004bf3ea 170.28
18 * Make the engine_traits parameter be able to use a '+My::Trait::Name'
19 prefix to specify a trait name which isn't in the
00993f69 20 MooseX::Storage::Engine::Trait namespace
004bf3ea 21 * Misc POD and test cleanups.
22
39535ada 230.27
24 * use of parameterized roles (first added in 0.22) now works in Deferred
25 Example: $object->freeze({ format => [ $role_name => \%args ] })
26
8919e01e 270.26
c557e792 28 * Fix URI for repository in metadata.
049541bd 29 * Fix infinite recursion when collapsing objects which overload stringify
30 to freeze themselves.
c557e792 31
c905cefb 320.25
33 * Add support for Union types (bumps Moose dep to 0.99)
34
68cf3423 350.24
36 * Add additional YAML implementation tests.
37 * Switch from using Best to YAML::Any.
38 * Remove Test::YAML::Valid.
39
0e45b8f5 400.23
41 * Revert whitespace change in tests which breaks the tests if you
42 have Test::YAML::Valid installed.
43
75b4d0b3 440.22
e0f8f2ee 45 * Fix warnings when types do not have a parent type.
9ff679e4 46 * allow the use of roles outside MooseX::Storage:: (rjbs)
47 * allow the use of parameterized roles (rjbs)
e0f8f2ee 48
14e5132a 490.21
50 * Fix inconsistent dist versions with Perl::Version
51
e43a61ed 520.20
53 * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
54 namespace to alter the behaviour of the storage engine.
55 (Suggestions for how to make this less fugly appreciated)
56 * Add feature to disable cycle checking, either via engine trait or option
57 * add docs & tests (including 1 TODO test)
58 * Add feature to only serialize attributes whose predicate returns 'true'
59 * Implement the unpack( $data, inject => {...} ) feature.
60 * add docs & tests
61 * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
62 * Add extra test to ensure restoring fails if required argument isn't provided
63 * Fix a bug where if a required constructor argument was not serialized, it was
64 impossible to ->unpack again.
65
660.19
67 * Skip pod tests when not in author mode
68
ef87e4a6 690.18
8f677182 70 * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
71 * Added support for Maybe[...] constraints fixing RT#43165 (plu)
ef87e4a6 72
f4ffa4ef 730.17
74 * Change MooseX::Storage::Engine to use get_all_attributes,
75 rather than the deprecated compute_all_applicable_attributes (t0m)
76
5aaf0d46 770.16
78 * Don't fail tests when Best is unavailable (t0m)
79
f9143059 800.15
81 * MooseX::Storage
82 - Remove use of deprecated alias_method routine
83 which was causing issues when you used multiple
84 Roles which used MooseX::Storage (t0m).
85
df7bb436 860.14
87 * MooseX::Storage::Engine
88 - cycles are now tracked by refaddr instead
89 of stringified object, which broke for any
90 overloaded objects (Thanks to Jonathan Rockway)
91
cfd008fa 92 * Don't fail tests when YAML is unavailable
93
94 * Use temporary files in test suite, instead of cwd
95
6d0abbe8 960.13 Sat. May 24, 2008
3defafb9 97 * MooseX::Storage::Engine
98 - added find_type_handler_for($name) method
99 to make finding type handlers easier
100 - improved error messages
101
6d0abbe8 102 ~ removed Build.PL since Module::Install
103 no longer supports it
104
4fa64e86 1050.12 Fri. March 14, 2008
eaa26357 106
107 - added build_requires for Test::Deep (awwaiid)
4fa64e86 108 - upped the Moose dependency to support the custom
109 meta-attribute-traits
110
111 * t/
112 - fixing all the tests to properly skip if optional
113 features are not being used, this should help get
114 rid of all our CPANtester failures
115 - tested against 5.10 as well
116
04990d7a 117 * MooseX::Storage::Engine
118 MooseX::Storage::Meta::Attribute::DoNotSerialize
4fa64e86 119 MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
120 - adding meta-attribute-trait support for
121 DoNotSerialize
122 - added tests for this
eaa26357 123
cfee09ad 1240.11 Thurs. Jan. 10, 2008
125
126 - upped the Test::JSON dependency
127 so that we use the version that
128 supports JSON::Any
129 - upped the JSON::Any requirement
130 - minor test cleanups to handle
131 optional dependencies better
132
133 * MooseX::Storage::Engine
134 - the numbers now have to numify (+0) in the
135 expand/collapse so that certain JSON engines
136 will not choke on them
137
1380.10 Thurs. Jan. 10, 2008
1f3074ea 139 ~~ updated copyright information ~~
140
141 * MooseX::Storage::Deferred
142 - added this role, which allows you to wait until
143 you actually call a method to determine what
144 formatter and/or IO engine you want to use
145 - added tests for this
146
399f3500 1470.09 Tue. Oct. 23, 2007
6f491fae 148 * MooseX::Storage::Util
149 - added support to deal with utf8 strings correctly
6237d568 150
151 * MooseX::Storage::Engine::File
152 MooseX::Storage::Engine::AtomicFile
153 - fixed utf8 handling when storing string
154 - added tests for this
9740e0b7 155
156 * t/
9237d6b4 157 - added an extra test for the utf8 handling
399f3500 158
159 * Change build system to Module::Install
6f491fae 160
1610.08 Wed. Oct. 10, 2007
6c9f2c85 162 * MooseX::Storage::Format::JSON
163 - added support to deal with utf8 strings correctly
164
124c2ba5 1650.07 Thurs. Sept. 27, 2007
166 + MooseX::Storage::Format::Storable
167 - this will use Storable to freeze/thaw objects
168 - added tests for this
169
170 + MooseX::Storage::IO::StorableFile
171 - this will use Storable to load/store objects
172 - added tests for this
4747c531 173
174 * t/
175 - fixed tests in 030_with_checksum.t
176 (thanks to sartak)
177
917411c2 1780.06 Tues. Aug. 7, 2007
179 * MooseX::Storage::Engine
180 - added the Bool type and fixed a few bugs
181 that it exposed (thanks to Sartak)
182 - added tests for this
183
a7f358fb 1840.05 Sun. July 15. 2007
185 * MooseX::Storage::Base::WithChecksum
186 - Fixed minor issue where the WithChecksum would
187 choke with a bad checksum due to odd Data::Dumper
188 output.
189
190 * t/
191 - forced JSON::Any in the basic JSON tests to use
192 JSON.pm since this is what Test::JSON uses and
193 subtle (and annoying) issues can arise.
194
8cd124d3 1950.04 Tues. July 3, 2007
021c860a 196 * MooseX::Storage::Util
197 - made this more robust when it tries
198 to use YAML and JSON loaders and fails
199 to find one
200 - fixed tests to reflect this
201
b04cbd47 2020.03 Wed. June 27, 2007
69b45b7d 203 * MooseX::Storage::Util
204 - this is a collection of useful tools
205 for working with MooseX::Storage data
206 - added docs and test
207
208 * t/
209 - added test for a custom type handler
bc0c5bf9 210 - fixed checksum test to skip if Digest::SHA1
211 (our default) is not available
1c6ac775 212
c86a46cc 2130.02 Fri. June 8, 2007
c4a322ec 214 * MooseX::Storage::Base::WithChecksum
215 - added a simple base role which makes a checksum of
216 the data structure before packing, and checks the
217 checksum before unpacking.
218 - added tests for this
219
45d9a73c 220 * MooseX::Storage::Engine
221 - better error reporting when cycles are found
c1830046 222 - class names are now stored as the full identifier
223 (<class>-<version>-<authority>) and are checked
224 when they are expanded.
225 - added docs and tests for this
45d9a73c 226
06a66732 227 * MooseX::Storage::Engine::IO::(AtomicFile, File)
228 - added checks to make sure the file gets opened correctly
229 and dies if it does not.
230
7b428d1f 2310.01 Mon. April 30, 2007
232 This was Chris's idea originally (blame him), and
233 we expanded on it to create what you see here :)
e59193fb 234