From 40df65f4621983206333c5a0877ed80f805edb26 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Sat, 1 Aug 2020 13:13:31 +0200 Subject: [PATCH] =?UTF-8?q?minor=20tweaks,=20changelog=20=F0=9F=93=9D,=205?= =?UTF-8?q?.7.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ci skip] --- docs/changelog.md | 7 +++++++ index.js | 2 +- package.json | 4 ++-- readme.md | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index b829043e..32e7710b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,12 @@ # Changelog +## `5.7.0` + +- b2b1b75/3f4c05d/097557c add [*ZVV* profile](../p/zvv) +- 4fc4c3b fix `H9360` error message 🐛 + +[🏷 `5.7.0`](https://github.com/public-transport/hafas-client/releases/tag/5.7.0), 2020-08-01 + ## `5.6.3` - 71db75d `journeys()`: expose realtime data timestamp diff --git a/index.js b/index.js index 44a81e23..8e52bc2d 100644 --- a/index.js +++ b/index.js @@ -116,7 +116,7 @@ const createClient = (profile, userAgent, opt = {}) => { results: null, // number of journeys – `null` means "whatever HAFAS returns" via: null, // let journeys pass this station? stopovers: false, // return stations on the way? - transfers: -1, // maximum of 5 transfers + transfers: -1, // maximum nr of transfers transferTime: 0, // minimum time for a single transfer in minutes // todo: does this work with every endpoint? accessibility: 'none', // 'none', 'partial' or 'complete' diff --git a/package.json b/package.json index 60504028..05e2737f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hafas-client", "description": "Client for HAFAS public transport APIs.", - "version": "5.6.3", + "version": "5.7.0", "main": "index.js", "files": [ "index.js", @@ -18,7 +18,7 @@ "Julius Tens ", "n0emis " ], - "homepage": "https://github.com/public-transport/hafas-client/tree/5.6.3", + "homepage": "https://github.com/public-transport/hafas-client/tree/5.7.0", "repository": "public-transport/hafas-client", "bugs": "https://github.com/public-transport/hafas-client/issues", "funding": "https://github.com/sponsors/derhuerst", diff --git a/readme.md b/readme.md index d38117be..c5d8aa14 100644 --- a/readme.md +++ b/readme.md @@ -242,6 +242,7 @@ HAFAS endpoint | library - [`BahnhofsAbfahrten`](https://github.com/marudor/BahnhofsAbfahrten) a.k.a. [`marudor.de`](https://marudor.de/) – A very detailed public transport website for Germany. Uses HAFAS underneath, [has an API](https://docs.marudor.de). - [`public-transport-enabler`](https://github.com/schildbach/public-transport-enabler) – Unleash public transport data in your Java project. - [`TripKit`](https://github.com/alexander-albers/tripkit) – Swift library for querying data from public transport providers. +- [`pyhafas`](https://github.com/n0emis/pyhafas) – A python client for HaFAS public transport APIs. - [*Friendly Public Transport Format*](https://github.com/public-transport/friendly-public-transport-format#friendly-public-transport-format-fptf) – A format for APIs, libraries and datasets containing and working with public transport data. - [`observe-hafas-client`](https://github.com/public-transport/observe-hafas-client) – Observe all departures/arrivals/etc. returned by `hafas-client`. - [`cached-hafas-client`](https://github.com/public-transport/cached-hafas-client) – Pass in a `hafas-client` instance, cache data from it.