| 1 |
Version 0.021 - 2024-05-02 |
| 2 |
- Use ->table_search_results->{...}{row} instead of {row_idx} |
| 3 |
- Allow initializing TableReader 'fields' attribute with Field objects |
| 4 |
(had only been allowing strings and hashrefs) |
| 5 |
- Decoder::Mock now correctly handles empty tables (no rows) |
| 6 |
|
| 7 |
Version 0.020 - 2024-04-30 |
| 8 |
- Rename on_validation_fail -> on_validation_error |
| 9 |
The action codes are the same, but the callback has different arguments. |
| 10 |
Old callbacks applied using the attribute name 'on_validation_fail' will |
| 11 |
continue to work. |
| 12 |
- New iterator attribute 'dataset_idx', for keeping track of which dataset |
| 13 |
you're on. |
| 14 |
- Unimplemented Iterator->seek now dies as per the documentation. |
| 15 |
(no built-in iterator lacked support for seek, so unlikely to matter) |
| 16 |
|
| 17 |
Version 0.015 - 2024-04-27 |
| 18 |
- Better support for fields sharing name, with Field->addr (refaddr) and |
| 19 |
TableReader->field_by_addr |
| 20 |
- Decoder iterators now have ->row attribute |
| 21 |
- Spreadsheet decoder ->position includes sheet number and now uses |
| 22 |
1-based row number (as originally intended) |
| 23 |
- Results of find_table are stored in table_search_results for better |
| 24 |
inspection and reporting on a failure. This allows detection messages |
| 25 |
to be associated with a row, and various conflicts to be associated with |
| 26 |
a column (without parsing message text). |
| 27 |
- On a failed find_table, user can inspect the attempts in |
| 28 |
table_search_results->{candidates} and select one to be ->{found}, and |
| 29 |
then proceed to create the iterator. |
| 30 |
- col_map is now a full attribute and can be specified in the constructor. |
| 31 |
find_table starts with the user-supplied value and tries to fill in any |
| 32 |
'undef' values in that array. |
| 33 |
- New settings on_partial_match, on_ambiguous_columns, and modified |
| 34 |
official values of on_unknown_columns. These provide better control |
| 35 |
over what counts as an error and whether to continue the search. |
| 36 |
|
| 37 |
Version 0.014 - 2024-03-25 |
| 38 |
- Fix compatibility with newest Spreadsheet::ParseXLSX |
| 39 |
|
| 40 |
Version 0.013 - 2024-03-22 |
| 41 |
- Fix bug in unit tests causing failure when MRO::Compat not installed |
| 42 |
|
| 43 |
Version 0.012 - 2024-03-07 |
| 44 |
- Field now has 'coerce' attribute which can be a coderef, or enable |
| 45 |
Type::Tiny coercion. |
| 46 |
- TableReader 'input' attribute can now be an arrayref, as a shorthand |
| 47 |
for the 'Mock' decoder. |
| 48 |
- Improved unit tests |
| 49 |
|
| 50 |
Version 0.011 - 2019-06-27 |
| 51 |
- Allow per-field 'trim' value to be a regex or coderef |
| 52 |
- Change dist version-munger to Dist::Zilla::Plugin::OurPkgVersion |
| 53 |
- Exclude ::Decoder::HTML files from getting shipped with main dist |
| 54 |
|
| 55 |
Version 0.010 - 2019-01-02 |
| 56 |
- Fix several bugs related to multi-line headers |
| 57 |
- Also allow 'input' to be a Spreadsheet::ParseExcel::Workbook |
| 58 |
- Auto-detection support for ::Decoder::HTML companion module |
| 59 |
|
| 60 |
Version 0.008 - 2018-11-28 |
| 61 |
- 'input' attribute may now be a Spreadsheet::ParseExcel::Worksheet |
| 62 |
- When specifying 'decoder' attribute as an arrayref or hashref, |
| 63 |
the CLASS argument is now optional, allowing auto-detection while |
| 64 |
still supplying extre optional attributes for the decoder. |
| 65 |
- Wrokaround for Libre Office row-max bug |
| 66 |
- New Decoder::XLSX attribute 'xls_formatter', useful for casting |
| 67 |
local datetimes to a known time zone. |
| 68 |
- Prevent loading Text::CSV_XS if its version is too old. |
| 69 |
|
| 70 |
Version 0.007 - 2018-03-15 |
| 71 |
- Fix various bugs in detect_input_format relevant to CSV files |
| 72 |
- Enhanced debug-level logging during the table search algorighm |
| 73 |
|
| 74 |
Version 0.006 - 2018-03-08 |
| 75 |
- Auto-detect CSV Unicode format by looking for BOM, unless handle |
| 76 |
already has an IO layer to specify encoding. |
| 77 |
- Improved logging, and logging API. 'log' attribute is no longer public |
| 78 |
on Decoder objects. |
| 79 |
|
| 80 |
Version 0.005 - 2017-11-26 |
| 81 |
- Remove 'filters' feature since it adds overhead and not much value |
| 82 |
- Fix bug when creating multiple parallel record iterators |
| 83 |
- Sanitize data headers written in logging messages |
| 84 |
|
| 85 |
Version 0.004 - 2017-11-26 |
| 86 |
- Re-add Text::CSV as a hard dependency since it's small and I need a recent |
| 87 |
version for all the tests to pass. |
| 88 |
|
| 89 |
Version 0.003 - 2017-11-25 |
| 90 |
- Remove hard dependencies on CSV and Excel parsers |
| 91 |
- Use new "Mock" decoder for format-independent test cases |
| 92 |
- Fix handling of $TableReader->log to match API description |
| 93 |
- Fix bugs to be compatible back to 5.8.9 |
| 94 |
|
| 95 |
Version 0.002 - 2017-11-24 |
| 96 |
- Fixed 'filters' feature |
| 97 |
- Iterators of decoders are now created on each call, rather than cached |
| 98 |
- Many documentation improvements |
| 99 |
|
| 100 |
Version 0.001 - 2017-11-24 |
| 101 |
- Initial public version |