Debian Codegraph @

Changes

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