diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-11 08:55:45 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-11 08:55:45 +0100 |
commit | 55f60820a1fcfd68689e037b5d1278ef27ec2285 (patch) | |
tree | 1787a63839d15ab66c615bcc5f051146ed4c8ade | |
parent | c465c0f51f81f487a6d6de853446a49e42d1eef9 (diff) |
Release v6.16
-rw-r--r-- | Changelog | 11 | ||||
-rwxr-xr-x | bin/hafas-m | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Journey.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Location.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Message.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Polyline.pm | 2 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Product.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Services.pm.PL | 2 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Stop.pm | 4 | ||||
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/StopFinder.pm | 4 |
11 files changed, 29 insertions, 18 deletions
@@ -1,3 +1,14 @@ +Travel::Status::DE::HAFAS 6.16 - Mon Jan 13 2024 + + * The DB HAFAS backend has been discontinued. + Travel::Status::DE::DeutscheBahn is no longer part of this + distribution; it is now called Travel::Status::DE::HAFAS. + * hafas-m: Use VRN service by default. Its coverage appears to closely + match the discontinued DB service. + * HAFAS->new, HAFAS->new_p: Do not use the (discontinued) DB service by + default, and do not replace it with a new default. The "service" + option is now mandatory. + Travel::Status::DE::DeutscheBahn 6.15 - Sat Dec 21 2024 * HAFAS: add SaarVV service definition diff --git a/bin/hafas-m b/bin/hafas-m index 5ee4ccf..244d8b1 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -3,7 +3,7 @@ use strict; use warnings; use 5.014; -our $VERSION = '6.15'; +our $VERSION = '6.16'; use utf8; use DateTime; @@ -721,7 +721,7 @@ B<hafas-m> [B<-s> I<service>] [B<-l> I<language>] B<!>I<query>|I<journeyID> =head1 VERSION -version 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index c2f05e5..2f49337 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -22,7 +22,7 @@ use Travel::Status::DE::HAFAS::Product; use Travel::Status::DE::HAFAS::Services; use Travel::Status::DE::HAFAS::StopFinder; -our $VERSION = '6.15'; +our $VERSION = '6.16'; # {{{ Endpoint Definition @@ -881,7 +881,7 @@ monitors =head1 VERSION -version 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm index 0f950e3..d763a67 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 uniq); use Travel::Status::DE::HAFAS::Stop; -our $VERSION = '6.15'; +our $VERSION = '6.16'; Travel::Status::DE::HAFAS::Journey->mk_ro_accessors( qw(datetime sched_datetime rt_datetime tz_offset @@ -437,7 +437,7 @@ journey received by Travel::Status::DE::HAFAS =head1 VERSION -version 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Location.pm b/lib/Travel/Status/DE/HAFAS/Location.pm index 57cc392..baf9ce8 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 = '6.15'; +our $VERSION = '6.16'; 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 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Message.pm b/lib/Travel/Status/DE/HAFAS/Message.pm index 0edc4df..b915858 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 = '6.15'; +our $VERSION = '6.16'; 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 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Polyline.pm b/lib/Travel/Status/DE/HAFAS/Polyline.pm index 25708db..b22d759 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 = '6.15'; +our $VERSION = '6.16'; # 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/Product.pm b/lib/Travel/Status/DE/HAFAS/Product.pm index 565836c..12141d5 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 = '6.15'; +our $VERSION = '6.16'; 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 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/Services.pm.PL b/lib/Travel/Status/DE/HAFAS/Services.pm.PL index 411f076..af829aa 100644 --- a/lib/Travel/Status/DE/HAFAS/Services.pm.PL +++ b/lib/Travel/Status/DE/HAFAS/Services.pm.PL @@ -235,7 +235,7 @@ use warnings; use 5.014; use utf8; -our $VERSION = '6.15'; +our $VERSION = '6.16'; # Most of these have been adapted from # <https://github.com/public-transport/transport-apis> and diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm index beeca44..860d1c3 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 = '6.15'; +our $VERSION = '6.16'; Travel::Status::DE::HAFAS::Stop->mk_ro_accessors( qw(loc @@ -227,7 +227,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop. =head1 VERSION -version 6.15 +version 6.16 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm index 79ef670..3874dc9 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 = '6.15'; +our $VERSION = '6.16'; # {{{ Constructors @@ -180,7 +180,7 @@ finder services =head1 VERSION -version 6.15 +version 6.16 =head1 DESCRIPTION |