mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 22:59:35 +02:00
readme: minor tweaks 📝; changelog 📝; 5.15.1
[ci skip]
This commit is contained in:
parent
c6fb966177
commit
9f82d3305c
4 changed files with 22 additions and 5 deletions
|
@ -1,5 +1,15 @@
|
|||
# Changelog
|
||||
|
||||
## `5.15.1`
|
||||
|
||||
- 7025d3bc ÖBB: enable `remarks()`
|
||||
- cb8d92be use `LOCAL_ADDRESS` environment variable to pick network interface address
|
||||
- 92f1831c `departures()`/`arrivals()`: document `opt.products` 📝
|
||||
- 7025d3bc/c6fb9661 ÖBB: change `ver` to `1.33` 🐛
|
||||
- 78bbf9b6 VKG, VVT `departures()`: disable `getPasslist` & `stbFltrEquiv` 🐛
|
||||
|
||||
[🏷 `5.15.1`](https://github.com/public-transport/hafas-client/releases/tag/5.15.1), 2021-02-12
|
||||
|
||||
## `5.15.0`
|
||||
|
||||
- 7106d24a add [*VOS* profile](../p/vos)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hafas-client",
|
||||
"description": "Client for HAFAS public transport APIs.",
|
||||
"version": "5.15.0",
|
||||
"version": "5.15.1",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"em0lar <hello@em0lar.de>",
|
||||
"Adrian Böhme <hannsadrian@gmail.com> (https://github.com/Adwirawien)"
|
||||
],
|
||||
"homepage": "https://github.com/public-transport/hafas-client/tree/5.15.0",
|
||||
"homepage": "https://github.com/public-transport/hafas-client/tree/5.15.1",
|
||||
"repository": "public-transport/hafas-client",
|
||||
"bugs": "https://github.com/public-transport/hafas-client/issues",
|
||||
"funding": {
|
||||
|
|
|
@ -120,7 +120,7 @@ const parseLocation = (ctx, l) => {
|
|||
return res
|
||||
}
|
||||
|
||||
// We use a "visitied list" to prevent endless recursion.
|
||||
// We use a "visited list" to prevent endless recursion.
|
||||
const seen = Symbol('parseLocation seen items')
|
||||
const parseLocationWithoutCycles = (ctx, l, ...args) => {
|
||||
if (ctx[seen] && ctx[seen].includes(l)) return null
|
||||
|
|
11
readme.md
11
readme.md
|
@ -3,11 +3,18 @@
|
|||
**A client for the "mobile APIs" of [HAFAS](https://de.wikipedia.org/wiki/HAFAS) public transport management systems**.
|
||||
|
||||
[](https://www.npmjs.com/package/hafas-client)
|
||||
[](https://travis-ci.org/public-transport/hafas-client)
|
||||
[](https://github.com/public-transport/hafas-client/actions?query=branch%3A5)
|
||||

|
||||
[](https://github.com/sponsors/derhuerst)
|
||||
[](https://twitter.com/derhuerst)
|
||||
|
||||
- [Background](#background)
|
||||
- [Supported networks/endpoints](#supported-networks-endpoints)
|
||||
- [Installing](#installing)
|
||||
- [Usage](#usage)
|
||||
- [Related Projects](#related-projects)
|
||||
- [Contributing](#contributing)
|
||||
|
||||
|
||||
## Background
|
||||
|
||||
|
@ -20,7 +27,7 @@ Most customers get their own, **separate HAFAS deployments**; They all use the s
|
|||
Strictly speaking, permission is necessary to use this library with a HAFAS "mobile" endpoint. It merely tries to remove the *technical* barrier of accessing the data, in order to kick-start an ecosystem or apps and services that will eventually rely on [*openly available* data](https://opendatahandbook.org/solutions/en/Public-Transport-Data/).
|
||||
|
||||
|
||||
## supported networks/endpoints
|
||||
## Supported networks/endpoints
|
||||
|
||||
`hafas-client` has [built-in support for many public transportation networks](p/readme.md).
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue