convert all uses of Test::Exception to Test::Fatal.
[gitmo/MooseX-Storage.git] / Changes
1 Revision history for MooseX-Storage
2
3 {{NEXT}}
4   * The test suite now uses Test::Fatal instead of Test::Exception (Karen
5     Etheridge).
6
7 0.29
8   * Remove use of Test::TempDir in favor of File::Temp (gphat)
9
10 0.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
13     MooseX::Storage::Engine::Trait namespace
14   * Misc POD and test cleanups.
15
16 0.27
17   * use of parameterized roles (first added in 0.22) now works in Deferred
18     Example: $object->freeze({ format => [ $role_name => \%args ] })
19
20 0.26
21   * Fix URI for repository in metadata.
22   * Fix infinite recursion when collapsing objects which overload stringify
23     to freeze themselves.
24
25 0.25
26   * Add support for Union types (bumps Moose dep to 0.99)
27
28 0.24
29   * Add additional YAML implementation tests.
30   * Switch from using Best to YAML::Any.
31   * Remove Test::YAML::Valid.
32
33 0.23
34   * Revert whitespace change in tests which breaks the tests if you
35     have Test::YAML::Valid installed.
36
37 0.22
38   * Fix warnings when types do not have a parent type.
39   * allow the use of roles outside MooseX::Storage:: (rjbs)
40   * allow the use of parameterized roles (rjbs)
41
42 0.21
43   * Fix inconsistent dist versions with Perl::Version
44
45 0.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
59 0.19
60   * Skip pod tests when not in author mode
61
62 0.18
63    * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
64    * Added support for Maybe[...] constraints fixing RT#43165 (plu)
65
66 0.17
67    * Change MooseX::Storage::Engine to use get_all_attributes,
68      rather than the deprecated compute_all_applicable_attributes (t0m)
69
70 0.16
71    * Don't fail tests when Best is unavailable (t0m)
72
73 0.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
79 0.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
85     * Don't fail tests when YAML is unavailable
86
87     * Use temporary files in test suite, instead of cwd
88
89 0.13 Sat. May 24, 2008
90     * MooseX::Storage::Engine
91       - added find_type_handler_for($name) method 
92         to make finding type handlers easier
93       - improved error messages
94
95     ~ removed Build.PL since Module::Install
96       no longer supports it
97
98 0.12 Fri. March 14, 2008
99
100     - added build_requires for Test::Deep (awwaiid)
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     
110     * MooseX::Storage::Engine
111       MooseX::Storage::Meta::Attribute::DoNotSerialize
112       MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
113       - adding meta-attribute-trait support for 
114         DoNotSerialize
115         - added tests for this
116
117 0.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
131 0.10 Thurs. Jan. 10, 2008
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
140 0.09 Tue. Oct. 23, 2007
141     * MooseX::Storage::Util
142       - added support to deal with utf8 strings correctly
143       
144     * MooseX::Storage::Engine::File
145       MooseX::Storage::Engine::AtomicFile
146       - fixed utf8 handling when storing string
147         - added tests for this
148      
149     * t/
150       - added an extra test for the utf8 handling
151     
152     * Change build system to Module::Install
153
154 0.08 Wed. Oct. 10, 2007
155     * MooseX::Storage::Format::JSON
156       - added support to deal with utf8 strings correctly
157
158 0.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
166
167     * t/
168       - fixed tests in 030_with_checksum.t
169         (thanks to sartak)
170
171 0.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
177 0.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
188 0.04 Tues. July 3, 2007
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
195 0.03 Wed. June 27, 2007
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
203         - fixed checksum test to skip if Digest::SHA1 
204           (our default) is not available
205
206 0.02 Fri. June 8, 2007
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
213     * MooseX::Storage::Engine
214       - better error reporting when cycles are found
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
219
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
224 0.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 :)
227