Skip to content

πŸš€ PyRail v0.3.0 – Enhanced Model Support and Testing Improvements

Latest
Compare
Choose a tag to compare
@tjorim tjorim released this 19 Jan 10:38
· 1 commit to main since this release
8ae3b05

✨ Key Updates

  • 🌐 Support for External aiohttp Session: Added support for using an external aiohttp session to improve flexibility in HTTP requests. (#41 by @tjorim)
  • πŸ› οΈ Improved Boolean Handling: Utilized previously implemented boolean handling in data models. (#39 by @silamon and @tjorim)
  • πŸ“… Timestamp Handling Improvements:
    • Renamed timestamp_to_datetime to _timestamp_to_datetime to indicate it is a private function for internal use.
    • Added tests for timestamp and boolean field deserialization in models.
    • Skipped timestamp tests due to timezone discrepancies and cleaned up test functions.
  • πŸš‰ Liveboard Model Update: Enhanced the liveboard to support arrivals instead of the default departures, with the introduction of LiveboardArrival and LiveboardArrivals models.
  • πŸ”” Alert Model Updates:
    • Added a description field to the Alert model.
    • Made the existing link in the Alert model optional, allowing for cases where it may not be present. (#38 by @silamon and @CodeRabbit)

🌟 Contributors

  • πŸŽ‰ Thanks to @silamon and @tjorim for their contributions to this release!

πŸ”— Full Changelog: Compare v0.2.5...v0.3.0