Debian Codegraph @

ChangeLog

raw
1 1.64 - 2026-06-22, H.Merijn Brand
2 * Fix syntax error in csv2xlsx
3
4 1.63 - 2026-06-22, H.Merijn Brand
5 * Check attribute lengths (memory protection)
6 * Minor code consistencies (not user-visible)
7 * Dropped support for 5.6.x and 5.8.0. Minimum perl is now 5.8.1
8 * Fix special str setting consistency for types, undef_str and
9 comment_str
10 * Characters []:*/\ are not allowed in XLSX sheet names
11
12 1.62 - 2026-04-29, H.Merijn Brand
13 * It is 2026
14 * Fix possible stack corruption (thanks leont) (issue 65)
15 Fixes CVE-2026-7111
16
17 1.61 - 2025-07-26, H.Merijn Brand
18 * Add love letter to CSV from xan project with reference
19 * Bugtracker to github (long overdue) (issue 63)
20 * Update to Devel::PPPort-3.73
21
22 1.60 - 2025-01-29, H.Merijn Brand
23 * Add SECURITY.md
24 * CR/NL/CRNL inside quoted fields not affected by strict_eol
25 * Fix incorrect error 2014 (issue 62)
26
27 1.59 - 2025-01-05, H.Merijn Brand
28 * Fixed EOL test for Windows with crnl layer
29 * It is 2025
30
31 1.58 - 2024-12-30, H.Merijn Brand
32 * Add strict_eol (warnings default in csv ())
33 * Add XS line number in errors
34 * Add streaming support - not set in stone
35
36 1.57 - 2024-11-12, H.Merijn Brand
37 * Keep runtime error from csv ()
38 * add csv (on_error)
39
40 1.56 - 2024-08-09, H.Merijn Brand
41 * Yet another strict/comment_str conflict (issue 57)
42 * Strict affected by column_names
43
44 1.55 - 2024-06-18, H.Merijn Brand
45 * More fixes for strict under bind_columns (issue 54)
46 * Strict won't hide previous error (issue 56)
47 * Update to Devel::PPPort-3.72
48
49 1.54 - 2024-04-18, H.Merijn Brand
50 * Fix doc (Jean Forget, RT#150757)
51 * It is 2024
52 * Fix comment_str with strict
53 * Doc fixup (RT#151546)
54
55 1.53 - 2023-11-22, H.Merijn Brand
56 * Two casts for -Wformat (issue 50)
57 * Add --skip-empty to csv2xlsx
58 * Add --font and --font-size to csv2xlsx
59 * Fix skip_empty_rows ("skip") and trailing newlines (Corey Hickey, PR#52)
60 * Fix comment in last line (RT#150501)
61
62 1.52 - 2023-09-21, H.Merijn Brand
63 * Fix possible coredump in cache on non-IO parse (issue 49)
64
65 1.51 - 2023-08-07, H.Merijn Brand
66 * Contact e-mail update
67 * Attribute skip_empty_rows extended
68 * Fix comments (PR#45)
69 * Fix help (x12340, PR#46)
70 * Update to Devel::PPPort-3.71
71 * Fix HTML on Windows
72 * Fix double header-interpretation on bom + headers => "auto" (issue 47)
73
74 1.50 - 2023-03-01, H.Merijn Brand
75 * Promote sep to sep_set in csv () with auto-headers
76 * Fix bug in set_diag surfaced by PERL_RC_STACK
77
78 1.49 - 2023-01-03, H.Merijn Brand
79 * csv2xlsx --split=CxP [--split-label=C]
80 * Full documentation/manual for csv2xlsx
81 * Fix non-integer arguments to getline_all (issue 39)
82 * It's 2023
83
84 1.48 - 2022-05-24, H.Merijn Brand
85 * It's 2022
86 * Update to Devel::PPPort-3.64
87 * kh => 1 (use internal headers)
88 * Update to Devel::PPPort-3.67
89 * Add constants for META flags (RT#142508)
90 * Update to Devel::PPPort-3.68
91 * Export :CONSTANTS
92 * Fix sep_set typo (issue 37)
93 * Tested against perl-5.36.0
94
95 1.47 - 2021-12-21, H.Merijn Brand
96 * Make error 2014 catchable
97 * Suppress empty lines on empty input (issue 34)
98 * Perl 6 -> Raku in docs (RT#136864)
99 * IETF changed their URLs
100 * Update to Devel::PPPort-3.63
101 * Add some documentation for Google hist (Nigel)
102
103 1.46 - 2021-03-24, H.Merijn Brand
104 * It's 2021
105 * New attribute comment_str (RFC 4180-bis)
106 * New attribute skip_empty_rows (RFC 4180-bis)
107 * http -> https in links in docs
108 * Fix several issues with auto-detecting \r as EOL
109 * Tested on perl-5.6.1 .. perl-5.32.1 and perl-5.33.8 (145)
110
111 1.45 - 2020-12-24, H.Merijn Brand
112 * Update to Devel::PPPort-3.60 (3.59 was b0rked)
113 * Allow adding to existing data in csv (out => $ref)
114 * examples/csv2xlsx : -L # to limit records to export
115 * examples/csv2xlsx : --de # for possible double-encoding fix
116 * Update to Devel::PPPort-3.61
117 * Update to Devel::PPPort-3.62
118 * Add examples/csv-split
119 * examples/csv2xlsx : Check if .xlsx is creatable before conversion
120 * Small doc additions
121 * Fix META issue for bugtracker
122
123 1.44 - 2020-07-22, H.Merijn Brand
124 * EBCDIC now fully functional
125 * Prevent false negative CPANTESTERS fail reports
126 * Fully tested on perl-5.32.0 and perl-5.33.0
127 * Fix partly decoded fields in header (found by Eric Brine)
128
129 1.43 - 2020-05-27, H.Merijn Brand
130 * Add --parser-opt[=value] to csv-check
131 * Add -L & -X to csv-check
132 * Fix undef value in attribute setters for strings (issue 24)
133 * Document quote (undef) is not supported
134
135 1.42 - 2020-05-19, H.Merijn Brand
136 * Update to Devel::PPPort-3.58
137 * Unicode fixes for csv2xls and csv2xlsx
138 * Add internal buffers to cache diagnostics
139 * Fix positional reporting in examples/csv-check
140 * Allow passing CSV parsing attributes to csv-check
141 * Proof reading - doc fixes by Klaus Baldermann <soonix> (PR#21)
142 * Fix type caching (RT#132344)
143 * Small doc fix by Nick Tonkin <1nickt> (PR#22)
144 * Fix sep=; being ignored in ->header (issue 23)
145
146 1.41 - 2020-02-16, H.Merijn Brand
147 * Update to Devel::PPPort-3.56
148 * csv2xls uses sheetname as csv2xlsx
149 * csv2xlsx: support images (each image gets its own tab)
150 * More docs. (Data validation)
151 * It's 2020
152 * No binary literals in fixed error messages
153 * Fix auto_diag > 2 to die when headers are used (issue 19)
154
155 1.40 - 2019-09-15, H.Merijn Brand
156 * Update to Devel::PPPort-3.52
157 * Development perl is now 5.28.2
158 * [csv2xlsx] sheetnames are restricted to 31 characters
159 * Generate cpanfile
160 * Add munge type "db"
161 * [csv2xls/csv2xlsx] do not generate xls/xlsx on empty CSV (issue 18)
162 * New: support $csv->formula (sub { ... })
163 * Support stacked encodings
164
165 1.39 - 2019-03-15, H.Merijn Brand
166 * It's 2019
167 * Fix tests to skip on Encode failing (PR#17 charsbar + klapperl)
168 * Tested on Z/OS (s390x - Hercules) :)
169 * Test with new Module::CPANTS::Analyse
170 * Add options -w/-b/-Z to csvdiff
171 * Fix strict on streaming EOF
172 * Now also tested with cperl
173
174 1.38 - 2018-12-30, H.Merijn Brand
175 * Name the duplicate headers on error 1013
176 * Add missing attributes to default list (doc only, David H. Gutteridge)
177 * Add support for combined keys
178 * Look at $NO_COLOR for csvdiff
179 * Add support for key-value pair
180
181 1.37 - 2018-09-27, H.Merijn Brand
182 * Moved pod-tests from t to xt
183 * Add munge as alias for munge_column_names
184 * Update Devel::PPPort
185 * Simplified ref-check defines in XS (issue 12, thanks pali)
186 * Tested against perl-5.29.3
187
188 1.36 - 2018-06-26, H.Merijn Brand
189 * Now also tested on FreeBSD-11.1
190 * Update to Devel::PPPort-3.42
191 * Fixed memory leak (Thanks DaveM)
192 * Add undef_str attribute
193 * Tested against perl-5.28.0
194 * Move from DynaLoader to XSLoader
195 * Tested on Synology DSM
196
197 1.35 - 2018-03-21, H.Merijn Brand
198 * Remove META.yml from MANIFEST.skip
199 * Use UNIVERSAL::isa to protect against unblessed references
200 * -Wformat warning (RT#123729)
201 * Make detect_bom result available
202 * It's 2018
203 * Add csv (out => \"skip") - suppress output deliberately
204 * Allow sub as top-level filter
205 * Tested against Test2::Harness-0.001062 (yath test)
206 * Tested against perl-5.27.10
207
208 1.34 - 2017-11-05, H.Merijn Brand
209 * Bad arg for formula (like "craok") will now die with error 1500
210 * Row report in formula reporting was off by 1
211 * Add a prominent section about BOM handling
212 * Make sheet label more portable (csv2xlsx)
213 * Allow munge => \%hash
214 * Preserve first row in csv (set_column_names => 0)
215
216 1.33 - 2017-10-19, H.Merijn Brand
217 * Small additional fix for eol = \r + BOM
218 * Updated doc for example files
219 * Add support for formula actions (issue 11)
220 - csv2xls and csv2xlsx now warn by default
221 * Reset file info on ->header call (RT#123320)
222
223 1.32 - 2017-09-15, H.Merijn Brand
224 * Add keep_headers attribute to csv ()
225 * Fix on_in when used in combination with key
226 * Fail on invalid arguments to csv
227 * Fix header method on EOL = CR (RT#122764)
228
229 1.31 - 2017-06-13, H.Merijn Brand
230 * Fix already decoded BOM in headers
231 * New options in csv-check
232 * Some perlcritic
233 * "escape" is alias for "escape_char" for consistency.
234 * Code cleanup and more tests (Devel::Cover)
235 * Improve csv-check auto-sep-detection
236
237 1.30 - 2017-06-08, H.Merijn Brand
238 * Add csv (..., out => ...) syntax examples (issue 7)
239 * Disable escape_null for undefined escape_char
240 * Fix ->say for bound columns (RT#121576)
241 * Update to Devel::PPPort 3.36
242 * Tested under 5.26.0 and 5.27.0
243 * Doc changes and additions
244
245 1.29 - 2017-04-25, H.Merijn Brand
246 * More docs for bind_colmns (RT#121350)
247 * New attribute "strict" (also addresses RT#121350)
248
249 1.28 - 2017-03-22, H.Merijn Brand
250 * Fix length problem with bound empty fields and UTF-8 (RT#120655)
251
252 1.27 - 2017-03-02, H.Merijn Brand
253 * Remove unneeded done_testing (Paul Howarth)
254 * Attribute sep/sep_char is not allowed to be undefined
255 * Increased test coverage: added errors 1008 and 1014
256 * Default for escape_null in csv () is now false
257 * It's 2017
258 * New error code for illegal argument(s)/parameter(s) (RT#119827)
259 * Fix tests for perl without dot in @INC
260 * Fix crlf issue for csv () on Windows (RT#120466)
261
262 1.26 - 2016-11-29, H.Merijn Brand
263 * Disable some Unicode related tests for unhealthy $PERL_UNICODE
264 (RT#117856)
265 * is_missing (0) on empty line returns 1 for keep_meta_info = true
266 (issue 27 on github)
267
268 1.25 - 2016-08-28, H.Merijn Brand
269 * Allow lc, uc, and coderef for csv () headers attribute
270 * Document for eof when the last line has an error (RT#115954)
271 * Allow csv () to call header () with all supported arguments
272 * Add some docs for bind_columns
273
274 1.24 - 2016-07-09, H.Merijn Brand
275 * Fix typo in docs example code (issue 4, joevak)
276 * Set auto-wrap on for csv2xls with embedded newlines
277 * Add examples/csv2xlsx, the MSExcel-2007+ version of csv2xls
278 Includes new feature to merge multiple CSV's into a single xlsx
279 * Slight modification in examples
280 * Fix parse error in complex option combo (RT#115953)
281 - requires perl-5.6.2 or newer
282
283 1.23 - 2016-03-25, H.Merijn Brand
284 * Skip unsupported encodings
285 * Reorganize Unicode section and mention layers (Dan Book)
286 * Amend some UTF-8 tests for PERL_UNICODE settings
287 * Fix crash on error in parsing with bound columns (RT#113279)
288 * Add predefined filters (not_blank, not_empty, filled)
289
290 1.22 - 2016-02-23, H.Merijn Brand
291 * Small doc updates regarding blank_is_undef
292 * Precedence error in doc
293 * Add new method header
294
295 1.21 - 2016-01-06, H.Merijn Brand
296 * Add confusion option to rewrite example
297 * Alias %_ to row in hashref mode for csv function attributes
298 on_in and before_out
299 * Examples now use defined-or and thus require perl-5.10 or up
300 * Fix \r\n ending with allow_loose_escapes (reported by Bas Bloemsaat)
301 * It's 2016
302 * Clarify $csv->csv (...) documentation (RT#110941)
303
304 1.20 - 2015-10-09, H.Merijn Brand
305 * Use "say" in synopsis
306 * Remove needless special characters in doc section
307 * Change doc =item attributes for new to =head for index
308 * Add known_attributes function/method
309 * Add contributor notes
310 * Allow undef as value for aliased attributes
311
312 1.19 - 2015-06-17, H.Merijn Brand
313 * Guard tests against $PERL_UNICODE
314 * Numeric options were sometimes interpreted as boolean
315 * Safer meta_info use
316
317 1.18 - 2015-05-22, H.Merijn Brand
318 * Add quote_empty attribute
319 * Add database NULL documentation
320 * Inherit csv attributes in csv () when called in void context
321 * micro-optimisation for combine/print (empty fields will be faster)
322
323 1.17 - 2015-04-24, H.Merijn Brand
324 * Enable overruling $csv in csv ()
325 * Allow encoding to be shortened to enc in csv ()
326 * Allow filter to alter content
327 * Add say (print with default eol => $\)
328 * Allow MS sep=; on first line (RT#100304)
329
330 1.16 - 2015-03-02, H.Merijn Brand
331 * filter made more useful (access to other fields)
332
333 1.15 - 2015-02-11, H.Merijn Brand
334 * Remove perl recommendation from META as it breaks cpan clients
335
336 1.14 - 2015-02-02, H.Merijn Brand
337 * Move to github
338 * Add csv (filter => {});
339 * Change csv ()'s void context behavior
340
341 1.13 - 2015-01-03, H.Merijn Brand
342 * Simplify code path for old perl
343 * Fix quote_binary (#RT100676)
344 * Fix csv () for hashrefs with aliased headers
345 * Update copyright to 2015
346
347 1.12 - 2014-11-01, H.Merijn Brand
348 * Add field number to error_diag
349 * Fixed non-IO parsing multi-byte EOL
350 * Fixed a possible missed multi-byte EOL
351 * Allow hashref for csv ()'s headers attribute
352 * Allow encoding on all output handles in csv ()
353 * Include doc changes as ticketed in the Text::CSV queue
354 * Fix parallel testing issue
355 * Allow csv as method call (not using the object)
356 * Rename quote_null to escape_null
357 * Give meaning to keep_meta_info on output (RT#99941)
358
359 1.11 - 2014-08-16, H.Merijn Brand
360 * Fixed eof (RT#97742)
361 * Check for attribute conflicts early
362 * csv (in => [..]) now defaults to *STDOUT for out
363 * Support for multi-byte quote_char
364 * New attribute "key" for csv ()
365
366 1.10 - 2014-08-04, H.Merijn Brand
367 * Support for scalar ref in out: csv (out => \(my $x = ""), ...)
368 * Support for multi-byte sep_char
369 * Simplified the cache coding
370
371 1.09 - 2014-06-09, H.Merijn Brand
372 * Missed defined-or need in csv2xls (RT#95787)
373
374 1.08 - 2014-05-17, H.Merijn Brand
375 * Documentation updates
376 * Allow disjointed CSV cell fragment lists
377
378 1.07 - 2014-04-28, H.Merijn Brand
379 * Allow ref to scalar for csv (in => ...)
380 * Allow CODE ref to in attribute
381 * Allow * in fragment cellspec's bottom-right cell
382
383 1.06 - 2014-04-20, H.Merijn Brand
384 * Fix possible fail in tests on Windows (Thanks Mithaldu for explaing)
385 * Only close file handles in csv () for files
386 * new callbacks for csv ()
387
388 1.05 - 2014-03-02, H.Merijn Brand
389 * Allow case insensitive attributes and attribute aliases
390 (quote_always = always_quote)
391 * Enhanced the csv () function (diagnostics)
392 * Start callbacks support
393 * Minor doc fixes
394 * Make subclassing safer
395
396 1.04 - 2014-02-06, H.Merijn Brand
397 * column_names () with no argument now returns the empty list
398 instead of undef when no columns defined
399 * fragments (rfc7111) now also support AoH (was AoA only)
400 * Error code conflict for fragments resolved to 2013
401 * New function "csv" (not a method)
402
403 1.03 - 2014-01-21, H.Merijn Brand
404 * Update copyright to 2014
405 * Implement RFC7111
406
407 1.02 - 2013-09-25, H.Merijn Brand
408 * Add example for reading only a single column
409 * Don't store NULL in _ERROR_INPUT (RT#86217/Clone)
410 * Prevent double-decode in csv-check
411 * Add decode_utf8 attribute (default is true)
412
413 1.01 - 2013-06-16, H.Merijn Brand
414 * Cache not re-read on getline_all (RT#86155)
415
416 1.00 - 2013-06-13, H.Merijn Brand
417 * Fix automatic UTF-8 in getline/parse for SV's with \0
418
419 0.99 - 2013-06-05, H.Merijn Brand
420 * Documents return value of bind_columns without arguments
421 * Fix automatic UTF-8 in getline/parse
422
423 0.98 - 2013-06-03, H.Merijn Brand
424 * Clarify eol documentation
425 * Move error_input to XS
426
427 0.97 - 2013-03-30, H.Merijn Brand
428 * Regain the speed from 0.91 (buffer back to 1k)
429 * Minor cleanup in XS code
430 * Add diag_verbose attribute
431
432 0.96 - 2013-03-26, H.Merijn Brand
433 * No need to require Test::Harness if unused (RT#82693)
434 * parse ("") should return one empty field, not undef
435 * Now that we know the record number, show it in auto_diag
436
437 0.95 - 2013-01-13, H.Merijn Brand
438 * Introduce allow_unquoted_escape as workaround for RT#81295
439 * Update copyright to 2013
440 * Introduce print_hr () for RT#76143
441 * Dropped plans to support EBCDIC
442
443 0.94 - 2012-12-03, H.Merijn Brand
444 * Guard against beta releases of Encode (Xavier Guimard - RT#81499)
445 * Fix sv_cache init global-buffer-overflow (Reini Urban - RT#81469)
446 * Tested with perl compiled with clang (also to verify RT#81469)
447 * Fix memory leak reported in RT#81539 (Fix by Tony Cook)
448
449 0.93 - 2012-11-19, H.Merijn Brand
450 * Skip Encode related tests on too old Encode
451 * Force old(er) tar format (ustar) - assumes GNU tar on release box
452
453 0.92 - 2012-11-12, H.Merijn Brand
454 * Allow bind_columns () for print ()
455 * Increase buffer size for print to 64k
456 * Fix RT#80680 - Buffer break halfway UTF8 + tests
457
458 0.91 - 2012-08-21, H.Merijn Brand
459 * Prevent test-failures for long doubles on weird architectures
460 * More utf-8 tests for te change of 0.90
461 * Update test case now 5.005 is not supported anymore
462 * Rip out the tell/seek introduced in 0.90
463
464 0.90 - 2012-06-15, H.Merijn Brand
465 * Drop 5.005 support (5.6.1 is now minimum)
466 * Introduce record_number
467 * Try harder to get the complete input parsed for the current record
468 when hitting errors on parsing seekable IO (only works in 5.14.0 and up)
469 * Tested with perl 5.6.1 .. 5.17.0 (99 versions of perl) on Linux, HP-UX,
470 AIX, and Windows
471 * SvSETMAGIC was missing for tied variables causing weird actions at a
472 distance, e.g. in printf (Thanks TonyC for finding this)
473 * UTF8 flag was not always reset when using bound variables (TonyC)
474
475 0.88 - 2012-03-16, H.Merijn Brand
476 * Fix for $/ in 0.86 broke parsing fields that contain excessive $/'s
477
478 0.87 - 2012-03-08, H.Merijn Brand
479 * Extra check on utf8 output (RT#74330)
480 * examples/csvdiff now recognizes numerically sorted CSV files
481 * Document example comparing getline_hr vs bind_columns + getline
482
483 0.86 - 2012-01-22, H.Merijn Brand
484 * Introduce quote_binary attribute
485 * Update copyright to 2012
486 * Versions
487 * Fixed a utf8::decode on undef (found by perl-5.15.7)
488 * Fixed localized $/ interference with other handles (RT#74216)
489
490 0.85 - 2011-09-07, H.Merijn Brand
491 * NAME / DISTNAME in Makefile.PL
492
493 0.84 - 2011-09-07, H.Merijn Brand
494 * More cross-checks for META data
495
496 0.83 - 2011-08-07, H.Merijn Brand
497 * Fix spurious auto_diag warning (RT#69673)
498 * Tested with 50 versions of perl, including 5.15.1
499
500 0.82 - 2011-05-01, H.Merijn Brand
501 * Doc fix (RT#66905, Peter Newman)
502 * Documentation overhaul (pod links)
503
504 0.81 - 2011-03-07, H.Merijn Brand
505 * Add is_missing ()
506 * Doc overhaul
507 * Fix Build on OpenVMS (RT#65654, Martin P.J. Zinser)
508 * Fix SetDiag () leak (RT#66453, Sven Schöling)
509
510 0.80 - 2010-12-24, H.Merijn Brand
511 * Implement getline_all () and getaline_hr_all ()
512 * Fixed another parsing for eol = \r (RT#61525)
513
514 0.79 - 2010-11-26, H.Merijn Brand
515 * Use correct type for STRLEN (HP-UX/PA-RISC/32)
516 * More code coverage
517 * EOF unreliable when line-end missing at eof
518
519 0.78 - 2010-11-26, H.Merijn Brand
520 * Version 0.77 broke MacOS exported CSV files with only \r
521
522 0.77 - 2010-10-23, H.Merijn Brand
523 * Internals now use warn () instead of (void)fprintf (stderr, ...)
524 Now the test in t/80_diag also passes on Windows
525 * Better parsing for eol = \r and set as such (RT#61525)
526 * Workaround for AIX cpp bug (RT#62388, Jan Dubois)
527
528 0.76 - 2010-10-09, H.Merijn Brand
529 * Windows doesn't support STDERR redirection as used in t/80_diag
530
531 0.75 - 2010-10-05, H.Merijn Brand
532 * Fixed undefinedness of $\ in print (RT#61880)
533
534 0.74 - 2010-09-29, H.Merijn Brand
535 * Spelling fixes
536 * Real eol support for parsing streams (beyond \n, \r and \r\n)
537 * Clarify doc for always_quote to not quote undef fields
538 * Clarify UTF8 process for print () and combine ()
539
540 0.73 - 2010-05-03, H.Merijn Brand
541 * Improve date conversion in examples/csv2xls
542 new option -D allows column selection for date conversions
543 * Tested under perl-5.12.0 (and 21 other versions of perl)
544 * Added a note about EBCDIC data files
545 * Test suite is now safe for parallel test (prove --shuffle -j6)
546
547 0.72 - 2010-03-16, H.Merijn Brand
548 * Introduce quote_null attribute (RT#55200)
549 * examples/csv-check can be used for Text::CSV_PP
550 * examples/csv-check more options for sep_, escape_ and quote_char
551 * examples/csv2xls more options for sep_, escape_ and quote_char
552 * examples/csv2xls added auto_diag and verbosity
553 * Dropped YAML spec to 1.0
554
555 0.71 - 2010-02-15, H.Merijn Brand
556 * Upped copyright to 2010
557 * Prevent double encoding: make Text::CSV_XS streams behave just
558 like perl would (thanks ikegami for the test cases)
559 * Text::CSV_XS->error_diag () in void context now warns instead of
560 doing nothing
561 * auto_diag also used for new () itself
562
563 0.70 - 2009-12-02, H.Merijn Brand
564 * Add quote_space attribute
565 * Forbid \r and \n in sep_char, quote_char, and escape_char
566
567 0.69 - 2009-10-10, H.Merijn Brand
568 * Missing end quotes in error code docs
569 * examples/csv-check now shows detected eol
570 * Auto detection of eol => "\r" in streams
571 * Optimized caching. All cache changes now in XS
572
573 0.68 - 2009-10-04, H.Merijn Brand
574 * Attribute auto_diag now localizes to +1 if autodie is active
575 * Output name generation in csv2xls (RT#48954)
576 * Added csvdiff to examples/
577 * Reordered docs. Rewrote SYNOPSIS to be more like a real-world
578 code example
579
580 0.67 - 2009-08-08, H.Merijn Brand
581 * Fix empty_diag typo for attribute handler
582 * Fix AUTOMATED_TESTING erroneous skip
583
584 0.66 - 2009-08-07, H.Merijn Brand
585 * Reordered examples in doc to show best method first
586 * Documentation grammatical fix (John P. Linderman, RT#46411)
587 * Fail if first arg to new () is not a hash ref
588 * Implement empty_is_undef on request of Evan Carroll
589 * Typo in documentation (Herwin Weststrate, RT#47613)
590 * error_diag () uses warn () in void context instead of STDERR
591 * Add auto_diag attribute (still under construction)
592 * FIX: reset attributes (after they have been set) with accessor
593
594 0.65 - 2009-05-14, H.Merijn Brand
595 * Initial known errors can now be checked on number (1002)
596 * More tests for illegal combinations
597 * Added -u option to examples/csv-check to validate utf-8 encoding
598 * Correct documentation for error_diag () return value in case of
599 constructor failure (Slaven, RT#46076)
600 * All error_diag () returns should now be dual-var (both numeric
601 and string context valid)
602 * Remove (3) from L<..> links (Slaven, RT#46078)
603
604 0.64 - 2009-04-03, H.Merijn Brand
605 * Skip perlio tests for perl older than 5.8, as perlio
606 was experimental in 5.6
607 * Up Devel::PPPort to 3.17
608 * Fix initialization of eol => undef (could cause core dump)
609 * Added configure_require to META.yml
610
611 0.63 - 2009-03-20, H.Merijn Brand
612 * Fixed allow_whitespace with sep_char = TAB (RT#44402)
613
614 0.62 - 2009-03-13, H.Merijn Brand
615 * Prevent warnings in older perls (without utf8)
616 * All known errors are covered and/or documented. TODO dropped
617 * Unicode TODO dropped. All covered, or use Text::CSV::Encoded
618 * Documented the examples
619
620 0.61 - 2009-03-08, H.Merijn Brand
621 * valgrind found a possible uninitialized value
622 * Restriction in print () was only for really old perls
623 * Fix for bind_columns () initialization (vincent, RT#43927)
624
625 0.60 - 2009-01-27, H.Merijn Brand
626 * Optimize for threaded perls. (Goro Fuji, RT#42517)
627 Non-threaded perls won't notice
628
629 0.59 - 2009-01-23, H.Merijn Brand
630 * Wrong e-mail in META.yml
631 * Missing $IO argument in bind_columns example (docs only)
632 * Upped Copyright notices to 2009
633 * Added warning for parse () (RT#42261)
634 * Small optimizations (Goro Fuji, RT#42517)
635 * ppport.h updated to 3.15
636 * Added git clone command to README
637 * ppport.h updated to 3.16-pre
638 * Optimize getline/print method calls (Goro Fuji, RT#42517)
639 * Decode *_char attributes for perl 5.8.2 and up
640
641 0.58 - 2008-10-30, H.Merijn Brand
642 * Small typo in test message (RT#40410, JPL)
643 * Parse error test on "\0 (RT#40507)
644 * Fixed allow_loose_escapes bug disclosed by RT#40507
645
646 0.57 - 2008-10-21, H.Merijn Brand
647 * Don't bootstrap twice. Don't know how/when it came in there
648
649 0.56 - 2008-10-21, H.Merijn Brand
650 * Update to ppport.h 3.14_01
651 * Updated docs (Unicode, TODO, Release Plan)
652 * As Text::CSV::Encoded is about to be released, refer to it
653 in the documentation
654 * Default for eol is "", undef now treated as ""
655 * Don't print $\ twice (eol prevails over $\ in ->print ())
656 Fix only works in perl5.8 and up
657 * Undef treated as 0 for boolean attributes
658 * Trailing whitespace in pod removed
659 * Sync up doc with latest Text::CSV::Encoded
660 * YAML declared 1.4 (META.yml) instead of 1.1 (YAML)
661
662 0.55 - 2008-10-15, H.Merijn Brand
663 * Improve documentation on eol
664 * Unicode on perl-5.8.[0-2] sucks. Don't use it!
665 * Test error codes in expected IO failures
666 * Allow SetDiag to be used as class method
667 * Document the MS/Excel separation character
668 * Hint that eof is not an error per se (RT#40047)
669
670 0.54 - 2008-09-04, H.Merijn Brand
671 * IO failure in print () was not propagated (ilmari, RT#38960)
672
673 0.53 - 2008-09-01, H.Merijn Brand
674 * SvUPGRADE is a safer choice than sv_upgrade (Lubomir Rintel, RT#38890)
675 * bring docs in sync with reality for msg 2023
676 * Default eol for print is $\
677 * examples/csv-check should default to CSV , not to ;
678 * Tests for SetDiag (0)
679 * Tests for error 2030
680 * Code cleanup (Devel::Cover++)
681
682 0.52 - 2008-06-28, H.Merijn Brand
683 * Using undef for hash keys is a bad plan
684 * Fix, tests, and documentation for column_names ()
685
686 0.51 - 2008-06-17, H.Merijn Brand
687 * Allow UTF8 even without binary => 1
688 * Fixed a few pod typo's
689 * Lifted the max of 255 for bind_columns
690
691 0.50 - 2008-06-04, H.Merijn Brand
692 * Skip a few tests in automated testing, as they confuse
693 reports. This is important for the automated sites that
694 mark modules as fail if it is not an obvious full PASS
695 * 0.46 caused the last still open RT bug to be closed!
696 * Tested on 5.11.0, 5.10.0, 5.8.8, 5.6.2, and 5.005_04,
697 Strawberry and Cygwin
698
699 0.46 - 2008-06-04, H.Merijn Brand
700 * In examples add die on failed close calls
701 * Use Test::MinimumVersion (not distributed)
702 * Added option -F to examples/csv2xls
703 * More source code cleanup
704 * Nailed the UTF8 issues for parsing
705 * Nailed the UTF8 issues for combining
706
707 0.45 - 2008-04-23, H.Merijn Brand
708 * Forgot to pack examples/parser-xs.pl
709
710 0.44 - 2008-04-23, H.Merijn Brand
711 * Fixed the error position returned as third arg in error_diag ()
712 * Made examples/csv-check use this even more vebose
713 * Removed double-double quote from TODO
714 * Added examples/parse-xs.pl (attempt to fix bad CSV)
715
716 0.43 - 2008-04-21, H.Merijn Brand
717 * parse errors try to remember failing position
718 * used valgrind to test for leaks (devel-only)
719 * used Test::Valgrind as alternative leak check (devel-only)
720 * improve documentation for error 2023
721 * nailed the loose quotes in quoted fields
722
723 0.42 - 2008-04-16, H.Merijn Brand
724 * Generate META.yml myself. I won't use Build.PL
725 * Array-refs now accept scalars with magic:
726 $csv->print (*STDOUT, $sth->{NAME_lc});
727 * More/better examples
728 * Added t/76_magic.t
729
730 0.41 - 2008-04-11, H.Merijn Brand
731 * error_diag () subclassable
732 * typo in bind_columns () docs
733 * examples/csv2xls now uses getline ()
734 * better test for getline in t/75_hashref.t (makamata)
735 * document return value of getline () with bind_columns ()
736 * add perl version prereq to META.yml
737
738 0.40 - 2008-04-07, H.Merijn Brand
739 * Implemented getline_hr () and column_names () (RT#34474)
740 (suggestions accepted from Mark Stosberg)
741 * Corrected misspelled variable names in XS
742 * Functions are now =head2 type doc entries (Mark Stosberg)
743 * Make SetDiag () available to the perl level, so errors can
744 be centralized and consistent
745 * Integrate the non-XS errors into XS
746 * Add t/75_hashref.t
747 * Testcase for error 2023 (Michael P Randall)
748 * Completely refactored the XS part of parse/getline, which
749 is now up to 6% faster. YMMV
750 * Completed bind_columns. On straight fetches now up to three
751 times as fast as normal fetches (both using getline ())
752
753 0.37 - 2008-03-11, H.Merijn Brand
754 * Copied GIT repo to public mirror
755 * Fix leak / make meta info available to getline () + tests
756
757 0.36 - 2008-03-06, H.Merijn Brand
758 * Updated ppport.h
759 * auto-load IO::Handle when needed
760 * Tested with all available perl builds, including a fresh
761 threaded 5.11 (blead)
762
763 0.35 - 2008-03-01, H.Merijn Brand
764 Valloire-release
765 * use warnings/$^W = 1
766 * Tested on 5.10.0, 5.8.8, 5.6.2, and 5.005_04, Strawberry and Cygwin
767 * Diagnostics for failed new ()
768 * New 'blank_is_undef' option
769 * Updated docs
770 * Extended the DIAGNOSTICS a bit
771 * Updated TODO
772 * Fixed allow_whitespace issue, revealed by blank_is_undef
773 * Re-enabled some tests
774 * Fixed parse error that passed for q{1, "bar",2} with escape_char +
775 * Reversed an erroneous test result in the funny combo section
776 * Extended diagnostics tests
777 * Extended XS coverage
778 * Removed error 2033
779
780 0.34 - 2008-01-04, H.Merijn Brand
781 * No change, but 0.33 was shipped with an old META.yml
782
783 0.33 - 2008-01-02, H.Merijn Brand
784 * Text-CSV_XS now under git
785 * Upped copyright to 2008
786 * Added all prereq's to Makefile.PL
787 * Tested under perl 5.10
788
789 0.32 - 2007-10-24, H.Merijn Brand
790 * Added $csv->error_diag () to SYNOPSIS
791 * Added need for diag when new () fails to TODO
792 * Fixed a sneaked-in defined or in examples/csv2xls
793 * Plugged a 32byte memory leak in the cache code (valgrind++)
794 * Some perlcritic level1 changes
795
796 0.31 - 2007-07-23, H.Merijn Brand
797 * Removed prototypes in examples/csv2xls
798 * Improved usage for examples/csv2xls (GetOpt::Long now does --help/-?)
799 * Extended examples/csv2xls to deal with Unicode (-u)
800 * Serious bug in Text::CSV_XS::NV () type setting, causing the
801 resulting field to be truncated to IV
802
803 0.30 - 2007-06-21, H.Merijn Brand
804 * ,\rx, is definitely an error without binary (used to HANG!)
805 * Fixed bug in attribute caching for undefined eol
806 * Cleaned up some code after -W*** warnings
807 * Added verbatim.
808 * More test to cover the really dark corners and edge cases
809 * Even more typo fixes in the docs
810 * Added error_diag ()
811 * Added t/80_diag.t - Will not be mirrored by Text::CSV_PP
812 * Added DIAGNOSTICS section to pod - Will grow
813 * Small pod niot (abeltje)
814 * Doc fix in TODO (Miller Hall)
815
816 0.29 - 2007-06-08, H.Merijn Brand
817 * Removed an unused 'use Data::Dumper'
818 * Added $csv->eof () (RT#27424)
819 * Two typo's in the doc's (Amsterdam.pm)
820 * Modified examples/speed.pl to better show the diffs between versions
821 * Cache attribute settings and regain speed of 0.23! and beyond
822 Relative overall speeds (YMMV, use examples/speed.pl to check),
823 the 1.0x versions are from Text::CSV_PP.
824
825 0.23 0.25 0.26 0.27 0.28 0.29 1.00 1.02 1.05
826 ==== ==== ==== ==== ==== ==== ==== ==== ====
827 combine 1 62 61 61 60 58 100 14 14 14
828 combine 10 41 41 41 42 42 100 6 6 6
829 combine 100 35 35 36 36 36 100 5 5 5
830 parse 1 100 92 87 90 81 96 19 19 17
831 parse 10 95 100 86 97 94 94 15 16 14
832 parse 100 90 95 84 94 92 100 16 16 14
833 print io 93 89 91 91 95 100 0 0 6
834 getline io 90 92 84 87 89 100 0 0 13
835 ---- ---- ---- ---- ---- ---- ---- ---- ----
836 average 75 75 71 74 73 98 9 9 11
837
838 * Removed prototypes
839 * Added a SPECIFICATION section to the pod
840 * Safe caching of eol, and a warning in the docs
841 * Rewrote t/20_file.t do do actual file IO instead of IO_Scalar fake
842 * Small optimization for parse (juerd)
843 * Added make target test_speed
844 * Merged the items from CAVEAT to SPECIFICATION
845 * Updated the TODO and Release Plan sections
846 * Speed up internals by using references instead of copies (juerd)
847 * Reworked error_input, which also had an undetected internal error
848 * Added IO tests for lexical IO handles and perlio IO to/from scalars
849
850 0.28 - 2007-06-03, H.Merijn Brand
851 * IMPORTANT CHANGE: new () returns undef if it gets unsupported
852 attributes. Until now, new ({ esc_char => "\\" }) was just
853 silently ignored. Rejecting it and failing is better than
854 continuing with false assumptions.
855 * Added allow_loose_quotes (see doc)
856 * Added t/65_allow.t
857 * Added allow_loose_escapes (see doc) (RT#15076)
858 * More code cleanup in XS
859 * Added allow_whitespace (see doc)
860
861 0.27 - 2007-05-31, H.Merijn Brand
862 * checked with perlcritic (still works under 5.00504)
863 so 3-arg open cannot be used (except in the docs)
864 * 3-arg open in docs too
865 * Added a lot to the TODO list
866 * Some more info on using escape character (jZed)
867 * Mention Text::CSV_PP in README
868 * Added t/45_eol.t, eol tests
869 * Added a section about embedded newlines in the pod
870 * Allow \r as eol ($/) for parsing
871 * More docs for eol
872 * More eol = \r fixes, tfrayner's test case added to t/45_eol.t
873
874 0.26 - 2007-05-15, H.Merijn Brand
875 * Add $csv->allow_undef (1) suggestion in TODO
876 Still have to find the best spot to document
877 the difference between empty string and undef
878 * Spell-checked the pod and fixed some typo's
879 * Added t/70_rt.t
880 - Regression for RT#24386: \t doesn't work (WFM)
881 - Regression and fix for RT#21530: getline () return at eof
882 This one still passes under perl 5.00504
883 - Regression for RT#18703: Fails to use quote_char of '~'
884 * Added t/55_combi.t for most combinations of always_quote,
885 sep_char, quote_char, and escape_char
886 * Added docs about sep_char not allowed to be either quote_char
887 or escape_char
888 * Both combine () and parse () now return FALSE id sep_char is
889 equal to either quote_char or escape_char. Done in XS, as it
890 was a slowdown of 10% when done in perl.
891
892 0.25 - 2007-05-07, H.Merijn Brand
893 # Merijn got the maintainership
894 * code reformat and code cleanup
895 * renamed internal (Encode, Decode) to (Combine, Parse) to
896 prevent misinterpretation with upcoming Unicode changes
897 and possible name clashes
898 * added pod check (and fixed pod)
899 * added pod coverage and small additions to the pod.
900 More to do in this area
901 * renamed test to fixate the sequence
902 * Added t/50_utf8.t
903 * tests now use Test::More
904 . Makefile.PL requires Test::More
905 * checked proclaimed version compatibility
906 . 5.9.x-64int works @31159
907 . 5.8.x-64int-dor works @31162
908 . 5.8.0-dor works
909 . 5.6.2 works
910 . 5.005.04 works
911 . 5.004.05 fails
912 * 5.005 is now prerequisite
913 * Added missing info in docs for new ()
914 * Added meta_info () method and docs
915 * Added keep_meta_info in new ()
916 * Added t/15_flags.t
917 * Added test_cover make target
918 * Added test for error_input ()
919 * Added tests for fields () and meta_info () before parse ()
920 * Added tests for ->types () as method
921 * Added tests for deleting types (coverage now over 99%)
922 * Added is_quoted (), is_binary () and tests
923 * Added COPYRIGHT section to pod
924 * Added the parse example from the pod to test.pl
925 * Added accessor methods for internals: quote_char () et all
926 * Added tests for the new accessor methods
927 * Added always_quote to the missing places in the doc and in new ()
928 * Changed the tests to use the accessors instead of the hash keys
929 except for the ->{types} and ->{_types}
930 * Moved test.pl to examples/speed.pl
931
932 0.23 - 2001-10-10, Jochen Wiedmann <[email protected]>
933 * Changed "char" to "unsigned char" in CSV_XS.xs.
934 Matthew Graham <[email protected]>
935
936 0.22 - 2000-12-22, Jochen Wiedmann <[email protected]>
937 * CSV_XS.xs: Added the handling of escape characters
938 outside of quotes. Kirill Paliy <[email protected]>
939
940 0.21 - 2000-08-18, Jochen Wiedmann <[email protected]>
941 * CSV_XS.pm (parse): Minor bugfix in the parse method.
942 Norikatsu Shigemura ([email protected])
943
944 0.20 - 1999-06-28, Jochen Wiedmann <[email protected]>
945 * CSV_XS.xs: Fixed a bug in the decoder where escapeChar wasn't
946 handled right. Pavel Kotala <[email protected]>
947
948 0.19 - 1999-05-01, Jochen Wiedmann <[email protected]>
949 * CSV_XS.xs: Setting escape_char => undef should now work.
950 Requested by Syed Muhammad Nayeem <[email protected]>
951
952 0.18 - 1999-04-05, Jochen Wiedmann <[email protected]>
953 * CSV_XS.pm: Portability fixes (sv_undef => PL_sv_undef
954 and the like.
955
956 0.17 - 1999-03-04, Jochen Wiedmann <[email protected]>
957 * CSV_XS.pm: Added always_quote attribute.
958 (Ken Williams <[email protected]>)
959 * The types method is now implemented in Perl.
960
961 0.16 - 1999-02-11, Jochen Wiedmann <[email protected]>
962 * CSV_XS.pm: PV, IV and NV are no longer exportable, so that I
963 need not inherit from Exporter any longer. (This caused trying
964 to autoload DESTROY without any reason. Seems to me to be a
965 serious performance penalty.)
966 * CSV_XS.pm: Being a little bit less strict now: If quoteChar and
967 escapeChar are different, then the quote char may be part of
968 the field. (Not at the fields start, of course.)
969
970 0.15 - 1998-08-21, Jochen Wiedmann <[email protected]>
971 * CSV_XS.pm: Moved print () and getline () to XS.
972
973 0.14 - 1998-08-13, Jochen Wiedmann <[email protected]>
974 * CSV_XS.xs: Forgot to escape sepchar; patched by Paul Walmsley,
975 <[email protected]>.
976
977 0.13 - 1998-07-20, Jochen Wiedmann <[email protected]>
978 * CSV_XS.xs (Encode): Strings qre quoted only if required.
979 * CSV_XS.xs: Added support for $csv->{types}.
980
981 0.12 - 1998-06-11, Jochen Wiedmann <[email protected]>
982 * CSV_XS.xs (Encode): Integers and Reals are no longer quoted.
983
984 * Added $csv->{types}.
985
986 0.11 - 1998-05-12, Jochen Wiedmann <[email protected]>
987 * Added $csv->{eol}
988
989 * Added $csv->{quote_char} = undef
990
991 0.10 - 1998-05-05, Jochen Wiedmann <[email protected]>
992 * Moved encoding and decoding to XS; added binary mode; added
993 print () and getline () methods.
994
995 0.01 - 1998-06-05 Alan Citterman <[email protected]>
996 * Initial version