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