summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-28 07:28:44 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-28 07:28:44 +0100
commitda2a1e2e47bb278b6e83367b5d79c8981322a587 (patch)
treea69ae74c4c56e3e0e2c9d0639ebedf1e7d6038be
parentf39b08d51a50a545700eef56a0a5b3a33a568403 (diff)
Release v5.065.06
-rw-r--r--Changelog17
-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/Location.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/Product.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/Stop.pm4
-rw-r--r--lib/Travel/Status/DE/HAFAS/StopFinder.pm4
11 files changed, 30 insertions, 25 deletions
diff --git a/Changelog b/Changelog
index 618187e..70e0176 100644
--- a/Changelog
+++ b/Changelog
@@ -1,13 +1,18 @@
-git HEAD
+Travel::Status::DE::DeutscheBahn 5.06 - Thu Mar 28 2024
- * ÖBB backend: Remove redundant train numbers from $product->name
- * ÖBB backend: update productbits (thanks to Cassidy Dingenskirchen)
* Add Travel::Status::DE::HAFAS::Product module to handle line numbers,
operators, and similar. This enables proper support for journeys with
multiple operators and possibly multiple train/line numbers along the
- route.
- * Journey: Add ->product accessor
- * Stop: Add ->product accessor
+ route. It also exposes the line ID.
+ * Journey: Add product accessor
+ * Stop: Add prod_arr, prod_dep accessors
+ * hafas-m: Improve stop list display in journey mode
+ * Fix polyline and platform number support in ÖBB backend (and possibly
+ other non-DB backends)
+ * ÖBB backend: correctly handle polylines and platform numbers
+ * ÖBB backend: Remove redundant train numbers from $journey->name /
+ $journey->line / $product->name
+ * ÖBB backend: update productbits (thanks to Cassidy Dingenskirchen)
Travel::Status::DE::DeutscheBahn 5.05 - Wed Feb 21 2024
diff --git a/bin/hafas-m b/bin/hafas-m
index fa5c877..ac14110 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.014;
-our $VERSION = '5.05';
+our $VERSION = '5.06';
use utf8;
use DateTime;
@@ -641,7 +641,7 @@ B<hafas-m> [B<-s> I<service>] [B<-l> I<language>] B<!>I<query>|I<journeyID>
=head1 VERSION
-version 5.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index 8e2f2a1..98035af 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.05';
+our $VERSION = '5.06';
sub new {
my ( $class, %opt ) = @_;
@@ -49,7 +49,7 @@ monitor operated by Deutsche Bahn
=head1 VERSION
-version 5.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 50095b4..2794b19 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.05';
+our $VERSION = '5.06';
# {{{ Endpoint Definition
@@ -1025,7 +1025,7 @@ monitors
=head1 VERSION
-version 5.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm
index d999ca1..14530ed 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.05';
+our $VERSION = '5.06';
Travel::Status::DE::HAFAS::Journey->mk_ro_accessors(
qw(datetime sched_datetime rt_datetime
@@ -395,7 +395,7 @@ journey received by Travel::Status::DE::HAFAS
=head1 VERSION
-version 5.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Location.pm b/lib/Travel/Status/DE/HAFAS/Location.pm
index 5aa3701..ec22057 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.05';
+our $VERSION = '5.06';
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.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Message.pm b/lib/Travel/Status/DE/HAFAS/Message.pm
index 77feb52..546f932 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.05';
+our $VERSION = '5.06';
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.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Polyline.pm b/lib/Travel/Status/DE/HAFAS/Polyline.pm
index 8386d3f..032faae 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.05';
+our $VERSION = '5.06';
# 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 dd76281..53592c2 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.05';
+our $VERSION = '5.06';
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.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm
index 3b8391c..9cd957b 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.05';
+our $VERSION = '5.06';
Travel::Status::DE::HAFAS::Stop->mk_ro_accessors(
qw(loc
@@ -194,7 +194,7 @@ Travel::Status::DE::HAFAS::Stop - Information about a HAFAS stop.
=head1 VERSION
-version 5.05
+version 5.06
=head1 DESCRIPTION
diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm
index 7343991..bad7bef 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.05';
+our $VERSION = '5.06';
# {{{ Constructors
@@ -180,7 +180,7 @@ finder services
=head1 VERSION
-version 5.05
+version 5.06
=head1 DESCRIPTION