summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-11-20 19:45:39 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-11-20 19:45:39 +0100
commit380e7e53f703cb360f6bc2af7a706142de8cacb2 (patch)
treedaad90c67161e4ea372d2038b42205339098328b
parentff0e54c30add2246e5cf7c80ebcb476be9bef3ca (diff)
Release v0.09HEAD0.09main
-rw-r--r--Changelog4
-rwxr-xr-xbin/hafas6
-rw-r--r--lib/Travel/Routing/DE/HAFAS.pm4
-rw-r--r--lib/Travel/Routing/DE/HAFAS/Connection.pm4
-rw-r--r--lib/Travel/Routing/DE/HAFAS/Connection/Section.pm4
-rw-r--r--lib/Travel/Routing/DE/HAFAS/Utils.pm4
6 files changed, 15 insertions, 11 deletions
diff --git a/Changelog b/Changelog
index 13de410..fb8bdf1 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+Travel::Routing::DE::HAFAS 0.09 - Wed Nov 20 2024
+
+ * Improve handling of backend messages and errors
+
Travel::Routing::DE::HAFAS 0.08 - Tue Jun 11 2024
* Adjust walking connection segment handling for DB HAFAS update on
diff --git a/bin/hafas b/bin/hafas
index 5c57d3e..4b4f523 100755
--- a/bin/hafas
+++ b/bin/hafas
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
use utf8;
use DateTime;
@@ -291,7 +291,7 @@ sub show_message {
}
if ( my $err = $hafas->errstr ) {
- say STDERR "Request error: ${err}";
+ say STDERR "Backend error: ${err}";
if ( $hafas->errcode ) {
if ( $hafas->errcode eq 'H730' or $hafas->errcode eq 'LOCATION' ) {
show_similar_stops();
@@ -498,7 +498,7 @@ B<hafas> [B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>]
=head1 VERSION
-version 0.08
+version 0.09
=head1 DESCRIPTION
diff --git a/lib/Travel/Routing/DE/HAFAS.pm b/lib/Travel/Routing/DE/HAFAS.pm
index 62ec34c..1498c48 100644
--- a/lib/Travel/Routing/DE/HAFAS.pm
+++ b/lib/Travel/Routing/DE/HAFAS.pm
@@ -19,7 +19,7 @@ use Travel::Status::DE::HAFAS;
use Travel::Status::DE::HAFAS::Location;
use Travel::Status::DE::HAFAS::Message;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
# {{{ Endpoint Definition
@@ -553,7 +553,7 @@ Travel::Routing::DE::HAFAS - Interface to HAFAS itinerary services
=head1 VERSION
-version 0.08
+version 0.09
=head1 DESCRIPTION
diff --git a/lib/Travel/Routing/DE/HAFAS/Connection.pm b/lib/Travel/Routing/DE/HAFAS/Connection.pm
index a51389f..da30bc0 100644
--- a/lib/Travel/Routing/DE/HAFAS/Connection.pm
+++ b/lib/Travel/Routing/DE/HAFAS/Connection.pm
@@ -11,7 +11,7 @@ use DateTime::Duration;
use Travel::Routing::DE::HAFAS::Utils;
use Travel::Routing::DE::HAFAS::Connection::Section;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
Travel::Routing::DE::HAFAS::Connection->mk_ro_accessors(
qw(changes duration sched_dep rt_dep sched_arr rt_arr dep arr dep_platform arr_platform dep_loc arr_loc dep_cancelled arr_cancelled is_cancelled load)
@@ -213,7 +213,7 @@ Travel::Routing::DE::HAFAS::Connection - A single connection between two stops
=head1 VERSION
-version 0.08
+version 0.09
=head1 DESCRIPTION
diff --git a/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm b/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm
index b57a391..dcf6227 100644
--- a/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm
+++ b/lib/Travel/Routing/DE/HAFAS/Connection/Section.pm
@@ -11,7 +11,7 @@ use DateTime::Duration;
use Travel::Routing::DE::HAFAS::Utils;
use Travel::Status::DE::HAFAS::Journey;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
Travel::Routing::DE::HAFAS::Connection::Section->mk_ro_accessors(
qw(type schep_dep rt_dep sched_arr rt_arr dep arr arr_delay dep_delay journey distance duration transfer_duration dep_loc arr_loc
@@ -212,7 +212,7 @@ Travel::Routing::DE::HAFAS::Connection::Section - A single trip between two stop
=head1 VERSION
-version 0.08
+version 0.09
=head1 DESCRIPTION
diff --git a/lib/Travel/Routing/DE/HAFAS/Utils.pm b/lib/Travel/Routing/DE/HAFAS/Utils.pm
index 3c7f8c0..3a49836 100644
--- a/lib/Travel/Routing/DE/HAFAS/Utils.pm
+++ b/lib/Travel/Routing/DE/HAFAS/Utils.pm
@@ -9,7 +9,7 @@ use 5.014;
use parent 'Exporter';
our @EXPORT = qw(handle_day_change);
-our $VERSION = '0.08';
+our $VERSION = '0.09';
sub handle_day_change {
my (%opt) = @_;
@@ -55,7 +55,7 @@ None.
=head1 VERSION
-version 0.08
+version 0.09
=head1 METHODS