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
andtime
keys are no longer supported. Usedatetime
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. Setarrivals
to a true value to request arrivals instead of departures.Travel::Status::DE::HAFAS->new
: add optionalcache
key and support forjourney
requests with optionalwith_polyline
key.Travel::Status::DE::HAFAS
: addnew_p
constructor for async requests via Promises.Travel::Status::DE::HAFAS
: Addresult
andmessages
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
andline_no
are no longer supported. Introduces several new ones instead. - The module no longer depends on XML::LibXML
- New dependency: Digest::MD5