| 1 | # Changelog |
| 2 | All notable changes to this project will be documented in this file. |
| 3 | |
| 4 | The format is based on |
| 5 | [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | and this project adheres to |
| 7 | [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 8 | |
| 9 | ## [Unreleased] |
| 10 | |
| 11 | ### Added |
| 12 | ### Changed |
| 13 | ### Deprecated |
| 14 | ### Removed |
| 15 | ### Fixed |
| 16 | ### Security |
| 17 | |
| 18 | |
| 19 | ## [2.7.1] - 2026-04-27 |
| 20 | |
| 21 | ### Changed |
| 22 | - `CHANGES.md` renamed to `CHANGELOG.md` following https://keepachangelog.com/en/1.1.0/ |
| 23 | - Minor documentation improvements |
| 24 | |
| 25 | ### Fixed |
| 26 | - Warning issued when the package has already been loaded |
| 27 | - Code style improved with explcheck |
| 28 | |
| 29 | |
| 30 | |
| 31 | ## [2.7.0] - 2024-09-27 |
| 32 | |
| 33 | ### Added |
| 34 | - Warning, if the CSV file does not contain (accepted) data lines |
| 35 | |
| 36 | ### Changed |
| 37 | - Comment lines or empty line before header line are now supported (issue #41) |
| 38 | - If there is no data line, `late after head` and `late after last line` are applied nonetheless |
| 39 | (loosely connected to issue #41). Note: You should not use files without data! |
| 40 | - Technical information: The package documentation is now produced with lualatex instead of pdflatex |
| 41 | - Technical information: The documentation loads `minted2`, if it exists, to avoid encoding errors and latexmk problems with minted v3 |
| 42 | |
| 43 | |
| 44 | |
| 45 | ## [2.6.1] - 2024-05-16 |
| 46 | |
| 47 | ### Changed |
| 48 | - Documentation of `csvsim/filter fp`, `csvsim/and filter fp`, `\IfCsvsimFpCompareTF`, |
| 49 | and `\IfCsvsimIntCompareTF` clarified (issue #37) |
| 50 | - Reset `data collection` to `\csvdatacollection` for every csv reader (issue #39) |
| 51 | |
| 52 | ### Fixed |
| 53 | - Documentation typos fixed (issue #38) |
| 54 | |
| 55 | |
| 56 | |
| 57 | ## [2.6.0] - 2024-01-19 |
| 58 | |
| 59 | ### Added |
| 60 | - `consume collected data` |
| 61 | - `\csvcollecte` (replacement for `\csvcollectx`) |
| 62 | - New CamelCase macro names for several existing string and number test macros |
| 63 | to adapt expl3 naming conventions (issue #34): |
| 64 | - `\IfCsvsimStrEqualTF` |
| 65 | - `\IfCsvsimTlEqualTF` |
| 66 | - `\IfCsvsimTlProtectedEqualTF` |
| 67 | - `\IfCsvsimFpCompareTF` |
| 68 | - `\IfCsvsimIntCompareTF` |
| 69 | |
| 70 | ### Changed |
| 71 | - Default settings for `\csvautotabularray` and friends slightly changed |
| 72 | (line width and added uppercase setting) |
| 73 | - In documentation for `collect data`, `after first line` is |
| 74 | added to the list of collected keys (issue/pull request #31) |
| 75 | - Expl3 scratch variables like `\l_tmpa_tl` replaced by package variables like `\l__csvsim_tmpa_tl` |
| 76 | - Implementation of `\csvexpval` changed from `\exp_not:V` to `\exp_not:o` |
| 77 | - Implementation of `data collection` changed to piecewise token list constructions |
| 78 | - Implementation of `generic collected table` does not alter `after reading` anymore |
| 79 | - Implementation of `\ifcsvstrcmp` and `\ifcsvstrequal` changed |
| 80 | - Documentation of Section "String and Number Tests" updated (issue #33) |
| 81 | - Leading `/` removed from all l3keys inside the documentation |
| 82 | - `l3keys2e` removed from `csvsimple.sty` and code adapted |
| 83 | - Needed LaTeX version updated to 2023-11-01 |
| 84 | - Several minor changes |
| 85 | |
| 86 | |
| 87 | |
| 88 | ## [2.5.0] - 2023-10-16 |
| 89 | |
| 90 | ### Added |
| 91 | - New survey tables (issue #29): |
| 92 | - `\csvautotabularray` |
| 93 | - `\csvautotabularray*` |
| 94 | - `\csvautolongtabularray` |
| 95 | - `\csvautolongtabularray*` |
| 96 | - New corresponding options (issue #29) |
| 97 | - `autotabularray` |
| 98 | - `autotabularray*` |
| 99 | - `autolongtabularray` |
| 100 | - `autolongtabularray*` |
| 101 | |
| 102 | ### Changed |
| 103 | - Documentation typos fixed (issue #30) |
| 104 | - Survey tables moved into a separate section |
| 105 | |
| 106 | ### Fixed |
| 107 | - `collect data` does not collect `after first line` (issue #28) |
| 108 | |
| 109 | |
| 110 | |
| 111 | ## [2.4.0] - 2023-05-09 |
| 112 | |
| 113 | ### Added |
| 114 | - New additive filter options (issue #24): |
| 115 | - `and filter bool` |
| 116 | - `and filter fp` |
| 117 | - `and filter strcmp` |
| 118 | - `and filter not strcmp` |
| 119 | - `or filter bool` |
| 120 | - `or filter fp` |
| 121 | - `or filter strcmp` |
| 122 | - `or filter not strcmp` |
| 123 | - Hook `csvsimple/csvline` added with example for doublequote replacement (issue #19) |
| 124 | - Option setting `separator = space` (issue #20) |
| 125 | |
| 126 | ### Changed |
| 127 | - The content of `range` is now expanded before processing it |
| 128 | - Implementation of `filter bool`, `filter fp`, `filter strcmp`, `filter not strcmp` |
| 129 | |
| 130 | |
| 131 | |
| 132 | ## [2.3.2] - 2022-09-20 |
| 133 | |
| 134 | ### Fixed |
| 135 | - The `\ifcsvfirstrow` command doesn't work (issue #23) |
| 136 | |
| 137 | |
| 138 | |
| 139 | ## [2.3.1] - 2022-06-21 |
| 140 | |
| 141 | ### Fixed |
| 142 | - Documentation: placeholder names corrected (issue #21) |
| 143 | - Use built-in constants instead of integers for boolexpr (issue #22) |
| 144 | |
| 145 | |
| 146 | |
| 147 | ## [2.3.0] - 2022-02-01 |
| 148 | |
| 149 | ### Added |
| 150 | - Option `column names detection` (related to issue #16) |
| 151 | - Documentation: csvautotabular inspired example for tabularray. |
| 152 | |
| 153 | ### Changed |
| 154 | - `\csvlinetotablerow` changed to be expandable and to be |
| 155 | usable inside a *Data Collection* (issue #16) |
| 156 | - Options `autotabular`, `autobooktabular`, `autolongtable`, `autobooklongtable` |
| 157 | use `column names detection=false` now. |
| 158 | |
| 159 | |
| 160 | |
| 161 | ## [2.2.1] - 2022-01-07 |
| 162 | |
| 163 | ### Fixed |
| 164 | - Option `late after first line` ignored for `csvsimple-l3` (issue #17) |
| 165 | |
| 166 | |
| 167 | |
| 168 | ## [2.2.0] - 2021-09-09 |
| 169 | |
| 170 | ### Added |
| 171 | - Configurable usage of tabular-like environments (issue #12) |
| 172 | - Option `table centered` |
| 173 | - Option `generic table` |
| 174 | - Option `generic collected table` |
| 175 | - Option `generic table options` |
| 176 | |
| 177 | ### Changed |
| 178 | - The implementation of all tabular-like environments uses the new |
| 179 | generic environments now internally. Should be unnoticeable for a user. |
| 180 | |
| 181 | ### Fixed |
| 182 | - documentation typo correction and small improvents (issue #15) |
| 183 | - Option `long tabularray` |
| 184 | |
| 185 | |
| 186 | |
| 187 | ## [2.1.0] - 2021-07-06 |
| 188 | |
| 189 | ### Added |
| 190 | - Support for (limited) data collection (issue #15) |
| 191 | - Support for package `tabularray` (part of issue #12) |
| 192 | - Option `after filter` |
| 193 | - Option `collect data` |
| 194 | - Option `data collection` |
| 195 | - Option `tabularray` |
| 196 | - Option `centered tabularray` |
| 197 | - `\csvdatacollection` |
| 198 | - `\csvexpval` |
| 199 | - `\csvexpnot` |
| 200 | - `\csvcollectn` |
| 201 | - `\csvcollectx` |
| 202 | - `\csvcollectV` |
| 203 | |
| 204 | ### Fixed |
| 205 | - Line Range was not resetted |
| 206 | - Wrong link and word inside documentation `csvsimple.pdf` (issue #13, issue #15) |
| 207 | - Several inconsistent local/global assignment errors |
| 208 | |
| 209 | |
| 210 | |
| 211 | ## [2.0.0] - 2021-06-29 |
| 212 | |
| 213 | ### Added |
| 214 | - New documentation `csvsimple-l3.pdf` for the new LaTeX3 version |
| 215 | (revised, adapted and extended from the old documentation) |
| 216 | - `\thecsvcolumncount` |
| 217 | - Option `autotabular*` |
| 218 | - Option `autobooktabular*` |
| 219 | - Option `autolongtable*` |
| 220 | - Option `autobooklongtable*` |
| 221 | - Option `filter bool` |
| 222 | - Option `filter fp` |
| 223 | - Option `range` |
| 224 | - `\csvautotabular*` |
| 225 | - `\csvautobooktabular*` |
| 226 | - `\csvautolongtable*` |
| 227 | - `\csvautobooklongtable*` |
| 228 | - `\csvfilterbool` |
| 229 | - `\ifcsvfirstrow` |
| 230 | - `\ifcsvoddrow` |
| 231 | - `\ifcsvfpcmp` |
| 232 | - `\ifcsvintcmp` |
| 233 | - `\csvsortingrule` |
| 234 | |
| 235 | ### Changed |
| 236 | - Complete re-implementation of the hitherto existing latex package |
| 237 | as LaTeX3 package using the expl3 interface. From now on, three package |
| 238 | files are provided: |
| 239 | ** `csvsimple-legacy.sty` identical to csvsimple until version 1.22 ** |
| 240 | ** `csvsimple-l3.sty` LaTeX3 package of csvsimple ** |
| 241 | ** `csvsimple.sty` stub to select `l3` or `legacy` (default) ** |
| 242 | - The LaTeX2e version (`csvsimple-legacy`) will be maintained in its |
| 243 | current state with no intended changes with exceptions of bug fixes. |
| 244 | - The LaTeX3 version (`csvsimple-l3`) is regarded to be the main package |
| 245 | and may receive feature upgrades in the future |
| 246 | - Existing documents using csvsimple v1.22 need no change since loading |
| 247 | `csvsimple` will load `csvsimple-legacy`. |
| 248 | - `cvsimple-l3` is a *nearly* drop-in replacement for `csvsimple-legacy`. |
| 249 | Only very few things phased out and the user interface is quite identical. |
| 250 | The most significant difference is that `l3keys` are used instead of `pgfkeys` |
| 251 | which may need adaptions on user side (for examples, if .styles are used) |
| 252 | - New documents are encouraged to apply `cvsimple-l3` instead of `csvsimple-legacy`. |
| 253 | - For the complete package is valid: do not upgrade from version 1.22, if your |
| 254 | TeX installation has no current LateX3/expl3 support a.k.a *is too old* |
| 255 | - `csvinputline` and `csvrow` are no longer LaTeX2e counters |
| 256 | - The hitherto existing documentation `csvsimple.pdf` is now `csvsimple-legacy.pdf` |
| 257 | - `csvsimple.pdf` documents the stub package and differences |
| 258 | between `csvsimple-l3.sty` and `csvsimple-legacy.sty` |
| 259 | - `column count = 0` means automatic column number detection for CSV files without head |
| 260 | - Option `head` does not change option `check column count` anymore |
| 261 | - Changelog moved from CHANGES to CHANGES.md and adapted to |
| 262 | [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) |
| 263 | - From now on version numbers adhere to |
| 264 | [Semantic Versioning](http://semver.org/spec/v2.0.0.html) |
| 265 | |
| 266 | ### Deprecated |
| 267 | - `\csviffirstrow` |
| 268 | - `\csvifoddrow` |
| 269 | |
| 270 | ### Removed |
| 271 | - `\csvheadset` |
| 272 | - Option `filter` |
| 273 | - Option `nofilter` |
| 274 | - Option `nohead` |
| 275 | |
| 276 | |
| 277 | |
| 278 | ## [1.22] - 2021-06-07 |
| 279 | |
| 280 | ### Added |
| 281 | - Option `head to column names prefix` (issue #7) |
| 282 | |
| 283 | ### Changed |
| 284 | - Due to changes in the LaTeX kernel 2021-06-01, the empty line |
| 285 | detection of csvsimple had to be adapted. Updating csvsimple is |
| 286 | essential to avoid problems with kernel 2021-06-01. (issue #11) |
| 287 | |
| 288 | |
| 289 | |
| 290 | ## [1.21] - 2019-04-09 |
| 291 | |
| 292 | ### Changed |
| 293 | - Package `pgfrcs` added as required package |
| 294 | - Introduction augmented with additional hints for first time users (issue #3) |
| 295 | |
| 296 | ### Fixed |
| 297 | - Spurious blank in sorting code removed |
| 298 | |
| 299 | |
| 300 | |
| 301 | ## [1.20] - 2016-07-01 |
| 302 | |
| 303 | ### Added |
| 304 | - New string comparison macros: |
| 305 | - `\ifcsvstrequal` |
| 306 | - `\ifcsvprostrequal` |
| 307 | - `\ifcsvstrcmp` |
| 308 | - `\ifcsvnotstrcmp` |
| 309 | - New filter options: |
| 310 | - Option `filter ifthen` |
| 311 | - Option `filter test` |
| 312 | - Option `filter expr` |
| 313 | - Option `full filter` |
| 314 | - Option `filter strcmp` |
| 315 | - Option `filter not strcmp` |
| 316 | |
| 317 | ### Changed |
| 318 | - Implementation changed from `\roman` to `\romannumeral` |
| 319 | - `\write18` replaced by `\ShellEscape` from the shellesc package |
| 320 | - `\csvlinetotablerow` implemented more efficiently |
| 321 | - `\csvloop` made long |
| 322 | - Code optimizations |
| 323 | - Documentation revised |
| 324 | |
| 325 | |
| 326 | |
| 327 | ## [1.12] - 2014-07-14 |
| 328 | |
| 329 | ### Added |
| 330 | - Option `csvsorter token` |
| 331 | - Documentation extended with siunitx examples |
| 332 | |
| 333 | ### Changed |
| 334 | - Success of CSV-Sorter call is checked (Note: Update to CSV-Sorter v0.94 or newer!) |
| 335 | - Encircling column entry braces removed for all entries for better siunitx compatibility |
| 336 | - Documentation revised |
| 337 | |
| 338 | ### Fixed |
| 339 | - CSV-Sorter call incompatibilities with the ngerman package (not babel) |
| 340 | |
| 341 | |
| 342 | |
| 343 | ## [1.11] - 2014-07-08 |
| 344 | |
| 345 | ### Changed |
| 346 | - If a CSV file with an empty first line is found, csvsimple |
| 347 | stops with an error message |
| 348 | |
| 349 | ### Fixed |
| 350 | - Sorting preprocessor overwrites the input data in some combinations |
| 351 | |
| 352 | |
| 353 | |
| 354 | ## [1.10] - 2014-07-07 |
| 355 | |
| 356 | ### Added |
| 357 | - `\csvautobooktabular` |
| 358 | - `\csvautobooklongtable` |
| 359 | - External sorting specifically supported for the CSV-Sorter tool with the new options |
| 360 | - Option `csvsorter command` |
| 361 | - Option `csvsorter configpath` |
| 362 | - Option `csvsorter log` |
| 363 | - Option `sort by` |
| 364 | - Option `new sorting rule` |
| 365 | - New keys for respecting special characters: |
| 366 | - Option `respect tab` |
| 367 | - Option `respect percent` |
| 368 | - Option `respect sharp` |
| 369 | - Option `respect dollar` |
| 370 | - Option `respect and` |
| 371 | - Option `respect backslash` |
| 372 | - Option `respect underscore` |
| 373 | - Option `respect tilde` |
| 374 | - Option `respect circumflex` |
| 375 | - Option `respect leftbrace` |
| 376 | - Option `respect rightbrace` |
| 377 | - Option `respect all` |
| 378 | - Option `respect none` |
| 379 | - Option setting `separator = tab` |
| 380 | |
| 381 | ### Changed |
| 382 | - If a CSV file is not found, csvsimple stops with an error message instead of a warning |
| 383 | |
| 384 | ### Fixed |
| 385 | - Table head names in curly brackets were not recognized for some cases |
| 386 | |
| 387 | |
| 388 | |
| 389 | ## [1.07] - 2013-09-25 |
| 390 | |
| 391 | ### Added |
| 392 | - Option `separator` to set the data value separator to |
| 393 | `comma`, `semicolon`, or `pipe` |
| 394 | |
| 395 | ### Changed |
| 396 | - Internal macro `\TrimSpaces` renamed to avoid name clashed with `xparse` |
| 397 | |
| 398 | |
| 399 | |
| 400 | ## [1.06] - 2012-11-08 |
| 401 | |
| 402 | ### Changed |
| 403 | - Implementation for line breaking changed from full macro expansion to |
| 404 | token expansion. This allows quite arbitrary macro code inside the data. |
| 405 | Note that this may be a breaking change if your application expects |
| 406 | expanded column values. |
| 407 | - Option values added for `\csvautotabular` and `\csvautolongtable` |
| 408 | |
| 409 | |
| 410 | |
| 411 | ## [1.05] - 2012-03-12 |
| 412 | |
| 413 | ### Added |
| 414 | - Source code of the documentation added |
| 415 | - Provision of the csvsimple.tds.zip file for easier installation |
| 416 | - Option `preprocessed file` |
| 417 | - Option `preprocessor` |
| 418 | - Option `no preprocessing` |
| 419 | |
| 420 | ### Changed |
| 421 | - Documentation language changed from German to English |
| 422 | - Option `nocheckcolumncount` renamed to `no check column count` |
| 423 | - Option `nofilter` renamed to `no check column count` |
| 424 | - Option `nocheckcolumncount` renamed to `no filter` |
| 425 | - Option `nohead` renamed to `no head` |
| 426 | |
| 427 | ### Deprecated |
| 428 | - Option `nofilter` |
| 429 | - Option `nohead` |
| 430 | |
| 431 | ### Removed |
| 432 | - Option `@table` removed from the documentation |
| 433 | |
| 434 | ### Fixed |
| 435 | - Error in `nocheckcolumncount` corrected and key renamed to 'no check column count' |
| 436 | |
| 437 | |
| 438 | |
| 439 | ## [1.04] - 2011-11-11 |
| 440 | |
| 441 | ### Added |
| 442 | - Option `head to column names` (automatic column names) |
| 443 | - Option `no table` |
| 444 | - Column numbers can now be used for column macro definitions |
| 445 | |
| 446 | ### Changed |
| 447 | - Internal behaviour of `before reading` and `after reading` |
| 448 | changed for tables |
| 449 | |
| 450 | ### Fixed |
| 451 | - documentation update and correction |
| 452 | |
| 453 | |
| 454 | |
| 455 | ## [1.03] - 2011-11-04 |
| 456 | |
| 457 | ### Fixed |
| 458 | - Processing error for lines starting with '00' corrected |
| 459 | |
| 460 | |
| 461 | |
| 462 | ## [1.02] - 2011-04-04 |
| 463 | |
| 464 | ### Added |
| 465 | - `\csvfilteraccept` |
| 466 | - `\csvfilterreject` |
| 467 | - Option `filter accept all` |
| 468 | - Option `filter reject all` |
| 469 | |
| 470 | ### Fixed |
| 471 | - Error in the documentation for longtable und tabbing corrected |
| 472 | |
| 473 | |
| 474 | |
| 475 | ## [1.01] - 2010-11-10 |
| 476 | |
| 477 | ### Added |
| 478 | - Option `after first line` |
| 479 | - Option `late after first line` |
| 480 | - New example for key evaluation in the documentation |
| 481 | |
| 482 | ### Changed |
| 483 | - Documentation of some options clarified |
| 484 | |
| 485 | |
| 486 | |
| 487 | ## [1.00] - 2010-07-28 |
| 488 | |
| 489 | ### Added |
| 490 | - Initial public release |