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