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