Version 2027.1.1
Release Notes
Version 2027.1.1 (Launched on 12/07/2026 for all modes).
This release brings a few minor performance improvements to realtime-trains-py.
Check out the source code for this release.
Code Changes:
-
New features
- Implemented
requestssessions for theget_livemethod
- Implemented
-
Code Enhancements
- Added a TIPLOC validator
- Updated the time validator
- Times can now be provided with colons ("16:55" and "1655" are now both valid)
-
Error Handling
- Added an
InvalidTIPLOCProvidederror - Updated the
InvalidTimeProvidederror
- Added an
-
Performance Improvements
- Implemented
requestssessions for theget_livemethod
- Implemented
-
Refactoring
- Condensed some code that was being passed over multiple times
- Condensed some smaller if statements into one line
- Minor code + formatting updates
- Minor display updates to
get_live - Renamed some variables for better readability
- Simplified internal code by eliminating unnecessary temporary variables
- Some minor readability changes
- Updated comments
- Updated validation for service UIDs to allow freight UIDs
- Updated variable names
Wiki Changes:
- Added a roadmap page
- Added links to the footer
- Updated documentation across the whole wiki
- Updated links in Release Notes
- Updated older documentation containing the wrong information
Other Changes:
- Added issue templates
- Updated example code
- Updated example data files
Bugs
Fixes:
- Fixed a bug causing CRS codes to be validated incorrectly
- Fixed a bug causing services with stops to pick up passengers only to raise errors
- Fixed a bug causing services with stops to set down passengers only to raise errors
Awaiting Allocation:
- None
What's Changed
Full Changelog: v2027.1.0...v2027.1.1