Skip to content

Releases: traveltime-dev/traveltime-python-sdk

v4.6.3

Choose a tag to compare

@Donatas-L Donatas-L released this 04 May 09:50
aed48a5

What's Changed

Full Changelog: v4.6.2...v4.6.3

v4.6.2

Choose a tag to compare

@Donatas-L Donatas-L released this 30 Apr 10:13
3dec27d

What's Changed

Full Changelog: v4.6.1...v4.6.2

v4.6.1

Choose a tag to compare

@arnasbr arnasbr released this 10 Apr 10:04
5d39d3e

What's Changed

  • Better error handling for unexpected server responses by @arnasbr in #201

Full Changelog: v4.6.0...v4.6.1

v4.6.0

Choose a tag to compare

@arnasbr arnasbr released this 10 Apr 10:03
16b3025

What's Changed

New Contributors

Full Changelog: v4.5.0...v4.6.0

v4.5.0

Choose a tag to compare

@arnasbr arnasbr released this 02 Mar 11:06
35bd3b2

What's Changed

  • Fix traffic_moddel for fast endpoints, rework the transportation param (INCLUDES BREAKING CHANGES) by @arnasbr in #193

Full Changelog: v4.4.0...v4.5.0


Migration Guide: Fast Transportation Refactoring

Breaking Changes

The TransportationFast enum and the separate traffic_model parameter have been replaced with dedicated transportation classes. This provides a cleaner API where traffic_model is set directly on the transportation object (for driving modes) rather than as a separate field on every search request.

TransportationFast enum removed

The TransportationFast string enum has been removed. Replace it with the corresponding class:

Before (TransportationFast.*) After
TransportationFast.PUBLIC_TRANSPORT PublicTransportFast()
TransportationFast.WALKING_FERRY WalkingFerryFast()
TransportationFast.CYCLING_FERRY CyclingFerryFast()
TransportationFast.DRIVING_FERRY DrivingFerryFast()
TransportationFast.DRIVING_PUBLIC_TRANSPORT DrivingPublicTransportFast()

traffic_model moved into transportation classes

The traffic_model parameter has been removed from all fast search models. It is now an optional field on and DrivingFerryFast only.

Before:

from traveltimepy.requests.transportation import TransportationFast, FastTrafficModel

search = TimeFilterFastOneToMany(
    ...,
    transportation=TransportationFast.DRIVING_FERRY,
    traffic_model=FastTrafficModel.PEAK,
)

After:

from traveltimepy.requests.transportation import DrivingFerryFast, FastTrafficModel

search = TimeFilterFastOneToMany(
    ...,
    transportation=DrivingFerryFast(traffic_model=FastTrafficModel.PEAK),
)

For non-driving modes, simply drop the traffic_model parameter

Affected endpoints

All fast endpoints are affected

v4.4.0

Choose a tag to compare

@arnasbr arnasbr released this 10 Dec 14:37
87306a7

What's Changed

  • Added buffer_distance param to time-map, time-map-fast and distance-map; Added render_mode param to distance-map by @arnasbr in #191

Full Changelog: v4.3.0...v4.4.0

v4.3.0

Choose a tag to compare

@EivydasKoc EivydasKoc released this 08 Dec 11:21
8ac3faf

What's Changed

Full Changelog: v4.2.2...v4.3.0

v4.2.2

Choose a tag to compare

@arnasbr arnasbr released this 12 Nov 14:11
bd6a2fc

What's Changed

Full Changelog: v4.2.1...v4.2.2

v4.2.1

Choose a tag to compare

@Donatas-L Donatas-L released this 10 Oct 11:52
e2b2fd8

What's Changed

Full Changelog: v4.2.0...v4.2.1

v4.2.0

Choose a tag to compare

@Donatas-L Donatas-L released this 01 Aug 10:45
8d63a5f

What's Changed

Full Changelog: v4.1.0...v4.2.0