Repository navigation
RouteReality V1.3
[1.3.0] - 2026-02-21 – Stability & Cleanup Release
Added
- Three UI screenshots to README (start journey map, event reporting, active journey screen)
JourneyEventType.PENDINGto support clearer initial journey states- Structured logging throughout prediction and event handling
- Richer prediction payload:
source,recent_event_count,historical_count recent_tripslimit and counts in status endpoints
Changed
- Prediction interface: renamed
static_dt→reference_time, improved fallback safety - Centralized prediction refresh with new
update_predictionhelper - Tightened event state transitions and validation
- Adjusted
predicted_arrivalhandling onDELAYEDevents - Removed unnecessary
.isoformat()conversions in API responses - CIF timetable path now loaded from environment variable
- Consistent 3-tuple return from
get_closest_scheduled_time_to_now
Fixed
- Safe unpacking of timetable results with proper type hints
- Edge cases causing negative ETAs after live overrides
- Prediction failures now logged gracefully instead of crashing
- Resource validation (route/stops) with explicit 404/400 status codes
- Various minor bugs across services and API routes
- Type annotations and schema consistency
Improved
- Confidence scoring accuracy under low-data conditions
- Internal service boundaries for easier future maintenance
- Debuggability with better logging at key decision points
- Overall system stability and predictability
This release focuses purely on hardening the existing system. It lays solid groundwork for v2 features (authentication, real-time updates, richer modelling).