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