better diagnostics on test failures
[p5sagit/Config-Any.git] / Changes
CommitLineData
c80a0905 1Revision history for Config-Any
2
1afb249c 30.30 - 2017-03-28
284d797b 4 - don't use YAML::Syck on perl 5.8.8 or below, where it is broken
5 - ensure tarball does not contain SCHILY headers
6
2c3b51a1 70.29 - 2017-02-27
c8a5bdcc 8 - allow loading relative perl files even under taint mode (RT#120371)
9 - throw errors when attempting to load perl files that do not exist
10
82410e22 110.28 - 2017-02-21
84f75412 12 - support Cpanel::JSON::XS and JSON::MaybeXS for loading JSON
13 - decode UTF-8 config files properly
14 - load perl files directly, never possibly searching @INC
15
3d43e104 160.27 2016-03-31
17 - depend on Module::Pluggable::Object directly instead of assuming it is
18 bundled with Module::Pluggable (RT #113148)
19
42df3732 200.26 2015-04-29
21 - fix error reporting from code applied in 0.25 (RT #104079)
22
f9f3d682 230.25 2015-04-23
24 - do not clobber $@ (RT #103061)
25
0026ed83 260.24 2013-09-10
27 - remove 4-year-old warning about YAML::XS not being installed
a8ffcd3b 28 - add JSON::PP to list of available JSON parsers (RT #86959)
0026ed83 29
a86df341 300.23 2011-07-13
31 - fix test suite's method of checking availability of plugins
32
fb331ab3 330.22 2011-07-04
34 - add XML::NamespaceSupport to XML format deps, silence YAML warnings in
35 tests (caelum)
36
e9573b61 370.21 2011-05-25
ccae701a 38 - fix t/64-extfail.t to pass when t/lib is in @INC
39
d7eb7b5c 400.20 2010-08-06
7adf5673 41 - enable -ForceArray option by default for Config::General (caelum)
42
d7eb7b5c 430.19 2010-02-15
f07b7a17 44 - add JSON::DWIW to the top of the JSON loaders list (caelum)
45 - remove need for caching in Perl loader by using do() instead
46 of require() (caelum)
47
d7eb7b5c 480.18 2009-11-16
bb941906 49 - ensure XML loader's _coerce() method checks specifically for HASH refs
c793253e 50 - add YAML::XS to the top of the YAML loaders list
51
d7eb7b5c 520.17 2009-02-05
5d3ad6eb 53 - ensure require() happens against plugin specified in force_plugins.
d49610ab 54 - add JSON::XS to the top of the JSON loaders list
5d3ad6eb 55
d7eb7b5c 560.16 2008-11-17
0ac17764 57 - fix up branches test which did not handle the errors thrown by
58 changes from the last release (RT #40948)
59 - fix up error message for "any of" (RT #40972)
60
d7eb7b5c 610.15 2008-11-12
dcfb1d1d 62 - when use_ext is true, we will check to see if there are no supported
63 modules for a particular file. instead of the file being skipped, an
64 error will be thrown (RT #38927).
65 - also, when use_ext is true, a fatal error will be thrown if there are
66 no loaders available that understand the file extension.
67 - officially support multiple loaders per extension
68 - add a Config::Any::Base for all loaders to inherit from, plus add
69 a new dependency mechanism: requires_any_of() and requires_all_of().
70 - filter out loaders that don't inherit from Config::Any::Base (RT #40830)
71
d7eb7b5c 720.14 2008-08-06
9d569cf0 73 - skip xml failure tests if XML::LibXML < 1.59 is installed, it seems
74 to parse anything you throw at it (Matt S. Trout)
75
d7eb7b5c 760.13 2008-08-05
5770ffc0 77 - show actual parse error when parse fails (Marcus Ramberg)
78 - ensure Config::Tiny parse errors are trapped
79 - added tests for each format to ensure they throw parse errors
11501cf7 80 - added a caveat regarding XML::Simple's strict mode (Peter Corlett)
aa7bd7c3 81 - added a flatten_to_hash option to return a simple key-value hashref
82 instead of the default "arrayref of hashrefs" (Pedro Figueiredo)
92c29326 83
d7eb7b5c 840.12 2008-04-07
8af0a7cf 85 - ensure Perl loader dies on a failed require() (RT #32995)
86
d7eb7b5c 870.11 2008-01-28
5a2e0210 88 - fix subsection parsing for existing keys in INI files (RT #32726)
89 - use from_json() if JSON version 2.x is available
90 - refactor the test suite slightly
91
d7eb7b5c 920.10 2007-12-11
af9773e2 93 - promote dev release to stable
94
d7eb7b5c 950.09_02 2007-11-13
48e4a267 96 - require version 0.70 of YAML::Syck for multi-document loading
97
d7eb7b5c 980.09_01 2007-11-13
a918b0b8 99 - code and pod cleanups
100 - use_ext is now on by default
83588765 101 - when use_ext is on, if a loader throws an error, we throw an error
a918b0b8 102 - fix case where use_ext is defined and false, but was behaving like
103 use_ext => 1
72628dc7 104 - allow loaders to return multiple documents as an array
83588765 105 - each plugin now has an is_supported() method which helps us figure out
106 if the right modules are available
4efab558 107
d7eb7b5c 1080.08 2007-08-23
a918b0b8 109 - pass config options to each parser
110 - fix for loading the same perl config twice (RT #28812)
83020fbd 111
d7eb7b5c 1120.07 2007-02-26
a918b0b8 113 - promote 0.06_01 to non-dev.
89706e8e 114
d7eb7b5c 1150.06_01 2007-02-25
a918b0b8 116 - fixed bug [rt.cpan.org #25143] make tests fails
117 + t/61_features.t had 1 more test added than was set to skip if the INI
118 parser was not installed. Fixed by s/9/10/ on the skip() line.
f0e3c221 119
d7eb7b5c 1200.06 2007-02-22
a918b0b8 121 - removed reference to Test::Exception, bumped version number
c80a0905 122
d7eb7b5c 1230.05 2007-02-21
a918b0b8 124 - added support for (requested by Evan Kaufman):
125 + 'force_plugins => [ qw(Config::Any::Foo Config::Any::Blah) ]' parameter
77f14cda 126 to load_(files|stems)
a918b0b8 127 + $Config::Any::INI::MAP_SECTION_SPACE_TO_NESTED_KEY - boolean, defaulting
128 to on, controlling whether to map spaces in INI section headings
129 to nested hashrefs
4ab3432c 130
d7eb7b5c 1310.04 2006-08-07
a918b0b8 132 - Initial CPAN-worthy release with proper test suite
4ab3432c 133