minor tweaks, changelog 📝, 5.7.0

[ci skip]
This commit is contained in:
Jannis R 2020-08-01 13:13:31 +02:00
parent 4fc4c3b873
commit 40df65f462
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
4 changed files with 11 additions and 3 deletions

View file

@ -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

View file

@ -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'

View file

@ -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 <mail@juliustens.eu>",
"n0emis <n0emis@noemis.me>"
],
"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",

View file

@ -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.