| 1 |
Revision history for Perl extension Config-Tiny: |
| 2 |
|
| 3 |
2.30 2023-10-12T17:17:08 |
| 4 |
- As of V 2.30, this module supports an array syntax for cases where you wish to |
| 5 |
assign an array of values to a key. |
| 6 |
- See the new POD section called ARRAY SYNTAX. |
| 7 |
- See also the updated question in the FAQ: What happens if a key is repeated? |
| 8 |
- See also the sample code in the Synopsis and in t/02.main.t and in t/test.conf. |
| 9 |
- In each case, search for the word greetings to find the new code samples. |
| 10 |
- This patch was kindly provided by Steven Schoch, with some additions by Ron Savage. |
| 11 |
|
| 12 |
2.29 2023-04-05T12:53:00 |
| 13 |
- Edit to remove Test::Pod from TEST_REQUIRES in Makefile.PL, again. |
| 14 |
Thanx to Andrew Daugherity for the patch. |
| 15 |
- Update versiojnn # in t/02.main.t. |
| 16 |
|
| 17 |
2.28 2022-01-04T15:47:58 |
| 18 |
- Accept pull request from Todd Rinaldo to replace both uses of bareword filehandles |
| 19 |
with my variables. With thanx. |
| 20 |
- Accept 2019 pull request to Makefile.PL, for the purpose of modernization, and with |
| 21 |
some slight modifications, from Grinnz. |
| 22 |
- Make corresponding patches where appropriate to Tiny.pm and t/02.main.t. |
| 23 |
- Thanx to Grinnz aka Dan Book for the prompting. |
| 24 |
|
| 25 |
2.27 2021-09-21T15:48:00 |
| 26 |
- Add the option of passing a hashref to the constructor, where it is turned into an |
| 27 |
object of the class. See POD under new([$config]) for details. |
| 28 |
This patch to the code and POD includes the new test t/08.constructor.t. |
| 29 |
The patch was provided by D Hauke, with thanx. |
| 30 |
- Move test.conf back into t/, where it was years ago, before someone tried to remove |
| 31 |
all uses of File::Spec. But since File::Spec is used often now, there is no point |
| 32 |
in keeping test.conf in the root directory of the distro. |
| 33 |
|
| 34 |
2.26 2021-02-01T17:11:00 |
| 35 |
- Update POD to change RT to github. |
| 36 |
- Reformat Makefile.PL. |
| 37 |
|
| 38 |
2.25 2021-01-31T20:29:00 |
| 39 |
- Merge in clean-up patches from Karen Etheridge, with thanx. |
| 40 |
- Add back file t/0. Who deleted it? It is required for t/05.zero.t. |
| 41 |
- Update Makefile.PL to switch issue tracker from rt.cpan.org to github. |
| 42 |
|
| 43 |
2.24 2019-06-11T15:30:00 |
| 44 |
- Delete from caveats in documentation where it used to say: |
| 45 |
'Config::Tiny will only recognize the first time an option is set in a config file.' |
| 46 |
'Any further attempts to set the same option later in the config file are ignored.' |
| 47 |
In reality the code uses the 2nd and subsequent values to overwrite earlier values. |
| 48 |
- Make this topic a new FAQ. |
| 49 |
- Add corresponding test t/06.repeat.key.t. |
| 50 |
- Update POD to clarify trailing comment options. |
| 51 |
- Add corresponding test t/07.trailing.comment.t. |
| 52 |
- Romanize Gregory Kidrenko's name so Config::IniFiles does not get 'Wide char in print'. |
| 53 |
- Move xt/pod.t to xt/author/pod.t. |
| 54 |
- Adopt new repo structure. See |
| 55 |
http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html. |
| 56 |
- Move require 5.008001 from Tiny.pm into Makefile.PL. |
| 57 |
|
| 58 |
2.23 2015-10-14T09:11:00 |
| 59 |
- Add the utf8 BOM to this file. Let's hope the CPAN toolchain can cope. If it can't, another |
| 60 |
version of the code will have to be released. |
| 61 |
- Fix read() and write() so they work on files called '0' (zero). See RT#107754. |
| 62 |
Many thanx to Gregory Kidrenko for the report and patch. |
| 63 |
- Add t/05.zero.t and t/0 to test the new code. |
| 64 |
- Reformat the source slightly. |
| 65 |
|
| 66 |
2.22 2015-02-17T08:32:00 |
| 67 |
- Fix licence info in Makefile.PL to say Perl. |
| 68 |
|
| 69 |
2.21 2015-02-16T08:59:00 |
| 70 |
- Patch Makefile.PL to refer to the current repo, which is on github, and not the original one, |
| 71 |
which is on Adam's web site. See RT#102125. |
| 72 |
- Remove Build.PL because Karen Etheridge tells me Module::Build is no longer in core. |
| 73 |
See RT#102126. |
| 74 |
- Edit line lengths in this file to a max of 100 chars. |
| 75 |
- Edit line lengths in the docs the same way. |
| 76 |
- Expand the See Also section of the docs. |
| 77 |
|
| 78 |
2.20 2013-11-24T10:52:00 |
| 79 |
- Relax pre-req version requirements |
| 80 |
|
| 81 |
2.19 2013-09-15T09:16:00 |
| 82 |
- Change VERSION => $VERSION in Makefile.PL to VERSION_FROM => 'lib/Config/Tiny.pm'. |
| 83 |
Reported by Jean-Louis Morel. See RT#88670. |
| 84 |
|
| 85 |
2.18 2013-09-14T10:03:00 |
| 86 |
- Remove obsolete and wrong version # from Makefile.PL. |
| 87 |
Reported by Jean-Louis Morel. See RT#88658. |
| 88 |
- Implement Kevin Ryde's suggestion to test if read() will return undef. |
| 89 |
If so, set an error message and (still) return undef. |
| 90 |
|
| 91 |
2.17 2013-09-13T12:41:00 |
| 92 |
- Remove the file tests -efr during calls to read(). The open() tests for any error. |
| 93 |
Also, the -f test was reporting /dev/null as a directory, not a file. |
| 94 |
Thanx to Kevin Ryde for pushing me to implement this. See RT#36974. |
| 95 |
- Clean up some error messages slightly. |
| 96 |
|
| 97 |
2.16 2013-09-06T11:54:00 |
| 98 |
- Replace Path::Tiny with File::Spec, because the former's list of dependencies is so long :-(. |
| 99 |
Changed files: t/02.main.t, t/04.utf8.t, Build.PL and Makefile.PL. |
| 100 |
See: RT#88435 (for Tree::DAG_Node) for an explanation. |
| 101 |
|
| 102 |
2.15 2013-08-04T14:59:00 |
| 103 |
- Clean up the shambolic dates in this file. |
| 104 |
- Add a note under Caveats about setting options more that once. Only the first case is |
| 105 |
respected. Thanx to Kimmel K. See RT#69795. |
| 106 |
- Add a $encoding parameter to read_file() and write_file(). See docs for details. |
| 107 |
Add t/04.utf8.t and t/04.utf8.txt. |
| 108 |
Thanx to Mark Lawrence and Wolfgang Husmann. See RT#71029 and RT#85571. |
| 109 |
- For BSD-based systems, when writing a file during tests, use: |
| 110 |
my($temp_dir) = File::Temp -> newdir('temp.XXXX', CLEANUP => 1, EXLOCK => 0, TMPDIR => 1); |
| 111 |
- Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift |
| 112 |
char. |
| 113 |
- Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json. |
| 114 |
- Add an FAQ to the docs. |
| 115 |
- Clean up the docs. |
| 116 |
- As of this version, maintanence is by Ron Savage. |
| 117 |
|
| 118 |
2.14 Thu Mar 24 12:00:00 2011 |
| 119 |
- Resolved #63080: module can write multiline values but not read them |
| 120 |
- Removed -w from tests to allow tests with tainting on |
| 121 |
|
| 122 |
2.13 Fri Sep 3 12:00:00 2010 |
| 123 |
- Resolved #60703: Display glitch in Config::Tiny 2.12 POD |
| 124 |
- Resolved #40585: member 'set;' doesn't exist |
| 125 |
- Resolved #30479: does not warn or die when writing data it |
| 126 |
cannot later. |
| 127 |
|
| 128 |
2.12 Thu Nov 1 12:00:00 2007 |
| 129 |
- Converting build script from Module::Install to tinier EU:MM |
| 130 |
|
| 131 |
2.10 Sat Sep 20 12:00:00 2006 |
| 132 |
- This release contains only build-time changes |
| 133 |
- Did a little housekeeping on Makefile.PL and the unit tests |
| 134 |
- Upgrading to Module::Install 0.64 |
| 135 |
|
| 136 |
2.09 Sat Jul 15 12:00:00 2006 |
| 137 |
- This release contains only build-time changes |
| 138 |
- Added a dependency on ExtUtils::MakeMaker 6.11 |
| 139 |
Module::Install may have an issue with older EU:MM installs |
| 140 |
|
| 141 |
2.08 Sat 15 Jul 12:00:00 2006 |
| 142 |
- This release contains only build-time changes |
| 143 |
- Upgraded to Module::Install 0.63 |
| 144 |
|
| 145 |
2.07 Wed May 10 12:00:00 2006 |
| 146 |
- This release contains only build-time changes |
| 147 |
- AutoInstall is only needed for options, so remove auto_install |
| 148 |
|
| 149 |
2.06 Sun Apr 23 12:00:00 2006 |
| 150 |
- No functional changes. |
| 151 |
- Moved test.conf to the root dir, removing last use of File::Spec |
| 152 |
- It also means we don't need FindBin, so removed that too |
| 153 |
- Upgrading to Module::Install 0.62 |
| 154 |
|
| 155 |
2.05 Thu Feb 23 12:00:00 2006 |
| 156 |
- No functional changes. |
| 157 |
- Moved over from the old CVS repository to the new SVN one |
| 158 |
- Updated tests for the new release system |
| 159 |
- Upgrading to a newer Module::Install |
| 160 |
|
| 161 |
2.04 Sat Dec 31 12:00:00 2005 |
| 162 |
- No functional changes. |
| 163 |
- Upgrading to a newer Module::Install to address Cygwin problem |
| 164 |
|
| 165 |
2.03 Fri Dec 30 12:00:00 2005 |
| 166 |
- No functional changes. |
| 167 |
- POD Change: CPAN #15143 Clear things up about $! after |
| 168 |
unsuccessful read()? (flatworm) |
| 169 |
- Upgraded Makefile.PL to use Module::Install |
| 170 |
|
| 171 |
2.02 Sun Jun 19 12:00:00 2005 |
| 172 |
- Add trimming of whitespace from the section names so that we can |
| 173 |
use section tags like [ section ] and have it Do What You Mean. |
| 174 |
- Cleaned up the POD a little more. |
| 175 |
|
| 176 |
2.01 Thu Mar 24 12:00:00 2005 |
| 177 |
- Lars Thegler noted in CSS::Tiny that 3-argument open is not |
| 178 |
supported by 5.005. Added a small fix to change it to 2-argument |
| 179 |
open. |
| 180 |
|
| 181 |
2.00 Fri Jul 16 12:00:00 2004 |
| 182 |
- Final tweaks to round out complete 5.004 and Win32 compatibility |
| 183 |
|
| 184 |
1.9 Wed Jul 7 12:00:00 2004 |
| 185 |
- Applied some small optimisations from Japheth Cleaver |
| 186 |
|
| 187 |
1.8 Wed Jun 30 12:00:00 2004 |
| 188 |
- Fixed a bug whereby trying to load an empty file returned an error, |
| 189 |
when it should be valid (if an empty object) |
| 190 |
|
| 191 |
1.7 Tue Jun 22 12:00:00 2004 |
| 192 |
- Added a little more flexibility in the 'read' and 'read_string' methods |
| 193 |
to handle being called in unexpected, but recoverable, ways. |
| 194 |
|
| 195 |
1.6 Mon Mar 1 12:00:00 2004 |
| 196 |
- Bug fix: Sections without keys didn't appear at all in the parsed struct |
| 197 |
|
| 198 |
1.5 Wed Jan 7 12:00:00 2004 |
| 199 |
- Updating documentation to provide a correct location to send bug reports |
| 200 |
|
| 201 |
1.4 Wed Dec 24 12:00:00 2003 |
| 202 |
- Caught a warning when trying to parse an undefined string. |
| 203 |
Returns undef in that case. |
| 204 |
- Merry Christmas and a productive New Year to you all! |
| 205 |
|
| 206 |
1.3 Fri Nov 7 12:00:00 2003 |
| 207 |
- Slightly altered a regex so that trailing whitespace in properties |
| 208 |
is dropped. |
| 209 |
|
| 210 |
1.2 Wed Aug 12 15:51:12 2003 |
| 211 |
- Applied a variety of small changed designed to reduce the number of |
| 212 |
opcodes generated, without changing the functionality. |
| 213 |
This should save a few K in load overhead. |
| 214 |
|
| 215 |
1.1 Wed Apr 23 22:56:21 2003 |
| 216 |
- When reporting a bad line, put single quotes around the |
| 217 |
lines contents in the error message. |
| 218 |
- Small updates to the pod documentation |
| 219 |
|
| 220 |
1.0 Sat Dec 21 11:53:51 2002 |
| 221 |
- Removed file locking, since we read/write virtually atomically now |
| 222 |
- Removed mode support from ->write() it was erroneous |
| 223 |
- Removed dependency on Fcntl |
| 224 |
- Added the read_string() method |
| 225 |
- Other minor tweaks to shrink the code |
| 226 |
|
| 227 |
0.3 Mon Dec 09 00:44:21 2002 |
| 228 |
- Upgraded tests to Test::More, to deep test the structs |
| 229 |
- Added Fcntl to the required modules |
| 230 |
|
| 231 |
0.2 Tue Nov 26 21:51:34 2002 |
| 232 |
- Don't import Fcntl symbols |
| 233 |
|
| 234 |
0.1 Wed Nov 13 16:50:23 2002 |
| 235 |
- original version |