1.0.4
📦 Release v1.0.4
This release focuses on stabilising the codebase through expanded test coverage, logic refinements, and fixes for breaking changes in upstream data scraping.
Summary of changes since 1.0.3:
🐛 Bug fixes
- Web scraper fix: Resolved a
TypeErrorinDepots.fetch_codes()by updating header mappings to match current upstream structures (#67). - Parsing logic: Fixed a minor bug in
Tunnels._parse_lengthand improved connection error reporting. - Infrastructure: Standardised error-raising logic and refined file path generation in the base class.
🧪 Test enhancements
- Coverage expansion: Increased unit test coverage for core modules, including
Stations,Tunnels,Viaducts,ELRMileages,Features, andSigBoxes. - Robustness: Refactored
TestLORand prefix validation to use dynamic type checking instead of hardcoded values (#66).
⚙️ Maintenance
- API cleanup: Converted
defaultdictoutputs to standarddictfor cleaner API returns. - Refactoring: Improved data update workflows for
OtherAssetsandELRMileages. - Documentation: Updated project metadata, Sphinx configuration, and
quick-start.rst. - Dependencies: Updated
requirements.txtfor both core and documentation environments.