deg0nz / MMM-PublicTransportBerlin

MagicMirror module to display public transport in Berlin and Brandenburg with BVG Hafas data.
MIT License
40 stars 20 forks source link

Bump hafas-client from 5.26.1 to 6.0.0 #116

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps hafas-client from 5.26.1 to 6.0.0.

Release notes

Sourced from hafas-client's releases.

hafas-client@6.0.0

see the 6.0.0 changelog

hafas-client@5.26.2

see the 5.26.2 changelog

Changelog

Sourced from hafas-client's changelog.

6.0.0

Note that this version is not backwords-compatible with 5.*. Check out the migration guide.

breaking changes πŸ’₯

  • 1e8b5982 remove SBB profile (they have shut off their endpoint)
  • 0349ebac remove HVV profile (they have shut off their endpoint)
  • 339d64e9 convert all code to ES Modules
  • d5969bc0 require Node >=10
  • 30cb1f3d trip(): remove lineName parameter, update integration test fixtures
  • a81e550f departures()/arrivals()
    • departures{GetPasslist,StbFltrEquiv}: default to false
    • return object with realtimeDataUpdatedAt & results
  • 40957d35 reachableFrom(): don't retry failed requests 3 times
  • 751ae21d/a0a4064b/0cc50a91/2fcaa230/bb70081c/44c8e37e journeys()/journeysFromTrip()/trip()/tripsByName()/radar()/reachableFrom()/remarks()/lines(): rename realtimeDataFrom to realtimeDataUpdatedAt
  • 3cbbc3c4 refreshJourney(): return object with realtimeDataUpdatedAt & results
  • 7765f9d7/9b263bb3 rework errors thrown by hafas-client
  • e0cdd559 rename warning.{from,to}Loc to {from,to}Location
  • b7405390 remove trip.reachable
  • ef9e3765 don't trim line.adminCode
  • b030eec1/7765f9d7 make (almost) all Promise-based code async functions
  • BVG/VBB profile:
    • 1ae13629/7b037469 don't parse line props using vbb-parse-line
    • 1f611595/5ecf03f3 don't convert 7/9 12 digit IDs
    • df4124e3/d2bc1346 don't shorten stop/station names
  • DB profile:
    • e46514c5 rename regionalExp product to regionalExpress
    • 3c17678d use REALTIME routing mode

features

  • 16671b6d SNCB: re-enable reachableFrom()
  • 492fdeb2 add boolean profile.randomizeUserAgent flag πŸ“
  • 1000e48d handle METHOD_NA/NO_MATCH/PARAMETER errors

bugfixes πŸ›

  • db442bb5 serverInfo(): fix realtimeDataUpdatedAt parsing
  • b1c2eb9b parseWarning(): handle missing common.himMsgEventL[].{f,t}Time
  • cef6dcaf lib/request.js: pass whole request body into profile.transformReqBody()

🏷 6.0.0, 2020-01-05

5.26.2

  • a60083f8 parse trip.scheduledDays βœ…
  • b6900a3d parse journey.scheduleDays using fpB & fpE πŸ›βœ… – Thanks @​bergmannjg!
  • f530a30f mention related libs πŸ“
  • 5ff8527b tweak & restructure docs πŸ“, explicit defaults

... (truncated)

Commits
  • 8278ff9 changelog πŸ“; 6.0.0
  • 4c8aeeb integration tests: don't record fixtures in parallel βœ…
  • 0d965c5 integration tests: update mocked when, adapt to latest schedules, re-add fixt...
  • 198d50e integration tests: circumvent broken CE gzip handling βœ…
  • 63013d8 skip leg cycle & alternatives integration tests βœ…
  • 573f4ce integration tests: ignore request order when matching mocks βœ…
  • d43d3ba fix Nah.SH nearby() E2E/integration test βœ…
  • 16671b6 SNCB: re-enable reachableFrom βœ…
  • 7b914ae skip & un-skip some E2E/integration tests βœ…
  • 0349eba remove HVV profile πŸ’₯
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
KristjanESPERANTO commented 1 year ago

Since MagicMirror supports Node 14 until 2023-04-30, I think this new version should not end up in an official release much earlier.

In any case, we need to make some adjustments in our module to support the new version.

dependabot[bot] commented 1 year ago

Superseded by #121.