All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- A -v verbose option to the cli to generate more verbose output.
- A --truncation-length option to create-template and flatten
- Output on the command line is by default less verbose
- While trying to decode JSON, if there is a UTF8 error raise the new exception class BadlyFormedJSONErrorUTF8. (This extends the old BadlyFormedJSONError exception, so existing code that checks sensibly should be fine.)
- Add --disable-local-refs to flatten, unflatten and create-template.
- Add --remove-empty-schema-columns flag to flatten OpenDataServices/cove#1019
- Add --xml-comment to unflatten.
- Commands from command line overridden individually by commands in the metatab. Previously all commands taken from metatab and the rest ignored if only one was added.
- In setup.py, set author and author_email to general values.
- create-template: If --output-format is xlsx, the default --output-name is template.xlsx instead of template.
- flatten: If --output-format is xlsx, the default --output-name is flattened.xlsx instead of flattened.
- Add a spreadsheet configuration variable for id_name (called IDName).
- Add --root-is-list to flatten and unflatten.
- Add --sheet-prefix to flatten.
- Add --filter-field and --filter-value to flatten.
- Added new BODS page to docs.
- Ignore elements that don't exist in the schema, whilst sorting XML. Previously an exception was raised. OpenDataServices#218
- Fix: unflatten would crash if given a csv with an empty first row OpenDataServices#229
- Clarified meaning of headerrows in docs. OpenDataServices#230
- Tool can work with schemas that have refs to local files (part of OpenDataServices#225 )
- Schema loader can work with schemas that have 'oneOf' (part of OpenDataServices#225 )
- Sort XML according to provided schema(s) OpenDataServices#196
- Remove Python 3.3 support https://github.com/OpenDataServices/flatten-tool/commit/636cf988ff7e5247a089b22061f0fe7767ea81b4
- Avoid some openpyxl warnings OpenDataServices#211
- Fix XML unflattening with stdlib etree OpenDataServices#212
(As there are new features, this should have been a minor release. Just noting so we pick this up for future releases.)
(This release was documented after the release and some things may have been missed.)
- Support user-defined XML root node OpenDataServices#201
- Require lxml OpenDataServices#207
- Add missing comma to CSV fixture OpenDataServices#203
- Do not hard code iati-activities for top level for all XML OpenDataServices#150
- Don't split text value of XML array OpenDataServices#208
Initial Release.