summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-02-05 10:11:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-02-05 10:11:20 +0100
commit78e08b0475fb36f347a9ffdd645b6d0c4b16b0c5 (patch)
tree9f265ddf52425518c2aefe8e5ca6d8624a31bc1a
parent9c7bc5ee02c49df97ed164e1f267624680bdf4a1 (diff)
Release v4.074.07
-rw-r--r--Changelog8
-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/StopFinder.pm4
8 files changed, 21 insertions, 13 deletions
diff --git a/Changelog b/Changelog
index 594a81b..f13f220 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,11 @@
+Travel::Status::DE::DeutscheBahn 4.07 - Sun Feb 05 2023
+
+ * hafas-m: Fix uninitialized value warnings in "--list" output
+ * Improve support for non-DB HAFAS instances
+ * Fix day change handling in departure board mode.
+ Previously, journeys arriving / departing after midnight had wrong
+ timestamps in some cases.
+
Travel::Status::DE::DeutscheBahn 4.06 - Sat Feb 04 2023
* HAFAS->station: rename "uic" to "eva"; add "names" and "evas" keys
diff --git a/bin/hafas-m b/bin/hafas-m
index 2fcdcc7..fb112d9 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;
-our $VERSION = '4.06';
+our $VERSION = '4.07';
use utf8;
use DateTime;
@@ -333,7 +333,7 @@ B<hafas-m> [B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>]
=head1 VERSION
-version 4.06
+version 4.07
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index e6ce410..4cb0d96 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.06';
+our $VERSION = '4.07';
sub new {
my ( $class, %opt ) = @_;
@@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn
=head1 VERSION
-version 4.06
+version 4.07
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index e69d266..6b04c9a 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::Journey;
use Travel::Status::DE::HAFAS::StopFinder;
-our $VERSION = '4.06';
+our $VERSION = '4.07';
# {{{ Endpoint Definition
@@ -796,7 +796,7 @@ monitors
=head1 VERSION
-version 4.06
+version 4.07
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index c4320ba..e472c06 100644
--- a/lib/Travel/Status/DE/HAFAS/Journey.pm
+++ b/lib/Travel/Status/DE/HAFAS/Journey.pm
@@ -10,7 +10,7 @@ no if $] >= 5.018, warnings => 'experimental::smartmatch';
use parent 'Class::Accessor';
-our $VERSION = '4.06';
+our $VERSION = '4.07';
Travel::Status::DE::HAFAS::Journey->mk_ro_accessors(
qw(datetime sched_datetime rt_datetime
@@ -444,7 +444,7 @@ journey received by Travel::Status::DE::HAFAS
=head1 VERSION
-version 4.06
+version 4.07
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Message.pm b/lib/Travel/Status/DE/HAFAS/Message.pm
index 24acf43..5549917 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.06';
+our $VERSION = '4.07';
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.06
+version 4.07
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Polyline.pm b/lib/Travel/Status/DE/HAFAS/Polyline.pm
index 5380a6f..c00d905 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.06';
+our $VERSION = '4.07';
# 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/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm
index 4bc4cb2..9244f04 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.06';
+our $VERSION = '4.07';
# {{{ Constructors
@@ -182,7 +182,7 @@ finder services
=head1 VERSION
-version 4.06
+version 4.07
=head1 DESCRIPTION