diff --git a/docs/changelog.md b/docs/changelog.md index ed53a367..ad678ada 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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) diff --git a/package.json b/package.json index 4f50a861..50b062d2 100644 --- a/package.json +++ b/package.json @@ -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 ", "Adrian Böhme (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": { diff --git a/parse/location.js b/parse/location.js index e5770d80..2636c50b 100644 --- a/parse/location.js +++ b/parse/location.js @@ -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 diff --git a/readme.md b/readme.md index 576a3f39..2b89edbd 100644 --- a/readme.md +++ b/readme.md @@ -3,11 +3,18 @@ **A client for the "mobile APIs" of [HAFAS](https://de.wikipedia.org/wiki/HAFAS) public transport management systems**. [![npm version](https://img.shields.io/npm/v/hafas-client.svg)](https://www.npmjs.com/package/hafas-client) -[![build status](https://img.shields.io/travis/public-transport/hafas-client.svg?branch=5)](https://travis-ci.org/public-transport/hafas-client) +[![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) ![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-client.svg) [![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst) [![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](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).