Releases: iwpnd/valhalla-ts
Releases Β· iwpnd/valhalla-ts
v1.0.8
1.0.8 (2024-05-05)
Other
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
valhalla-ts
Easy to use, fully typed http client for valhalla routing service.
Usage
import { Valhalla } from '@iwpnd/valhalla-ts';
const valhalla = new Valhalla('https://localhost:8002');
const route = await valhalla.route({
locations: [
{ lat: 52.25, lon: 13.37 },
{ lat: 52.25, lon: 13.36 },
],
costing: 'bicycle',
});
1.0.0 (2024-02-13)
Features
- β¨ add decodePolygon helper (ffcbd6b)
- β¨ add http client (01ff8ab)
- β¨ add valhalla client (c2f01a8)
- β¨ initial commit (3143254)
Bug Fixes
- π drop timeout until impl is found (b4bea20)
- π generic return type for route (dbd7afa)
- π include application/json;charset=utf-8 in isJSON helper (7c38b84)
- π integration test and add orginal_index to returned location (fc09542)
- π query string (5f89447)
Other
- β»οΈ costing options into their own specific types instead (f351c19)
- β»οΈ separate types into their own files respectively (fc0a697)
- π· add release step (6606565)
- π· add valhalla container for integration tests (1f549d8)
- π· authenticate to ghcr (18a162c)
- π· dont block pipeline (b864db3)
- π· fix authentication to ghcr (ecda7b5)
- π¦οΈ drop husky postinstall (32a0c66)
- π§ add docker-compose to prep integration tests (accf953)
- π§ add polylineToLineString helper (12e4f57)
- π§ add test helper, increase coverage (f9b41c6)
- π§ add types (50199e2)
- π§ consistent coordinate naming (fcbdf0d)
- π§ fix type import for fixtures (1184db3)
- π§ make test runner verbose (50dfbe2)
- π§ migrate husky to v9 (c47dd6f)
- π§ move types to separate dir (f3ecbad)
- π§ pull rest-client out (dcb461f)
- π§ remove undici dep and use rip-ts instead (d961092)
- π§ unwrap valhalla response (ca0ec82)
- π§ use --testMatch for test runner (effff99)
- π§ yarn.lock maintenance (4789387)
- π¨ integration optimzedRoute (c3d2dda)
- π¨ isochrone client test (17398b2)
- π¨ remove redundant generic var (aae193f)
- π¨ response (f66e247)
- π¨ rest client (dbc82d1)
- π¨ start integration testing (7346942)
- deps-dev: π§ bump dev dependencies (1f8f850)
- deps-dev: π§ update (7cbef33)
- deps-dev: π§ update (13ae746)
- deps-dev: π§ update (c557367)
- deps-dev: π§ update (6b82201)
- deps-dev: π§ update (24ba348)
- deps-dev: bump prettier from 3.2.2 to 3.2.4 (0fbfadb)
- deps-dev: bump the semantic-release group with 1 update (2a8a198)
- deps: π update (acff421)
- deps: π update (c91eead)
- deps: π update rip-ts (1b4fe06)
- deps: bump @types/geojson from 7946.0.13 to 7946.0.14 (e58e15b)
- deps: bump undici from 6.3.0 to 6.4.0 (dc7e100)
Documentation
- ποΈ add readme (ca6d010)