summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-29 16:06:22 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-29 16:06:22 +0100
commitf3ae1251450e6d27c4d38246923c72684a2767b2 (patch)
treef3bd55fb5eef6dc45865a6bcb2fda8a29978a751
parentd80d4c8c61522ddf5236bf1381197984722e15e3 (diff)
Release v4.184.18
-rw-r--r--Changelog7
-rwxr-xr-xbin/hafas-m4
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/Journey.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/Message.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/Polyline.pm2
-rw-r--r--lib/Travel/Status/DE/HAFAS/Stop.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/StopFinder.pm4
9 files changed, 22 insertions, 15 deletions
diff --git a/Changelog b/Changelog
index 880f35e..e4c6c4b 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,10 @@
+Travel::Status::DE::DeutscheBahn 4.18 - Sun Oct 29 2023
+
+ * Allow HAFAS and hafas-m users to specify the backend language
+ * Update services list to include known language specifiers
+ * hafas-m: Add -l / --language option
+ * HAFAS->new, ->new_p: Add language option
+
Travel::Status::DE::DeutscheBahn 4.17 - Sun Sep 03 2023
* Journey: handle empty / undefined nameS fields
diff --git a/bin/hafas-m b/bin/hafas-m
index ceac8cc..f3fbc39 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;
-our $VERSION = '4.17';
+our $VERSION = '4.18';
use utf8;
use DateTime;
@@ -383,7 +383,7 @@ B<hafas-m> [B<-s> I<service>] [B<-l> I<language>] I<journeyID>
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index c272ffd..53fff78 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 = '4.17';
+our $VERSION = '4.18';
sub new {
my ( $class, %opt ) = @_;
@@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index c31dcff..2e7a652 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -22,7 +22,7 @@ use Travel::Status::DE::HAFAS::Journey;
use Travel::Status::DE::HAFAS::StopFinder;
use Travel::Status::DE::HAFAS::Stop;
-our $VERSION = '4.17';
+our $VERSION = '4.18';
# {{{ Endpoint Definition
@@ -911,7 +911,7 @@ monitors
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index 964df9b..a2048b1 100644
--- a/lib/Travel/Status/DE/HAFAS/Journey.pm
+++ b/lib/Travel/Status/DE/HAFAS/Journey.pm
@@ -13,7 +13,7 @@ use DateTime::Format::Strptime;
use List::Util qw(any);
use Travel::Status::DE::HAFAS::Stop;
-our $VERSION = '4.17';
+our $VERSION = '4.18';
Travel::Status::DE::HAFAS::Journey->mk_ro_accessors(
qw(datetime sched_datetime rt_datetime
@@ -477,7 +477,7 @@ journey received by Travel::Status::DE::HAFAS
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Message.pm b/lib/Travel/Status/DE/HAFAS/Message.pm
index 877587a..72d8e77 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 = '4.17';
+our $VERSION = '4.18';
Travel::Status::DE::HAFAS::Message->mk_ro_accessors(
qw(short text code prio is_him ref_count));
@@ -45,7 +45,7 @@ Travel::Status::DE::HAFAS::Message - An arrival/departure-related message.
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Polyline.pm b/lib/Travel/Status/DE/HAFAS/Polyline.pm
index ba8cf48..ad84f5c 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 = '4.17';
+our $VERSION = '4.18';
# 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 0c07be3..408da6e 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 = '4.17';
+our $VERSION = '4.18';
Travel::Status::DE::HAFAS::Stop->mk_ro_accessors(
qw(eva name lat lon distance_m weight));
@@ -76,7 +76,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop.
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm
index baebbec..4ca8348 100644
--- a/lib/Travel/Status/DE/HAFAS/StopFinder.pm
+++ b/lib/Travel/Status/DE/HAFAS/StopFinder.pm
@@ -12,7 +12,7 @@ use Encode qw(decode);
use JSON;
use LWP::UserAgent;
-our $VERSION = '4.17';
+our $VERSION = '4.18';
# {{{ Constructors
@@ -182,7 +182,7 @@ finder services
=head1 VERSION
-version 4.17
+version 4.18
=head1 DESCRIPTION