Skip to content

Releases: skedgo/tripkit-ios

4.4.0

19 Jan 23:30
af818a0
Compare
Choose a tag to compare

What's Changed

Added:

  • Adds support for "Get off" alerts to TKUITripOverviewCard, see the class comment in TKUITripMonitorManager for how to enable it
  • Adds TKUITimetableCard.config.showOperatorNames

PRs

Full Changelog: 4.3.0...4.4.0

4.3.0

12 Dec 02:19
078b011
Compare
Choose a tag to compare

What's Changed

Added:

  • Adds support for new filters parameter of departures.json as introduced in skedgo/tripgo-api#233 (#220)
  • Allow setting a default location on TKUINearbyMapManager (#224)
  • Adds TKUISimpleHomeMapManager as a default home map manager (#217)
  • Add support for labels for VoiceOver (#218)
  • Make a more properties / make more public (#214, #221, #224)

Fixed:

  • Fixes TKRealTimeHelper.streamRealTime missing events from intermittent updates (#219)
  • Fixes map semaphores sometimes not getting re-selected (i.e., reset alpha to 1) (#224)

PRs

Full Changelog: 4.2.0...4.3.0

4.2.0

07 Nov 21:18
a44c776
Compare
Choose a tag to compare

What's Changed

New:

  • Adds TKBuzzInfoProvider.fetchRouteDetails for fetching the details of a route, including directions, shapes and stops, #211

Changed:

  • region.name has been deprecated in favour of region.code; along with related methods getting renamed #211
  • Selected documentation updates

Fixes:

  • Auto-completion requests now properly get cancelled if search is aborted before results are provided, #209
  • Auto-completion search no longer gets reset if map is in "following" mode, #209
  • Fix retain cycle in TKUIAutocompletionViewController, #209
  • Addresses runtime warnings related to TKJSONCache

PRs

Full Changelog: 4.1.0...4.2.0

4.1.0

31 Oct 01:18
64d2b22
Compare
Choose a tag to compare

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

4.0.2

31 May 08:11
5001030
Compare
Choose a tag to compare

Added:

  • TKSegment.startsAndEnds(inEncodedPolygon polygon: String) -> Bool
  • Add async variant of TKRouter.multiFetchTrips
  • Add TKUICardActionStyle.destructive case
  • Add TKServer.customHeaders

Changed:

  • Allow planning trips without regions.json content if base URL or API key is set
  • Allow settings routing configuration parameters explicitly => see #174
  • Don't require access to current location => see #175
  • Send X-TripGo-Region header, if a region is known for the request

What's Changed

Full Changelog: 4.0.1...4.0.2

4.0.1

27 Apr 01:46
907ff3d
Compare
Choose a tag to compare

What's Changed

New:

Changes:

Fixes:

Internals:

New Contributors

Full Changelog: 4.0.0...4.0.1

4.0.0 - TripKitUI

22 Mar 00:18
6495be5
Compare
Choose a tag to compare

What's Changed

Major breaking release, with a ton of changes, adding extensive UI components in the new TripKitUI module.

Read more

4.0.0-rc4

19 Mar 06:31
4409706
Compare
Choose a tag to compare
4.0.0-rc4 Pre-release
Pre-release

What's Changed

Read more

4.0.0-rc3

18 Mar 04:33
Compare
Choose a tag to compare
4.0.0-rc3 Pre-release
Pre-release

What's Changed

RC3 for TripKit 4.0

Full Changelog: v3.1.1...4.0-rc3

v3.2

17 Dec 22:26
61bc566
Compare
Choose a tag to compare

Now requires iOS 10.3

Added

  • Added TKSettings.ignoreCostToReturnCarHireVehicle to ignore the cost of returning, say, a pod-based car share to its pick-up location
  • Added Kingfisher convenience methods for setting UIButton images which sets the scale according to the file name
  • Added more convenience methods to SGLocationManager+Rx and added some documentation
  • Added TKBuzzInfoProvider.fetchWheelchairSupportInformation convenience method
  • Added method to opt-out of restoring the last viewed map rect in ASMapManager
  • Added real-time vehicle components to API.Vehicle and Vehicle which provides information of how the physical structure of vehicles
  • Added TKTrainOccupancyView to display the per-carriage occupancy of a train
  • Added TKSectionedAlertViewController for displaying all transit alerts in a region
  • Added TKPathFriendliness enum, which now includes "dismount"
  • Updated TKPathFriendlinessView to also include "dismount" section where appropriate
  • Added TKTurnByTurnMode and segment.turnByTurnMode
  • Adds TKFileCache for easier caching

Changed

  • Moved method to sign in with CloudKitID from TripKitBookings to TripKit
  • TKDepartureView can now be used without SGTrackItem
  • TKAppleGeocoder replaces SGAppleGeocoder, now with much improved autocompletion
  • TKPeliasGeocoder replaces TKMapZenGeocoder and is now using SkedGo's Pelias backend
  • When enabling or disabling the wheelchair mode, wheelchair information for public transport will also be toggled on and off accordingly
  • SGCalendarManager now shows events in next 24h when autocompleting empty string
  • SGAutocompletionDataSource now has a new interface and is using Rx, resulting in faster autocompletion
  • SGAddressBookManager is now using locale for formatting addresses, not always using Australian style
  • API.Vehicle.Occupancy is now API.VehicleOccupancy, and vehicle.occupancy is moved into the components of API.Vehicle and Vehicle
  • vehicle.wifi is moved into the components of API.Vehicle and Vehicle

Removed

  • Removed TGAgendaWidgetInfoView
  • Removed X-TripGo-UUID header being passed along with server calls

Fixed

  • Fixed TKLocationProvider.fetchLocations which didn't parse responses
  • Fixed test failures due to hitting non-production backend
  • Various robustness fixes addressing occasional and hard-to-reproduce crashes