Commit graph

1219 commits

Author SHA1 Message Date
Jannis R
9d35d83c97
changelog 📝; 6.0.3 2023-03-14 21:04:14 +01:00
Jannis R
e7602e6c84
createClient(): throw if userAgent is one of the documented ones 💥📝
related: #286
fixes #286
2023-03-14 21:01:11 +01:00
Jannis R
5910d62535
docs: make user agent instructions more specific & actionable 📝
related: #286
2023-03-14 20:58:17 +01:00
Jannis R
0f3d6ec858
changelog: add missing 6.0.2 section 📝
follow-up of 8ba1adeb
2023-03-14 20:45:15 +01:00
Jannis R
673eb4d6c7
CI: cache npm's cache across jobs & runs 💚 2023-02-10 17:05:01 +01:00
Jannis R
8ba1adeb39
readme: remove badge 📝; changelog 📝; 6.0.2 2023-02-10 11:48:12 +01:00
Jannis R
2639448911
SNCB/NMBS: document profile as broken 📝, skip E2E/integration tests
related: https://github.com/public-transport/hafas-client/issues/284
2023-02-10 11:42:05 +01:00
Jannis R
c2a71b08e8
request: import Buffer 🐛
related: #281
2023-01-06 14:07:30 +01:00
Jannis R
9f85a9af54
changelog 📝; 6.0.1 2022-12-11 22:44:30 +01:00
Jannis R
557fc66078
luxon@3 2022-12-11 22:40:24 +01:00
Jannis R
547dd4b2a9
parseDateTime, format{Date,Time}: share Luxon IANAZones 2022-12-03 14:05:30 +01:00
Kristjan SCHMIDT
fc1afe0625
lines() docs: fix typo 📝
part of #278
2022-11-23 12:46:47 +01:00
Kristjan ESPERANTO
3493ad1086 Update actions version 2022-11-22 23:19:27 +01:00
Kristjan ESPERANTO
d8805d9ea3
docs: fix profile imports in code examples 📝
closes #278
2022-11-22 21:09:06 +01:00
Kristjan ESPERANTO
3791ec25e2 Fix version 2022-11-22 14:41:41 +01:00
Jannis R
8278ff9c62
changelog 📝; 6.0.0 2022-11-19 15:01:07 +01:00
Jannis R
4c8aeeb70c
integration tests: don't record fixtures in parallel 2022-11-19 02:33:07 +01:00
Jannis R
0d965c585d
integration tests: update mocked when, adapt to latest schedules, re-add fixtures 2022-11-19 02:33:07 +01:00
Jannis R
198d50e260
integration tests: circumvent broken CE gzip handling 2022-11-19 02:33:05 +01:00
Jannis R
63013d8306
skip leg cycle & alternatives integration tests 2022-11-18 19:29:44 +01:00
Jannis R
573f4ce6d7
integration tests: ignore request order when matching mocks 2022-11-18 19:29:44 +01:00
Jannis R
d43d3bafe3
fix Nah.SH nearby() E2E/integration test 2022-11-18 19:29:44 +01:00
Jannis R
16671b6dc5
SNCB: re-enable reachableFrom 2022-11-18 19:29:44 +01:00
Jannis R
7b914ae939
skip & un-skip some E2E/integration tests 2022-11-18 19:29:44 +01:00
Jannis R
0349ebac20
remove HVV profile 💥
closes #262
closes #261
2022-11-18 19:29:44 +01:00
Jannis R
1e8b5982a2
remove SBB profile 💥
closes #246
2022-11-18 19:29:44 +01:00
Jannis R
c2a228a73a
integration test mocking: replayer -> Polly.js 2022-11-18 19:29:44 +01:00
Jannis R
dd52411f5a
remove integration test fixtures 2022-11-18 19:20:03 +01:00
Jannis R
c736ff6427
minor docs fixes 📝 2022-11-18 19:20:03 +01:00
Jannis R
d80330ba5e
add "migrating to hafas-client@6" guide 📝 2022-11-18 19:20:03 +01:00
Jannis R
3c17678d9d
DB: use REALTIME routing mode 2022-11-18 19:20:03 +01:00
Jannis R
e46514c5f9
DB: rename regionalExp product to regionalExpress 💥 2022-11-18 19:20:03 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
28f1316a51
eslint@8, tap@16 2022-11-18 19:20:03 +01:00
Jannis R
c6085eff26
luxon@2, p-retry@5, p-throttle@5 2022-11-18 19:20:03 +01:00
Jannis R
cef6dcaf0f
request: pass whole req body into transformReqBody 🐛 2022-11-18 19:20:03 +01:00
Jannis R
ef9e3765ee
parseLine: don't trim adminCode 💥 2022-11-18 19:20:03 +01:00
Jannis R
b740539081
parseTrip: remove trip.reachable 💥 2022-11-18 19:20:03 +01:00
Jannis R
30cb1f3d28
trip: remove lineName parameter, update integration test fixtures 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
c53316668d
integration tests: update mocked when & fixtures 2022-11-18 19:20:03 +01:00
Jannis R
db442bb578
serverInfo: fix realtimeDataUpdatedAt parsing 🐛 2022-11-18 19:20:02 +01:00
Jannis R
44c8e37e5c
lines: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-18 19:20:02 +01:00
Jannis R
b1c2eb9b93
parseWarning: handle missing common.himMsgEventL[].{f,t}Time 🐛 2022-11-18 19:20:02 +01:00
Jannis R
bb70081ceb
remarks: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-18 19:20:02 +01:00
Jannis R
2fcaa2304b
reachableFrom: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-17 15:25:01 +01:00
Jannis R
0cc50a918a
radar: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-17 15:25:01 +01:00
Jannis R
a6411707e1
DB E2E test: cleanup 2022-11-17 15:25:01 +01:00
Jannis R
a0a4064bf0
trip/tripsByName: realtimeDataFrom -> separate realtimeDataUpdatedAt field 💥📝 2022-11-17 15:25:00 +01:00
Jannis R
3cbbc3c4da
refreshJourney: return journey as field 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
751ae21d18
journeys/refreshJourney/journeysFromTrip: realtimeDataFrom -> realtimeDataUpdatedAt 💥📝 2022-11-17 15:17:02 +01:00