git HEAD * Drop XML::LibXML dependency * New dependencies: DateTime::Format::Strptime, JSON * Switch API language from XML to JSON * Rename Travel::Status::DE::EFA::Result to Travel::Status::DE::EFA::Departure * EFA: Remove "identified_data" accessor (not supported by JSON backends) * Result/Departure: Remove "info" accessor * Result/Departure: add "hints" accessor * Line: Add "number" accessor Travel::Status::DE::VRR 2.02 - Sun May 19 2024 * EFA->new: Deprecate "efa_url" option. Use "service" instead. "efa_url" is still supported, just not documented anymore. * EFA->new: Request departures in Europe/Berlin by default rather than using the system time zone. Fixes EFA operation on machines using UTC. * efa-m: Support "FULL" occupancy; change indicators from _ * ! to . o * ! Travel::Status::DE::VRR 2.01 - Fri May 17 2024 * efa-m: Deprecate --efa-url in favour of --service. It is still supported, just not documented anymore. * EFA: Add new_p constructor for asynchronous operation with promises * EFA: Add static get_service function Travel::Status::DE::VRR 2.00 - Sun Dec 03 2023 * New dependency: DateTime * Result: Add datetime, sched_datetime, rt_datetime accessors. * Result: Remove date, time, sched_date, sched_time accessors. Use datetime->strftime('%H:%M') etc. instead. (BREAKING CHANGE) * Stop: Add arr, dep accessors. * Stop: Remove arr_date, arr_time, dep_date, dep_time accessors. Use arr->strftime('%d.%m.%Y') etc. instead. (BREAKING CHANGE) * efa-m: Remove --track-via option, its behaviour is now included in --via (BREAKING CHANGE) Travel::Status::DE::VRR 1.24 - Sat Dec 02 2023 * EFA: Fix full_route creating route elements with invalid data * efa-m: Fix -v / -V (as a consequence of the fix above) Travel::Status::DE::VRR 1.23 - Fri Nov 24 2023 * efa-m: Do not show free-text messages by default. Use the newly introduced -Om option to show them * efa-m: Show real-time departure rather than scheduled time + delay * Result: Add train_type and train_name accessors Travel::Status::DE::VRR 1.22 - Sat Sep 02 2023 * Do not use now-deprecated smartmatch features Travel::Status::DE::VRR 1.21 - Sat Jul 22 2023 * Add service VRR3 * Update service URLs for VVO, VRN * Remove discontinued services SVV, TLEM, VBL, Verbundlinie, VOR Travel::Status::DE::VRR 1.20 - Sun Mar 28 2021 * efa-m, EFA: Accept "stopID" stop type * EFA: Add proximity_search (useProxFootSearch) option Travel::Status::DE::VRR 1.19 - Sat Mar 27 2021 * Result: Add ->train_no accessor Travel::Status::DE::VRR 1.18 - Thu Mar 25 2021 * EFA: "place" is now optional * Result: Add ->occupancy accessor * efa-m: The "place" argument is now optional * efa-m: Show expected vehicle occupancy, if available Travel::Status::DE::VRR 1.17 - Sat May 02 2020 * Add MVV (Münchner Verkehrs- und Tarifverbund) and VAG (Freiburger Verkehrs AG) services * Fix encoding when using VOR or LinzAG services Travel::Status::DE::VRR 1.16 - Fri May 01 2020 * Use HTTPS for DING, VOR, LinzAG, VGN, VRR, VRR2, VVS, NVBW, KVV and BSVG services * Update VGN, VVO, VMV and KVV service URLs * Remove IVB, VVV and VRNdelfi services * Re-add Verbundlinie service Travel::Status::DE::VRR 1.15 - Wed Jul 05 2017 * Fix encoding issues caused by recent API changes Travel::Status::DE::VRR 1.14 - Sat Oct 08 2016 * efa-m: Fix broken encoding in --list output Travel::Status::DE::VRR 1.13 - Sun Mar 06 2016 * EFA: Add accessors name_candidates and place_candidates * EFA: errstr: in cases of ambiguous input, the name/place candidates list is no longer encoded in the errstr accessor. Use the new name_candidates / place_candidates accessors instead. Travel::Status::DE::VRR 1.12 - Tue Aug 04 2015 * EFA: Add static method get_efa_urls * Line: Add mot and mot_name accessors * Result: Add mot and mot_name accessors * efa-m: Add -A / --auto-url / --discover-and-print option * efa-m: Add -D / --discover option * efa-m: Add --list option * efa-m: Add -m / --mot option * efa-m: Add -s / --service option Travel::Status::DE::VRR 1.11 - Tue Jun 30 2015 * efa-m: Remove -V alias for --version * efa-m: Add -V / --track-via option * efa-m: Add -O / --output option with outputtypes route_after, route_before, fullroute and route * efa-m: Always output schedule data when absolute times are requested. As before, delays are indicated by a +xyz mark next to the time Travel::Status::DE::VRR 1.10 - Thu Jun 25 2015 * Result->delay: return undef when no data is available. This allows to distinguish between on-time departures (delay 0) and departures without realtime data (delay undef) * EFA->new: Add full_routes config option * EFA: Add identified_data accessor * Result: Add route_pre, route_post and route_interesting accessors * Add Travel::Status::DE::EFA::Stop module * efa-m: Add -v / --via option Travel::Status::DE::VRR 1.09 - Thu Apr 30 2015 * EFA: Fix crash when ->results is called after a network error occured * EFA: Add timeout parameter to constructor (default: 10 seconds) * efa-m: Add --timeeout option Travel::Status::DE::VRR 1.08 - Mon Mar 03 2014 * efa-m: Add -o, --offset option * Fix ->platform and ->platform_db accessors (the EFA API was changed) Travel::Status::DE::VRR 1.07 - Tue Jan 07 2014 * efa-m: Add previously undocumented -L option to manual * efa-m: Handle UTF8 in place/stop input * Travel::Status::DE::EFA: Handle decoded input with non-ASCII characters Travel::Status::DE::VRR 1.06 - Thu Jan 02 2014 * Add Travel::Status::DE::EFA module, move ::Result and ::Line to Travel::Status::DE::EFA. Travel::Status::DE::VRR now inherits from ::EFA, no API changes were made. * Travel::Status::DE::EFA has a mandatory efa_url parameter to set the entry point to an EFA service Travel::Status::DE::VRR 1.05 - Wed Dec 18 2013 * Add -r, --relative option to use relative times * Support lines without Operator field (e.g. Aachen / ASEAG) Travel::Status::DE::VRR 1.04 - Wed Oct 16 2013 * Add ->key accessor to Travel::Status::DE::VRR::Line (meaning is unknown) * Add ->is_cancelled accessor to Travel::Status::DE::VRR::Result * Travel::Status::DE::VRR::Result->delay will no longer return '-9999' for cancelled departures, check ->is_cancelled instead * Allow Travel::Status::DE::VRR::Line and Travel::Status::DE::VRR::Result to be serialized to JSON (via TO_JSON method) Travel::Status::DE::VRR 1.03 - Tue Sep 17 2013 * Disable smartmatch warnings on perl >= 5.018 Travel::Status::DE::VRR 1.02 - Wed Apr 10 2013 * Patch by Roland Hieber: respect proxy environment variables Travel::Status::DE::VRR 1.01 - Mon Nov 26 2012 * Properly parse "tram canceled" information (EVAG, maybe also VRR) Travel::Status::DE::VRR 1.00 - Sat Dec 03 2011 * switch to efa.vrr.de XML interface * properly decode UTF-8 strings * Switch from WWW::Mechanize to LWP::UserAgent * Add ->lines and Travel::Status::DE::VRR::Line describing all lines serving the given stop [Travel::Status::DE::VRR::Result] * Add countdown, date, delay, lineref, platform_db, sched_date, sched_time and type accessors [efa-m] * Add -L / --linelist option Travel::Status::DE::VRR 0.02 - Sat Oct 01 2011 [efa-m] * Add --platform / --line options to filter output * Align times properly if departure list contains a daychange * Make --date and --time actually work Travel::Status::DE::VRR 0.01 - Sun Sep 11 2011 * Initial release