Skip to content

1.0.4

Choose a tag to compare

@mikeqfu mikeqfu released this 30 Dec 14:33
9d68056

📦 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 TypeError in Depots.fetch_codes() by updating header mappings to match current upstream structures (#67).
  • Parsing logic: Fixed a minor bug in Tunnels._parse_length and 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, and SigBoxes.
  • Robustness: Refactored TestLOR and prefix validation to use dynamic type checking instead of hardcoded values (#66).

⚙️ Maintenance

  • API cleanup: Converted defaultdict outputs to standard dict for cleaner API returns.
  • Refactoring: Improved data update workflows for OtherAssets and ELRMileages.
  • Documentation: Updated project metadata, Sphinx configuration, and quick-start.rst.
  • Dependencies: Updated requirements.txt for both core and documentation environments.