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.2 to 6.0.1 #121

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps hafas-client from 5.26.2 to 6.0.1.

Release notes

Sourced from hafas-client's releases.

hafas-client@6.0.1

see the 6.0.1 changelog

hafas-client@6.0.0

see the 6.0.0 changelog

Changelog

Sourced from hafas-client's changelog.

6.0.1

  • d8805d9e/fc1afe06 docs: fix profile imports in code examples 📝 – Thanks @​KristjanESPERANTO!
  • 547dd4b2 parseDateTime()/formatDate()/formatTime(): share Luxon IANAZones ⚡️
  • 557fc660 upgrade to luxon@3

🏷 6.0.1, 2022-12-11

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()

... (truncated)

Commits
  • 9f85a9a changelog 📝; 6.0.1
  • 557fc66 luxon@3
  • 547dd4b parseDateTime, format{Date,Time}: share Luxon IANAZones ⚡️
  • fc1afe0 lines() docs: fix typo 📝
  • 3493ad1 Update actions version
  • d8805d9 docs: fix profile imports in code examples 📝
  • 3791ec2 Fix version
  • 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...
  • 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

I repeat my comment from the previous PR: Since MagicMirror supports Node 14 until 2023-04-30, I think this 6.x 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 #140.