Skip to content

4.1.0

Compare
Choose a tag to compare
@nighthawk nighthawk released this 31 Oct 01:18
· 245 commits to main since this release
64d2b22

What's Changed

New:

  • Adds TKRouteAutocompleter to search for routes, #204
  • Adds TKBuzzInfoProvider.fetchRoutes to fetch a list of routes, #204
  • Adds routes, availableRoute and operators to TKStopCoordinate, #204
  • Adds TKUIRoutingResultsCard.config.tripBadgesToShow to customise which badges to show, #192
  • Adds TKRouter. failOnAnyError, #183
  • TKUINearby* now includes vehicle type icon and battery level, #195
  • Data models to support ticket purchases, #188, #193, #199

Changed:

  • Refactoring of TKAutocompleting to return something that can't be turned into an MKAnnotation, #204.
    ⚠️ Warning: This requires code changes by anything implementing TKAutocompleting as annotation(for:completion:) is now allowed to call completion(nil) if the autocompletion result cannot be turned into a map annotation (see TKRouteAutocompleter for an example). This also required code changes when using TKUIHomeCard.SelectionMode.callback as that can not get an auto-completion result rather than always a map-annotation.
  • Refactoring of TKWaypointRouter, which now also supports routing for specific shared vehicles, #184, #185

Fixed:

  • Fixed a layout issue with badges on the routing results card, #181
  • Fixed TKUINearby* having non-deterministic order in the mode picker, #186
  • Fixed TKUINearby* resetting the enabled transport modes between refreshes, #187, #189
  • Fixed TKBooking.Location.address which was incorrectly marked as non-optional, #199
  • Fixed some custom headers not being sent to backend, #199
  • Fixed wrong transfer time being sent to backend, #202
  • Fixed fractions of seconds being sent to backend, #202

Also updated some dependencies.

PRs

Full Changelog: 4.0.2...4.1.0