Debian Codegraph @

Changes

raw
1 3.003000 2026-08-06
2 * Link to t/19utf8.t from the POD .
3 - https://github.com/shlomif/perl-Config-IniFiles/issues/14
4 - Thanks to @rdiez .
5
6 3.002000 2026-06-14
7 * Refactor t/38security-open.t .
8 * Clean up Changes (= this file)
9
10 3.001000 2026-06-08
11 * Fix for CVE 2026-11527 .
12 - 2 args open() call
13 - See t/38security-open.t
14 * Add t/19utf8.t .
15 - https://github.com/shlomif/perl-Config-IniFiles/issues/14
16 - Thanks to @rdiez .
17
18 3.000003 2020-03-24
19 * Fix stray non-ASCII characters in the versions in the Changes log.
20 - https://rt.cpan.org/Ticket/Display.html?id=125161
21 - Thanks to SREZIC.
22 * Throw an error on failed close() before rename() to overwrite the file.
23 - https://rt.cpan.org/Ticket/Display.html?id=114140
24 - Thanks to SREZIC and fschlich.
25 * Allow overriding the output chmod() file permissions.
26 - https://rt.cpan.org/Ticket/Display.html?id=84431
27
28 3.000002 2019-03-14
29 * Fix error with missing here doc end marker
30 - Thanks to Igor Korchynskyi .
31
32 3.000001 2019-01-16
33 * Fix typos
34 - https://rt.cpan.org/Public/Bug/Display.html?id=128267
35 - Thanks to ROAM .
36
37 3.000000 2018-09-13
38 * Fix typos
39 - https://github.com/shlomif/perl-Config-IniFiles/pull/5
40 - Thanks to @ppentchev
41 * Resubmit with new version to please CPAN/metacpan/etc.
42
43 2.99 2018-07-12
44 * Fix the link to the repository
45 - https://github.com/shlomif/perl-Config-IniFiles/issues/4
46 - Thanks to @bessarabov for the report.
47
48 2.98 2018-04-21
49 * Remove old author-only test scripts.
50 - https://rt.cpan.org/Ticket/Display.html?id=125161
51 - Thanks to SREZIC for the report.
52
53 2.97 2018-04-21
54 * Apply pull-request to implement -php_compat
55 - https://github.com/shlomif/perl-Config-IniFiles/pull/3
56 - https://rt.cpan.org/Ticket/Display.html?id=102339
57 - Thanks to @Sadrak !
58
59 2.96 2018-04-07
60 * Fix https://rt.cpan.org/Ticket/Display.html?id=125025 .
61 - Apply patch from Debian.
62 - Cache section hashes in the tie interface (which one should avoid
63 using.)
64
65 2.95 2018-03-16
66 * Make use of perltidy and test for it.
67 * Remove firstload / reload logic
68 - https://rt.cpan.org/Ticket/Display.html?id=104763
69 - thanks to José Joaquín Atria
70
71 2.94 2016-11-29
72 * Move to GitHub.
73 - for better visibility, collaboration, and CI options.
74 * Apply a patch/pull-request from Peter from Debian with some corrections
75 for typos:
76 - https://github.com/shlomif/perl-Config-IniFiles/pull/1
77 - https://rt.cpan.org/Ticket/Display.html?id=119001
78 - Thanks!
79
80 2.93 2016-07-24
81 * Add [MetaJSON] and META.json to the distribution.
82 - Pull-request by Kent Fredric - thanks!
83 - https://bitbucket.org/shlomif/perl-config-inifiles/pull-requests/5/ship-metajson-with-metajson/diff
84
85 2.92 2016-06-17
86 * Hopefully fix tests with read/write test01.ini:
87 - http://www.cpantesters.org/cpan/report/121523be-341c-11e6-9fc5-14bfbd15da07
88 * Some cleanups and modernisations to the tests.
89
90 2.91 2016-06-03
91 * Set minimal version of List::Util in the requires and in the code.
92 - Reported by some CPAN testers.
93
94 2.90 2016-06-02
95 * Convert to Dist-Zilla with some induced enhancements.
96
97 2.89 2016-05-03
98 * Abort if print returns false.
99 - See https://rt.cpan.org/Ticket/Display.html?id=114140
100 - "WriteConfig nullifies the file in case of no space left on disk"
101
102 2.88 2015-07-10
103 * Apply speedup patch from James Rouzier.
104 - https://bitbucket.org/shlomif/perl-config-inifiles/pull-request/4/avoid-searching-through-all-the-sections/commits
105 - Avoids it being O(n^2).
106
107 2.87 2015-06-16
108 * Replace List::MoreUtils with List::Util-1.33-or-above.
109 - We only used any() and none() which exist in List::Util too now.
110 - https://rt.cpan.org/Public/Bug/Display.html?id=104764
111 - Thanks to DBOOK for the report.
112 * Fix handling of trailing comments which contain their delimiters twice.
113 - E.g: "key=val ; comment ; further comment".
114 - https://rt.cpan.org/Ticket/Display.html?id=105255
115 - Thanks to Rohan Carly for the report and a test case.
116
117 2.86 2015-04-14
118 * Hopefully fix tests in perls less than 5.14
119 - Failed on CPAN Tester reports such as:
120 - http://www.cpantesters.org/cpan/report/88707ece-e22d-11e4-a1d1-8536eb4f9f07
121 - Thanks to Slaven Rezic for pointing it to me.
122
123 2.85 2015-04-13
124 * Convert "Changes" (= this file) to CPAN::Changes.
125 - Added t/cpan-changes.t in the process.
126 * Add OLD-Changes.txt for the old changes' log.
127
128 2.84 2015-04-13
129
130 * Fix https://rt.cpan.org/Public/Bug/Display.html?id=103496
131 - Improperly update while using _write_config_with_a_made_fh
132 - Thanks to JORISD for the report, a proposed patch and a test case.
133
134 2.83 2014-01-27
135
136 * Add a LICENSE file and section.
137 - Kwalitee.
138
139 * Minimum version is now perl-5.8.0.
140 - CPANTS Kwalitee.
141
142 2.82 2013-05-21
143
144 * Add t/style-trailing-space.t .
145 - Remove trailing space.
146
147 2.81 2013-05-16
148
149 * Add the CopySection method to copy a section.
150 - Thanks to James Rouzier.
151
152 2.80 2013-05-14
153
154 * Add the RenameSection method to rename a section.
155 - Thanks to James Rouzier.
156
157 2.79 2013-05-6
158
159 * Fix test failures with Pod-Simple-3.28:
160 - http://www.cpantesters.org/cpan/report/98f9d3a8-b557-11e2-9adc-3d5fc1508286
161
162 2.78 2012-10-21
163
164 * Fix https://rt.cpan.org/Public/Bug/Display.html?id=80259:
165 - Warnings on undefined value in length in perl-5.10.x.
166
167 2.77 2012-06-21
168
169 * Bump the List::MoreUtils dependency to '0.33'.
170 - https://rt.cpan.org/Ticket/Display.html?id=77930
171 - Thanks to TJENNESS for the report.
172
173 2.76 2012-06-15
174
175 * Correct the documentation regarding the syntax of calling ->WriteConfig(),
176 which always accepts a mandatory filename and not just
177 "->WriteConfig(-delta => 1)".
178 - Thanks to the Mageia Linux QA team at:
179 - https://bugs.mageia.org/show_bug.cgi?id=6024#c17
180
181 2.75 2012-05-25
182
183 * Add "=encoding utf8" to the POD of lib/Config/IniFiles.pm
184 - The POD contained wide characters and it is now an error in
185 with recent Test::Pod and Pod::Simple.
186 - See for example: http://www.cpantesters.org/cpan/report/89000ebe-a5bc-11e1-a439-fa78ab6c2661
187
188 2.74 2012-05-24
189
190 * Made sure .ini files are output on Win32 with CR-LF pairs.
191 - Thanks to Ben Johnson for reporting the bug and for a preliminary
192 test script.
193 - Add t/32mswin-outputs-contain-crs.t
194
195 2.73 2012-05-14
196
197 * Regression bug fix: temporary file creation error should generate a warning
198 and return undef() instead of throwing an exception.
199 - https://rt.cpan.org/Ticket/Display.html?id=77039
200 - Thanks to Adam D. Barrat for noticing that, and Gregor Herrmann
201 from Debian for reporting this issue.
202
203 2.72 2012-05-5
204
205 * More refactoring.
206
207 * Now requiring Fcntl (which is a core module) for SEEK_SET() and SEEK_CUR().
208
209 * Update the contact information on the POD.
210
211 * Maintainer’s special birthday (5-May) release.
212
213 2.71 2012-05-2
214
215 * SECURITY BUG FIX: Config::IniFiles used to write to a temporary filename
216 with a predictable name ("${filename}-new") which opens the door for potential
217 exploits.
218
219 * Now requiring List::MoreUtils (for any() and other functions), File::Temp
220 and File::Basename .
221
222 * Add "use warnings;" to lib/Config/IniFiles.pm .
223
224 * More refactoring.
225
226 2.70 2012-04-6
227
228 * Fix the test dependency (in the new t/31comments_with_spaces.t test)
229 on IO::stringy (now writing it to a file).
230 - This caused some CPAN Testers failures such as:
231 - http://www.cpantesters.org/cpan/report/c16b9978-7f40-11e1-9d6f-f6dbfa7543f5
232
233 * Modernized some of the open() calls in the test files.
234 - three args open, lexcial file handles, etc.
235
236 2.69 2012-04-5
237
238 * Fix https://sourceforge.net/tracker/?func=detail&aid=3388382&group_id=6926&atid=106926
239 - "Trailing comments with whitespace are not recognised"
240 - Thanks to briconaut for the report and to rbowen for the patch and test.
241
242 * Add the method ->OutputConfigToFileHandle which is a more explicit and
243 safer version of ->OutputConfig.
244 - ->OutputConfig now uses it.
245 - all existing tests pass, and a new test was added to
246 t/15store-and-retrieve-here-doc-terminator.t .
247
248 * Started refactoring the code.
249 - Expand tabs to spaces.
250 - many other small changes.
251
252 2.68 2011-06-21
253
254 * Typo correction: https://rt.cpan.org/Ticket/Display.html?id=69003
255
256 2.67 2011-06-21
257
258 * Made sure that parameters with empty values will be written to the file.
259 - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=68554 .
260
261 2.66 2011-01-29
262
263 * Add support for the handle_trailing_comment option to support trailing
264 comments at the end of a param=value line.
265 - Fixes https://rt.cpan.org/Public/Bug/Display.html?id=43843 .
266 - Original patch by Peter Xu.
267 - Some comments and corrections of the patch by Shlomi Fish (the current
268 Config-IniFiles maintainer.)
269
270 2.65 2010-11-25
271
272 * Replaced calls to File::Temp's tempfile() with those to its tempdir()
273 followed by File::Spec->catfile() - hopefully fixes the CPAN smoking failures
274 on Win32.
275
276 2.64 2010-11-20
277
278 * Fixed https://rt.cpan.org/Ticket/Display.html?id=63177
279 - tag-release.pl was installed into lib/Config by EU-MM. Converted the
280 Makefile.PL to a wrapper around Build.PL by using Module-Build's
281 create_makefile_pl='small' instead of create_makefile_pl='traditional' .
282
283 2.63 2010-11-19
284
285 * Fixed https://rt.cpan.org/Ticket/Display.html?id=63079 by
286 refactoring/bug-fixing the main module into the _OutputParam method, which
287 handles the output of multi-line and single-line parameters with all the edge
288 cases.
289 - The reported problem was that EOT was encountered again in certain cases
290 in the output string, and now we make sure the program always avoid it. The
291 reappearance of the bug was caused due to duplicate code, which was now
292 eliminated.
293
294 2.62 2010-11-19
295
296 * Applied a modified version of Steven Haryanto's commit
297 ac6ace8bf09fabba4e6ea3b2826ff13cd30507bc :
298 - When writing config with fallback section, also omit the fallback
299 section header, like the original file. Also, change
300 t/19param-found-outside-section.t a bit to not require IO::Scalar and use
301 File::Temp instead (we are testing WriteConfig anyway).
302 - Shlomi Fish fixed unless'es to if's and converted a do { ... } if call to
303 a block conditional, as well as made the open statements on t/19param
304 more secure.
305
306 * Add -nomultiline option.
307 -Applied a modified version of Steven Haryanto's commit
308 2181f438d40b54c290a2dda5627a244c6e467a7b
309
310 2.61 2010-11-14
311
312 * Correct the opening comment on t/26scalar-filehandle.t to point to the right
313 bug URL and to include the title of the bug
314 - https://rt.cpan.org/Ticket/Display.html?id=54997 - this is the right
315 URL.
316
317 * Correct the check in t/26scalar-filehandle.t - it should check that Perl
318 is above 5.8.x - not that IO::Scalar is available, because we use
319 open my $fh, "<", \$buffer;
320
321 2.60 2010-11-13
322
323 * Made t/19param-found-outside-section.t pass in case IO::Scalar is not
324 installed.
325 - We got many failing test reports due to that, like:
326 - http://www.cpantesters.org/cpan/report/eb3df0f4-eeb7-11df-b934-9430e12b63f3
327
328 2.59 2010-11-12
329
330 * Applied a patch from "sharyanto" about enabling the -fallback parameter
331 to new for items outside any section.
332 - https://rt.cpan.org/Public/Bug/Display.html?id=62944
333
334 * Add the tag-release.pl file to tag a release.
335
336 2.58 2010-05-17
337
338 * Incorporated a fix for some broken POD.
339 - https://rt.cpan.org/Ticket/Display.html?id=51617
340 - Thanks to Frank Wiegand for reporting it.
341
342 * Got rid of \r/carriage-returns's in lib/Config/IniFiles.pm .
343 - It interfered with applying a patch.
344
345 * Applied a patch to get rid of indirect object notation in the documentation
346 and code ("new Config::IniFiles") and replace it with Config::IniFiles->new().
347 - https://rt.cpan.org/Ticket/Display.html?id=57536
348 - Thanks to Tom Molesworth for the patch.
349
350 2.57 2010-03-1
351
352 * Fixed failure to read the ini file contents from a filehandle made out of a
353 scalar
354 - https://rt.cpan.org/Ticket/Display.html?id=45997
355 - Applied a patch by Nicolas Mendoza - thanks!
356
357 2.56 2009-12-31
358
359 * Hopefully fixed the skip() in t/07misc.t
360 - https://rt.cpan.org/Public/Bug/Display.html?id=53238
361 - It was skip($num, $label) instead of skip($label, $num) and it
362 lacked a "SKIP:" label.
363
364 2.55 2009-12-22
365
366 * Refactoring the tests:
367 - Converted t/05hash.t to Test::More and modernised it.
368 - Converted t/06oo.t to Test::More and modernised it.
369 - Testing: extracted t/lib/Config/IniFiles/TestPaths.pm.
370 - Converted t/10delta.t to Test::More and modernised it.
371 - Add the t_unlink method.
372
373 2.54 2009-11-18
374
375 * Adapted t/25line-endings.t to perl-5.6.x .
376 - http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6026936.html
377 - Failure there.
378 - did that by replacing open ">:raw" with "binmode()".
379
380 2.53 2009-11-13
381
382 * Converted t/01basic.t to Test::More and modernised it.
383 * Converted t/02weird.t to Test::More and modernised it.
384 * Converted t/04import.t to Test::More and modernised it.
385 * Applied a patch from Steffen Heinrich (SHE) for:
386 - https://rt.cpan.org/Ticket/Display.html?id=51445
387 - included t/25line-endings.t
388 - modified a little.
389
390 2.52 2009-06-28
391
392 * Added more keys to Build.PL (author, etc.)
393 * Added resources and keywords to META.yml.
394 * Converted t/00load.t to Test-More.
395 * No longer chdir()-ing into "t" in t/00load.t
396 * Got rid of the "new Config::IniFiles" syntax in the tests.
397 - replaced with Config::IniFiles->new().
398 - see "Perl Best Practices", "Programming Perl", 3rd Edition
399
400 2.51 2009-06-8
401
402 * Fixed "#46721: $config->exists() does not pay attention to -nocase => 1"
403 - https://rt.cpan.org/Ticket/Display.html?id=46721
404
405 2.50 2009-05-31
406
407 * Fixed the POD for SetParameterEOT:
408 - https://rt.cpan.org/Ticket/Display.html?id=28375
409 * Added t/pod.t and t/pod-coverage.t and fixed the problems they pointed:
410 - Removed some trailing pod.
411 - http://rt.cpan.org/Ticket/Display.html?id=46549
412 - Documented the ->OutputConfig() method.
413
414 2.49 2009-05-2
415
416 * Fixed bug https://rt.cpan.org/Public/Bug/Display.html?id=45209 :
417 - Makefile.PL lacked the empty "PL_FILES" directive.
418
419 * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=45588 :
420 - Failure to read ini file contents from a scalar (via "IO::Scalar").
421 - added t/23scalar-ref.t
422
423 2.48 2009-04-7
424
425 * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=30402 :
426 - Trailing comments at the end of the file are not written.
427 - added a test (t/22trailing-comment-lines.t ) and a test file.
428
429 * Reverted the fix to bug #34067 ( "Multiline values returned as array
430 references in tied hash interface"), as it could potentially break a lot
431 of old code, and was not such a good idea, and was less preferable from
432 interface-sanity reasons.
433
434 * Documented the old API in regards to bug #34067 - see above.
435
436 2.47 2009-01-21
437
438 * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=34067 :
439 - Multiline values returned as array references in tied hash interface
440 - This was as opposed to the documentation.
441 - added t/21multiline-values-in-tied.t and fixed some older tests.
442
443 * Moved the eval'ed debugging code (_assert_invariants) to its own module,
444 without the eval so the perl-5.6.2 will be happy. Now explicitly use'ing it
445 from t/lib where appropriate. See for example:
446 - http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3101788.html
447
448 2.46 2009-01-17
449
450 * Added regression tests for bug #1720915
451 - https://sourceforge.net/tracker/index.php?func=detail&aid=1720915&group_id=6926&atid=106926
452 - the bug seems to be fixed in trunk.
453
454 * Added a regression test for RT #36584
455 - https://rt.cpan.org/Ticket/Display.html?id=36584
456 - the bug seems to be fixed in trunk.
457
458 * Added a regression test for RT #36309
459 - https://rt.cpan.org/Ticket/Display.html?id=36309
460 - Testing for allowedcommentchars.
461 - the bug seems to be fixed in trunk.
462
463 * Converted t/03comments.t to Test::More and did other cleanups in preparation
464 of solving a few bugs.
465
466 * Now GetSectionComment does the documented behaviour in scalar context and
467 returns the string joined by newlines:
468 - https://rt.cpan.org/Ticket/Display.html?id=8612
469
470 * Now GetParameterComment returns the right thing in scalar context (joined
471 by newlines). It was documented and tested.
472 - https://rt.cpan.org/Ticket/Display.html?id=8612
473
474 2.45 2008-12-27
475
476 * Fixed bug #1230339:
477 - https://sourceforge.net/tracker/index.php?func=detail&aid=1230339&group_id=6926&atid=106926
478 - Can't store and retrive "\nEOT\n"
479 - Fixed by checking for the existence of the here-doc terminator in the
480 string, and if so appending more characters.
481
482 * Fixed bug #1565180
483 - https://sourceforge.net/tracker/index.php?func=detail&aid=1565180&group_id=6926&atid=106926
484 - -nocase breaks -default.
485 - If a default-values section is specified, then -nocase did not look it up
486 if it's not lowercase.
487
488 * Fixed bug #1831654
489 - https://sourceforge.net/tracker/index.php?func=detail&aid=1831654&group_id=6926&atid=106926
490 - multiline-values are tainted.
491 - Added a test as t/17untainted-multiline-values.t
492
493 2.44 2008-12-25
494
495 * Eliminated an assignment of $VERSION into itself to "get rid of warnings".
496 Only caused warnings at Build.PL, and is unnecessary now that we
497 "use vars".
498
499 2.43 2008-12-4
500
501 * Placed IniFiles.pm under lib/Config/IniFiles.pm.
502
503 * Added a Build.PL file for the distribution.
504
505 * Moved the ChangeLog to its own file - Changes.
506
507 * Made the README contain the useful information and nothing else - previously
508 it was a copy of the module's entire POD.
509
510 * Added a regression test for:
511
512 https://sourceforge.net/tracker/index.php?func=detail&aid=778593&group_id=6926&atid=106926
513
514 When copying tied-hashes representing sections with multiline values as
515 keys, one used to get a reference instead of a copy. This was fixed in SVN
516 but not in CPAN.
517
518 * Added a test for opening an empty file, inspired by:
519
520 https://sourceforge.net/tracker/index.php?func=detail&aid=927111&group_id=6926&atid=106926
521
522 * Added a fix for this bug:
523
524 https://sourceforge.net/tracker/index.php?func=detail&aid=767913&group_id=6926&atid=106926
525
526 With a test that I wrote myself: in list context, ->val() returned the list
527 containing (undef()) if there was no such key. Now returning the empty
528 list which evaluates to false.
529
530 * Added a test for bug
531
532 "[ 2030786 ] Brackets within values are treated as section headers"
533
534 It seems to be fixed on SVN.
535