From af6dbaf3c10f75f0c8d008158adda4f6d22e9ee9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 4 Dec 2022 13:27:31 +0100 Subject: Release v1.75 --- Changelog | 12 ++++++++++++ bin/db-iris | 4 ++-- lib/Travel/Status/DE/IRIS.pm | 4 ++-- lib/Travel/Status/DE/IRIS/Result.pm | 4 ++-- lib/Travel/Status/DE/IRIS/Stations.pm.PL | 4 ++-- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/Changelog b/Changelog index 3d406e9..a20182f 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,15 @@ +Travel::Status::DE::IRIS 1.75 - Sun Dec 04 2022 + + * Update station list + * Note that station names are no longer considered unique. + get_stations() and the get_station_by_... set of functions may return + multiple entries with the same name, but different DS100 and EVA IDs. + For now, get_station_by_name() retains its behaviour of only returning a + single match if the name matches exactly -- for multiple stations with + the same name, it returns the one with the lowest EVA number. + get_station_by_name() return value and semantics may change in a future + major release. + Travel::Status::DE::IRIS 1.74 - Tue Nov 22 2022 * Stations: Use GIS::Distance, as documented. Release 1.73 accidentally diff --git a/bin/db-iris b/bin/db-iris index 3a97d18..f45996e 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -6,7 +6,7 @@ use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '1.74'; +our $VERSION = '1.75'; use DateTime; use DateTime::Format::Strptime; @@ -574,7 +574,7 @@ B [B<-rx>] [B<-d> I] [B<-o> I] =head1 VERSION -version 1.74 +version 1.75 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 4b5745a..9995863 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -6,7 +6,7 @@ use 5.014; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -our $VERSION = '1.74'; +our $VERSION = '1.75'; use Carp qw(confess cluck); use DateTime; @@ -973,7 +973,7 @@ Non-blocking variant (EXPERIMENTAL): =head1 VERSION -version 1.74 +version 1.75 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index f01cb93..3b5b454 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -15,7 +15,7 @@ use List::Compare; use List::MoreUtils qw(none uniq lastval); use Scalar::Util qw(weaken); -our $VERSION = '1.74'; +our $VERSION = '1.75'; my %translation = ( 1 => 'Nähere Informationen in Kürze', @@ -882,7 +882,7 @@ arrival/departure received by Travel::Status::DE::IRIS =head1 VERSION -version 1.74 +version 1.75 =head1 DESCRIPTION diff --git a/lib/Travel/Status/DE/IRIS/Stations.pm.PL b/lib/Travel/Status/DE/IRIS/Stations.pm.PL index 4824a37..9329e94 100644 --- a/lib/Travel/Status/DE/IRIS/Stations.pm.PL +++ b/lib/Travel/Status/DE/IRIS/Stations.pm.PL @@ -43,7 +43,7 @@ use Text::LevenshteinXS qw(distance); # TODO switch to Text::Levenshtein::XS once AUR/Debian packages become available -our $VERSION = '1.74'; +our $VERSION = '1.75'; # Automatically generated, see share/stations.json my @stations = ( @@ -235,7 +235,7 @@ Travel::Status::DE::IRIS::Stations - Station name to station code mapping =head1 VERSION -version 1.74 +version 1.75 =head1 DESCRIPTION -- cgit v1.2.3