v0.1.12: Trip blockId, schedule derivation, and routeShortName fixes
Trip blockId, schedule derivation, and routeShortName fixes
Three data-mapping bugs found black-box testing the hosted instance: a dropped output field, an empty schedule result, and a recurring empty-string fallback bug.
Added:
get_tripoutput gains a nullableblockId, resolved fromtripRef.blockId— previously unobtainable, leavingonebusaway_get_blockunreachable (#15)
Fixed:
get_triprouteShortNameno longer returns""— newfirstNonEmpty()helper skips empty strings the way??skips null/undefined (#15)get_schedule_for_routeno longer returns zero trips for an operating route — derives trips fromstopTripGroupingswhenentry.tripsis empty (#20)firstNonEmpty()applied to four more call sites:normalizeRoute,getArrivals,getVehicles,getScheduleForStop(#23)
272 tests pass; bun run devcheck clean.