summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog10
-rwxr-xr-xbin/db-wagenreihung4
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung.pm4
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Carriage.pm2
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Group.pm2
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Sector.pm2
6 files changed, 17 insertions, 7 deletions
diff --git a/Changelog b/Changelog
index 479004e..0979ade 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,13 @@
+Travel::Status::DE::DBWagenreihung 0.15 - Tue Jul 30 2024
+
+ * Switch to new bahn.de API; the one used until 0.14 has been discontinued
+ * DBWagenreihung->new: new constructor signature; now requires "departure",
+ "eva", "train_type" and "train_number".
+ * DBWagenreihung: Remove "wagons" accessor
+ * DBWagenreihung: Rename "sections" to "sectors"
+ * DBWagenreihung: Remove "train_nos" accessor
+ * DBWagenreihung: Remove "origins" accessor
+
Travel::Status::DE::DBWagenreihung 0.14 - Sun Apr 28 2024
* This module now explicitly treats carriages as groups, just like the
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung
index 1dd7e1a..a8a8ec7 100755
--- a/bin/db-wagenreihung
+++ b/bin/db-wagenreihung
@@ -4,7 +4,7 @@ use warnings;
use 5.020;
use utf8;
-our $VERSION = '0.14';
+our $VERSION = '0.15';
use Getopt::Long;
use List::Util qw(min);
@@ -188,7 +188,7 @@ B<db-wagenreihung> I<station> I<train-number>
=head1 VERSION
-version 0.14
+version 0.15
This is beta software: API and output format may change without notice.
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm
index 1c71402..42030dd 100644
--- a/lib/Travel/Status/DE/DBWagenreihung.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung.pm
@@ -15,7 +15,7 @@ use Travel::Status::DE::DBWagenreihung::Group;
use Travel::Status::DE::DBWagenreihung::Sector;
use Travel::Status::DE::DBWagenreihung::Carriage;
-our $VERSION = '0.14';
+our $VERSION = '0.15';
Travel::Status::DE::DBWagenreihung->mk_ro_accessors(
qw(direction platform train_type));
@@ -332,7 +332,7 @@ Travel::Status::DE::DBWagenreihung - Interface to Deutsche Bahn carriage formati
=head1 VERSION
-version 0.14
+version 0.15
This is beta software. The API may change without notice.
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm b/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm
index ca9d56a..8c93fed 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Carriage.pm
@@ -8,7 +8,7 @@ use utf8;
use parent 'Class::Accessor';
use Carp qw(cluck);
-our $VERSION = '0.14';
+our $VERSION = '0.15';
Travel::Status::DE::DBWagenreihung::Carriage->mk_ro_accessors(
qw(class_type is_closed is_dosto is_locomotive is_powercar
number model section uic_id type
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Group.pm b/lib/Travel/Status/DE/DBWagenreihung/Group.pm
index 3da0670..7b35e41 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Group.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Group.pm
@@ -8,7 +8,7 @@ use utf8;
use parent 'Class::Accessor';
use List::Util qw(uniq);
-our $VERSION = '0.14';
+our $VERSION = '0.15';
Travel::Status::DE::DBWagenreihung::Group->mk_ro_accessors(
qw(train_no train_type description desc_short destination has_sectors model series start_percent end_percent)
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Sector.pm b/lib/Travel/Status/DE/DBWagenreihung/Sector.pm
index a039845..ad4ca9d 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Sector.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Sector.pm
@@ -7,7 +7,7 @@ use utf8;
use parent 'Class::Accessor';
-our $VERSION = '0.14';
+our $VERSION = '0.15';
Travel::Status::DE::DBWagenreihung::Sector->mk_ro_accessors(
qw(name start_percent end_percent length_percent start_meters end_meters length_meters cube_meters cube_percent)