summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-17 16:09:04 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-17 16:09:04 +0200
commit01da3afd1e14ddeeb9cb2244e42f98bd60c10972 (patch)
treeaba914535ada0ae368975e61221c79280309f1b3
parent8edfa3d6e81e68af6f61bcab313e31928baa1c8c (diff)
prepare for v2.00 release
-rwxr-xr-xBuild.PL2
-rw-r--r--Changelog27
-rw-r--r--README6
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
-------