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