From 01da3afd1e14ddeeb9cb2244e42f98bd60c10972 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 17 Sep 2015 16:09:04 +0200 Subject: prepare for v2.00 release --- Build.PL | 2 ++ Changelog | 27 +++++++++++++++++++++++++++ README | 6 ++++-- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/Build.PL b/Build.PL index f9af4e6..339caf8 100755 --- a/Build.PL +++ b/Build.PL @@ -22,6 +22,8 @@ Module::Build->new( 'Carp' => 0, 'Class::Accessor' => '0.16', 'Getopt::Long' => 0, + 'JSON' => 0, + 'List::MoreUtils' => 0, 'List::Util' => 0, 'LWP::UserAgent' => 0, 'POSIX' => 0, diff --git a/Changelog b/Changelog index a2479fc..cb89d30 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,30 @@ +git HEAD + + * This release is NOT backwards compatible with 1.xx versions + * It now uses the HAFAS API instead of parsing bahn.de/ris and also + supports various other HAFAS installations + * New module dependencies: JSON, List::MoreUtils + * Renamed db-ris to hafas-m + * New modules: Travel::Status::DE::HAFAS and + Travel::Status::DE::HAFAS::StopFinder + * Renamed Travel::Status::DE::DeutscheBahn::Result to + Travel::Status::DE::HAFAS::Result + * db-ris/hafas-m: The options -f /--full-route and -v/--via are no longer + supported + * db-ris/hafas-m: New options -s / --service, -u / --url and --list + * Travel::Status::DE::DeutscheBahn/HAFAS->new: The mot parameter is no + longer supported. Use the new excluded_mots and exclusive_mots parameters + instead + * Travel::Status::DE::DeutscheBahn/HAFAS->new: Add service and url + parameters + * Travel::Status::DE::DeutscheBahn/HAFAS: Add errcode, similar_stops + and get_active_service accessors + * Travel::Status::DE::DeutscheBahn/HAFAS: Add static methods get_services + and get_service + * Result: Remove route, route_raw, route_info, route_interesting and + route_timetable accessors + * Result: Add is_changed_platform and messages accessors + Travel::Status::DE::DeutscheBahn 1.05 - Thu May 14 2015 * Result->route_interesting: Also consider airports diff --git a/README b/README index 549d557..1a6dbc4 100644 --- a/README +++ b/README @@ -10,6 +10,8 @@ Dependencies * perl version 5.10.1 or newer * Class::Accessor + * JSON + * List::MoreUtils * LWP::UserAgent (usually shipped by libwww-perl) * XML::LibXML @@ -20,8 +22,8 @@ $ perl Build.PL $ perl Build $ sudo perl Build install -You can then run 'man Travel::Status::DE::DeutscheBahn' for more information. -This distribution also ships the example script 'db-ris', see 'man db-ris'. +You can then run 'man Travel::Status::DE::HAFAS' for more information. +This distribution also ships the example script 'hafas-m', see 'man hafas-m'. Testing ------- -- cgit v1.2.3