~derf / projects / Travel-Status-DE-DeutscheBahn / release / Travel::Status::DE::DeutscheBahn v4.00
dark mode

Travel-Status-DE-DeutscheBahn-4.00.tar.gz (signature)

  • Use mgate.exe HAFAS interface instead of stboard.exe/bhftafel.exe. This introduces several breaking changes in hafas-m, Travel::Status::DE::HAFAS, and Travel::StatuS::DE::HAFAS::Result.
  • hafas-m: Options -l/--lang, -L/--ignore-late, and -u/--url are no longer supported
  • hafas-m now supports journey details by specifying a journey ID instead of a station name.
  • Travel::Status::DE::HAFAS->new: date and time keys are no longer supported. Use datetime instead.
  • Travel::Status::DE::HAFAS->new: lang key is no longer supported.
  • Travel::Status::DE::HAFAS->new: url key is no longer supported.
  • Travel::Status::DE::HAFAS->new: mode key is no longer supported. Set arrivals to a true value to request arrivals instead of departures.
  • Travel::Status::DE::HAFAS->new: add optional cache key and support for journey requests with optional with_polyline key.
  • Travel::Status::DE::HAFAS: add new_p constructor for async requests via Promises.
  • Travel::Status::DE::HAFAS: Add result and messages accessors.
  • Rename Travel::Status::DE::HAFAS::Result to ...::Journey. The accessors sched_date, date, info, countdown, countdown_sec, raw_e_delay, raw_delay, sched_time, time, train, train_no and line_no are no longer supported. Introduces several new ones instead.
  • The module no longer depends on XML::LibXML
  • New dependency: Digest::MD5