diff --git a/Changelog b/Changelog index 70e017614784721aea403d20af66a9ec02837912..094bc0e57c59b793d874f8f1364b68860e6a91f6 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,16 @@ +Travel::Status::DE::DeutscheBahn 6.00 - Tue Apr 02 2024 + + * Add AVV (Aachener Verkehrsverbund), BART (Bay Area Rapid Transit), and IE + (Iarnród Éireann / Irish Rail) backends + * Support backend-specific time zones; add time_zone to service description + * Handle cross-timezone journeys and stops whose time zone differs from + the backend's default time zone. As of this release, all input and output + datetimes refer to the backend's default time zone rather than local + time (Stop and Journey accessors) / whatever (hafas-m and HAFAS + arguments). Use the new tz_offset accessor to determine local time. + This is a breaking change. + * Journey, Stop: Add tz_offset accessor + Travel::Status::DE::DeutscheBahn 5.06 - Thu Mar 28 2024 * Add Travel::Status::DE::HAFAS::Product module to handle line numbers, diff --git a/bin/hafas-m b/bin/hafas-m index 24005e818f078b4621e7d10b61b3e40806d80eec..4676c490738eb2a6ee94149e596adbdc141f7969 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -3,7 +3,7 @@ use strict; use warnings; use 5.014; -our $VERSION = '5.06'; +our $VERSION = '6.00'; use utf8; use DateTime; @@ -683,7 +683,7 @@ B [B<-s> I] [B<-l> I] BI|I =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 98035af6d64f15cfc1c88763e0ab7f93bd843106..4fc680e353512564858102bdda8d814e7bd9d243 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.06'; +our $VERSION = '6.00'; sub new { my ( $class, %opt ) = @_; @@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 40351fe4462b94d83fc2b01d315dcf268b80479b..c331df988cd6c998f49a99257b1f55b646060474 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -21,7 +21,7 @@ use Travel::Status::DE::HAFAS::Polyline qw(decode_polyline); use Travel::Status::DE::HAFAS::Product; use Travel::Status::DE::HAFAS::StopFinder; -our $VERSION = '5.06'; +our $VERSION = '6.00'; # {{{ Endpoint Definition @@ -1140,7 +1140,7 @@ monitors =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm index 90708dc6ec43e58e7066f49950b2f0812072746a..afdea48eeee339c6886d919d996ce276020f569e 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.06'; +our $VERSION = '6.00'; Travel::Status::DE::HAFAS::Journey->mk_ro_accessors( qw(datetime sched_datetime rt_datetime tz_offset @@ -402,7 +402,7 @@ journey received by Travel::Status::DE::HAFAS =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Location.pm b/lib/Travel/Status/DE/HAFAS/Location.pm index ec220579baec2574f2e9166ff18088e1de497ce0..c86bfcff14245bc4f9f3f0a6830b8389ca39cb1e 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.06'; +our $VERSION = '6.00'; 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.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Message.pm b/lib/Travel/Status/DE/HAFAS/Message.pm index 546f932726d76338936552a8cb99f52496b4f448..51f9ff30801b5488dcafc897ffbca5e45e8863b6 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.06'; +our $VERSION = '6.00'; 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.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Polyline.pm b/lib/Travel/Status/DE/HAFAS/Polyline.pm index 032faaee511b4f397fb98e15db8fd9ad845d0703..cf62c3671ede794f78fc40ac9b868184e91d5a3b 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.06'; +our $VERSION = '6.00'; # Translated this php script # diff --git a/lib/Travel/Status/DE/HAFAS/Product.pm b/lib/Travel/Status/DE/HAFAS/Product.pm index 53592c20fde26586a6a8e8a646631fef670319df..bd002459978d8e1870f8a63d981ef825c21f8a17 100644 --- a/lib/Travel/Status/DE/HAFAS/Product.pm +++ b/lib/Travel/Status/DE/HAFAS/Product.pm @@ -8,7 +8,7 @@ use 5.014; use parent 'Class::Accessor'; -our $VERSION = '5.06'; +our $VERSION = '6.00'; Travel::Status::DE::HAFAS::Product->mk_ro_accessors( qw(class line_id line_no name number type type_long operator)); @@ -105,7 +105,7 @@ associated with a journey. =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm index 0b4a2f36904882b4d4f8d3f148ac69210f1670c2..a5d2bf52ab05d519a9282bfc09a0a9321310a996 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.06'; +our $VERSION = '6.00'; Travel::Status::DE::HAFAS::Stop->mk_ro_accessors( qw(loc @@ -218,7 +218,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop. =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm index bad7bef73ead401e72fc0d8f93253b233c6b6bd5..bf75a92005cf834597f2c8b3b55ab3bfdf841478 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.06'; +our $VERSION = '6.00'; # {{{ Constructors @@ -180,7 +180,7 @@ finder services =head1 VERSION -version 5.06 +version 6.00 =head1 DESCRIPTION