Skip to content

Commit 9f82d33

Browse files
committed
readme: minor tweaks 📝; changelog 📝; 5.15.1
[ci skip]
1 parent c6fb966 commit 9f82d33

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

docs/changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## `5.15.1`
4+
5+
- 7025d3bc ÖBB: enable `remarks()`
6+
- cb8d92be use `LOCAL_ADDRESS` environment variable to pick network interface address
7+
- 92f1831c `departures()`/`arrivals()`: document `opt.products` 📝
8+
- 7025d3bc/c6fb9661 ÖBB: change `ver` to `1.33` 🐛
9+
- 78bbf9b6 VKG, VVT `departures()`: disable `getPasslist` & `stbFltrEquiv` 🐛
10+
11+
[🏷 `5.15.1`](https://github.com/public-transport/hafas-client/releases/tag/5.15.1), 2021-02-12
12+
313
## `5.15.0`
414

515
- 7106d24a add [*VOS* profile](../p/vos)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hafas-client",
33
"description": "Client for HAFAS public transport APIs.",
4-
"version": "5.15.0",
4+
"version": "5.15.1",
55
"main": "index.js",
66
"files": [
77
"index.js",
@@ -20,7 +20,7 @@
2020
"em0lar <hello@em0lar.de>",
2121
"Adrian Böhme <hannsadrian@gmail.com> (https://github.com/Adwirawien)"
2222
],
23-
"homepage": "https://github.com/public-transport/hafas-client/tree/5.15.0",
23+
"homepage": "https://github.com/public-transport/hafas-client/tree/5.15.1",
2424
"repository": "public-transport/hafas-client",
2525
"bugs": "https://github.com/public-transport/hafas-client/issues",
2626
"funding": {

parse/location.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const parseLocation = (ctx, l) => {
120120
return res
121121
}
122122

123-
// We use a "visitied list" to prevent endless recursion.
123+
// We use a "visited list" to prevent endless recursion.
124124
const seen = Symbol('parseLocation seen items')
125125
const parseLocationWithoutCycles = (ctx, l, ...args) => {
126126
if (ctx[seen] && ctx[seen].includes(l)) return null

readme.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@
33
**A client for the "mobile APIs" of [HAFAS](https://de.wikipedia.org/wiki/HAFAS) public transport management systems**.
44

55
[![npm version](https://img.shields.io/npm/v/hafas-client.svg)](https://www.npmjs.com/package/hafas-client)
6-
[![build status](https://img.shields.io/travis/public-transport/hafas-client.svg?branch=5)](https://travis-ci.org/public-transport/hafas-client)
6+
[![build status](https://img.shields.io/github/workflow/status/public-transport/hafas-client/test/5)](https://github.com/public-transport/hafas-client/actions?query=branch%3A5)
77
![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-client.svg)
88
[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
99
[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)
1010

11+
- [Background](#background)
12+
- [Supported networks/endpoints](#supported-networks-endpoints)
13+
- [Installing](#installing)
14+
- [Usage](#usage)
15+
- [Related Projects](#related-projects)
16+
- [Contributing](#contributing)
17+
1118

1219
## Background
1320

@@ -20,7 +27,7 @@ Most customers get their own, **separate HAFAS deployments**; They all use the s
2027
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/).
2128

2229

23-
## supported networks/endpoints
30+
## Supported networks/endpoints
2431

2532
`hafas-client` has [built-in support for many public transportation networks](p/readme.md).
2633

0 commit comments

Comments
 (0)