4.1.0
What's Changed
New:
- Adds
TKRouteAutocompleter
to search for routes, #204 - Adds
TKBuzzInfoProvider.fetchRoutes
to fetch a list of routes, #204 - Adds
routes
,availableRoute
andoperators
toTKStopCoordinate
, #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 anMKAnnotation
, #204.
⚠️ Warning: This requires code changes by anything implementingTKAutocompleting
asannotation(for:completion:)
is now allowed to callcompletion(nil)
if the autocompletion result cannot be turned into a map annotation (seeTKRouteAutocompleter
for an example). This also required code changes when usingTKUIHomeCard.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
- Build tweaks by @nighthawk in #180
- fix constraint issues for result header and footer by @julesian in #181
- Opt into failing on any error for multi-fetch requests by @nighthawk in #183
- TKWaypointRouter now send shared vehicle ID by @nighthawk in #184
- TKWaypointRouter refactoring by @nighthawk in #185
- Mode Picker sorting by @julesian in #186
- Mode picker persistence by @julesian in #187
- Hotfix/17467 mode picker persistence by @julesian in #189
- Adds simple setting to determine which badges to show on trip groups by @nighthawk in #192
- Update data model by @nighthawk in #188
- 17966 billing enabled by @nighthawk in #193
- Feature/17468 shared vehicle detailed display by @julesian in #195
- Update polygonkit by @nighthawk in #198
- Ticket purchases by @nighthawk in #199
- Bug fixes by @nighthawk in #202
- List and search routes by @nighthawk in #204
Full Changelog: 4.0.2...4.1.0