diff --git a/Changelog b/Changelog index a6549017b539f0d6cb7b9051dea89e8af3d5fcce..0a1c66ca65061b3f9b46a653816fe7353b361eb1 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,10 @@ +Travel::Status::DE::DeutscheBahn 5.05 - Wed Feb 21 2024 + + * ÖBB backend: handle midnight crossing and fix associated warnings + (patch by Cassidy Dingenskirchen) + * ÖBB backend: adjust request version to fix backend errors with certain + trains (patch by Cassidy Dingenskirchen) + Travel::Status::DE::DeutscheBahn 5.04 - Sat Dec 30 2023 * Journey: Add is_additional accessor diff --git a/bin/hafas-m b/bin/hafas-m index dd1c30d8bee94f0363edab53eb07958eae5c1964..5b839d60a1e227f0ef8f458ae45c1b5cce51243f 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -3,7 +3,7 @@ use strict; use warnings; use 5.014; -our $VERSION = '5.04'; +our $VERSION = '5.05'; use utf8; use DateTime; @@ -584,7 +584,7 @@ B<hafas-m> [B<-s> I<service>] [B<-l> I<language>] B<!>I<query>|I<journeyID> =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 5fcc53d618f0ab887a8b3cd69f05d6f1a88262e0..8e2f2a1d750571e7bd933258e9ebfc6641aa7489 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -6,7 +6,7 @@ use 5.014; use parent 'Travel::Status::DE::HAFAS'; -our $VERSION = '5.04'; +our $VERSION = '5.05'; sub new { my ( $class, %opt ) = @_; @@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index a8f1c1e2680129fbe160bd0d584cde7626548507..31e11e84c56644e7baf980eff2e1245f0d03794e 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -20,7 +20,7 @@ use Travel::Status::DE::HAFAS::Message; use Travel::Status::DE::HAFAS::Polyline qw(decode_polyline); use Travel::Status::DE::HAFAS::StopFinder; -our $VERSION = '5.04'; +our $VERSION = '5.05'; # {{{ Endpoint Definition @@ -968,7 +968,7 @@ monitors =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm index d088d90ba84270481c26fd6e3c91d40ab9dd8c04..77d57481e4f3ecd555f2bf97b82b91abce0306fa 100644 --- a/lib/Travel/Status/DE/HAFAS/Journey.pm +++ b/lib/Travel/Status/DE/HAFAS/Journey.pm @@ -11,7 +11,7 @@ use DateTime::Format::Strptime; use List::Util qw(any); use Travel::Status::DE::HAFAS::Stop; -our $VERSION = '5.04'; +our $VERSION = '5.05'; Travel::Status::DE::HAFAS::Journey->mk_ro_accessors( qw(datetime sched_datetime rt_datetime @@ -412,7 +412,7 @@ journey received by Travel::Status::DE::HAFAS =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Location.pm b/lib/Travel/Status/DE/HAFAS/Location.pm index c625b1cea9a8ab457913cddb9a83362481a9f9b2..5aa37014fa23b1fb8207f7ffb72a0a0278b1ba17 100644 --- a/lib/Travel/Status/DE/HAFAS/Location.pm +++ b/lib/Travel/Status/DE/HAFAS/Location.pm @@ -6,7 +6,7 @@ use 5.014; use parent 'Class::Accessor'; -our $VERSION = '5.04'; +our $VERSION = '5.05'; Travel::Status::DE::HAFAS::Location->mk_ro_accessors( qw(lid type name eva state lat lon distance_m weight)); @@ -57,7 +57,7 @@ Travel::Status::DE::HAFAS::Location - A single public transit location =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Message.pm b/lib/Travel/Status/DE/HAFAS/Message.pm index 2977a0fcf8aa6862c2a64583291da495462f8bb7..77feb52752b2baa4eb1f86e0916c94b742ded255 100644 --- a/lib/Travel/Status/DE/HAFAS/Message.pm +++ b/lib/Travel/Status/DE/HAFAS/Message.pm @@ -6,7 +6,7 @@ use 5.014; use parent 'Class::Accessor'; -our $VERSION = '5.04'; +our $VERSION = '5.05'; Travel::Status::DE::HAFAS::Message->mk_ro_accessors( qw(short type text code prio is_him ref_count)); @@ -69,7 +69,7 @@ Travel::Status::DE::HAFAS::Message - An arrival/departure-related message. =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Polyline.pm b/lib/Travel/Status/DE/HAFAS/Polyline.pm index 666da094b34782e52bfc178ae86eda3f6185ff95..8386d3f8effcf2d3f464c639af757df8fa11e439 100644 --- a/lib/Travel/Status/DE/HAFAS/Polyline.pm +++ b/lib/Travel/Status/DE/HAFAS/Polyline.pm @@ -16,7 +16,7 @@ use 5.014; use parent 'Exporter'; our @EXPORT_OK = qw(decode_polyline); -our $VERSION = '5.04'; +our $VERSION = '5.05'; # Translated this php script # <http://unitstep.net/blog/2008/08/02/decoding-google-maps-encoded-polylines-using-php/> diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm index ad74d94338c64e898832d45917ad9ec524be12b4..8c63a98414b1759ace35057dc4e08a57a458b720 100644 --- a/lib/Travel/Status/DE/HAFAS/Stop.pm +++ b/lib/Travel/Status/DE/HAFAS/Stop.pm @@ -8,7 +8,7 @@ use 5.014; use parent 'Class::Accessor'; -our $VERSION = '5.04'; +our $VERSION = '5.05'; Travel::Status::DE::HAFAS::Stop->mk_ro_accessors( qw(loc @@ -186,7 +186,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop. =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm index d739bd992721a1c66198413e7bf6464bf7528169..73439914433875f23894c431cfdff8e1ff6cc48c 100644 --- a/lib/Travel/Status/DE/HAFAS/StopFinder.pm +++ b/lib/Travel/Status/DE/HAFAS/StopFinder.pm @@ -10,7 +10,7 @@ use Encode qw(decode); use JSON; use LWP::UserAgent; -our $VERSION = '5.04'; +our $VERSION = '5.05'; # {{{ Constructors @@ -180,7 +180,7 @@ finder services =head1 VERSION -version 5.04 +version 5.05 =head1 DESCRIPTION