eval require instead of use
[gitmo/MooseX-Storage.git] / Changes
1 Revision history for MooseX-Storage
2
3 0.23
4   * Revert whitespace change in tests which breaks the tests if you
5     have Test::YAML::Valid installed.
6
7 0.22
8   * Fix warnings when types do not have a parent type.
9   * allow the use of roles outside MooseX::Storage:: (rjbs)
10   * allow the use of parameterized roles (rjbs)
11
12 0.21
13   * Fix inconsistent dist versions with Perl::Version
14
15 0.20
16   * Add support for Storage( traits => [...] ) with a MooseX::Storage::Traits::XX
17     namespace to alter the behaviour of the storage engine.
18     (Suggestions for how to make this less fugly appreciated)
19   * Add feature to disable cycle checking, either via engine trait or option
20     * add docs & tests (including 1 TODO test)
21   * Add feature to only serialize attributes whose predicate returns 'true'
22   * Implement the unpack( $data, inject => {...} ) feature.
23     * add docs & tests
24   * Move Base::WithChecksum to build upon Basic.pm, avoid code duplication
25   * Add extra test to ensure restoring fails if required argument isn't provided
26   * Fix a bug where if a required constructor argument was not serialized, it was
27     impossible to ->unpack again.
28
29 0.19
30   * Skip pod tests when not in author mode
31
32 0.18
33    * Fix test failures without JSON::Any. Patch from RT#46343 (Nicholas Clarke)
34    * Added support for Maybe[...] constraints fixing RT#43165 (plu)
35
36 0.17
37    * Change MooseX::Storage::Engine to use get_all_attributes,
38      rather than the deprecated compute_all_applicable_attributes (t0m)
39
40 0.16
41    * Don't fail tests when Best is unavailable (t0m)
42
43 0.15
44     * MooseX::Storage
45       - Remove use of deprecated alias_method routine
46         which was causing issues when you used multiple
47         Roles which used MooseX::Storage (t0m).
48
49 0.14
50     * MooseX::Storage::Engine
51       - cycles are now tracked by refaddr instead 
52         of stringified object, which broke for any
53         overloaded objects (Thanks to Jonathan Rockway)
54
55     * Don't fail tests when YAML is unavailable
56
57     * Use temporary files in test suite, instead of cwd
58
59 0.13 Sat. May 24, 2008
60     * MooseX::Storage::Engine
61       - added find_type_handler_for($name) method 
62         to make finding type handlers easier
63       - improved error messages
64
65     ~ removed Build.PL since Module::Install
66       no longer supports it
67
68 0.12 Fri. March 14, 2008
69
70     - added build_requires for Test::Deep (awwaiid)
71     - upped the Moose dependency to support the custom
72       meta-attribute-traits
73     
74     * t/
75       - fixing all the tests to properly skip if optional 
76         features are not being used, this should help get
77         rid of all our CPANtester failures
78         - tested against 5.10 as well
79     
80     * MooseX::Storage::Engine
81       MooseX::Storage::Meta::Attribute::DoNotSerialize
82       MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize
83       - adding meta-attribute-trait support for 
84         DoNotSerialize
85         - added tests for this
86
87 0.11 Thurs. Jan. 10, 2008
88
89     - upped the Test::JSON dependency 
90       so that we use the version that 
91       supports JSON::Any
92     - upped the JSON::Any requirement 
93     - minor test cleanups to handle
94       optional dependencies better
95
96     * MooseX::Storage::Engine
97       - the numbers now have to numify (+0) in the 
98         expand/collapse so that certain JSON engines
99         will not choke on them
100
101 0.10 Thurs. Jan. 10, 2008
102     ~~ updated copyright information ~~
103
104     * MooseX::Storage::Deferred
105       - added this role, which allows you to wait until
106         you actually call a method to determine what 
107         formatter and/or IO engine you want to use
108         - added tests for this
109
110 0.09 Tue. Oct. 23, 2007
111     * MooseX::Storage::Util
112       - added support to deal with utf8 strings correctly
113       
114     * MooseX::Storage::Engine::File
115       MooseX::Storage::Engine::AtomicFile
116       - fixed utf8 handling when storing string
117         - added tests for this
118      
119     * t/
120       - added an extra test for the utf8 handling
121     
122     * Change build system to Module::Install
123
124 0.08 Wed. Oct. 10, 2007
125     * MooseX::Storage::Format::JSON
126       - added support to deal with utf8 strings correctly
127
128 0.07 Thurs. Sept. 27, 2007
129     + MooseX::Storage::Format::Storable
130       - this will use Storable to freeze/thaw objects
131         - added tests for this
132     
133     + MooseX::Storage::IO::StorableFile
134       - this will use Storable to load/store objects    
135         - added tests for this
136
137     * t/
138       - fixed tests in 030_with_checksum.t
139         (thanks to sartak)
140
141 0.06 Tues. Aug. 7, 2007
142     * MooseX::Storage::Engine
143       - added the Bool type and fixed a few bugs
144         that it exposed (thanks to Sartak)
145         - added tests for this
146
147 0.05 Sun. July 15. 2007
148     * MooseX::Storage::Base::WithChecksum
149       - Fixed minor issue where the WithChecksum would 
150         choke with a bad checksum due to odd Data::Dumper
151         output.
152     
153     * t/
154       - forced JSON::Any in the basic JSON tests to use 
155         JSON.pm since this is what Test::JSON uses and 
156         subtle (and annoying) issues can arise.
157
158 0.04 Tues. July 3, 2007
159     * MooseX::Storage::Util
160         - made this more robust when it tries
161           to use YAML and JSON loaders and fails
162           to find one
163             - fixed tests to reflect this
164
165 0.03 Wed. June 27, 2007
166     * MooseX::Storage::Util
167         - this is a collection of useful tools 
168           for working with MooseX::Storage data
169             - added docs and test
170
171     * t/
172         - added test for a custom type handler
173         - fixed checksum test to skip if Digest::SHA1 
174           (our default) is not available
175
176 0.02 Fri. June 8, 2007
177     * MooseX::Storage::Base::WithChecksum
178       - added a simple base role which makes a checksum of 
179         the data structure before packing, and checks the
180         checksum before unpacking.
181         - added tests for this
182
183     * MooseX::Storage::Engine
184       - better error reporting when cycles are found
185       - class names are now stored as the full identifier
186         (<class>-<version>-<authority>) and are checked
187         when they are expanded.
188         - added docs and tests for this
189
190     * MooseX::Storage::Engine::IO::(AtomicFile, File)
191       - added checks to make sure the file gets opened correctly
192         and dies if it does not.
193
194 0.01  Mon. April 30, 2007
195     This was Chris's idea originally (blame him), and 
196     we expanded on it to create what you see here :)
197