Releases: traveltime-dev/traveltime-python-sdk
Release list
v4.6.3
What's Changed
- Restrict permissions by @Donatas-L in #205
- Update protobuf by @Donatas-L in #206
Full Changelog: v4.6.2...v4.6.3
v4.6.2
v4.6.1
v4.6.0
What's Changed
- Pinning all actions in the workflows of this repo to use SHA hash by @AivarasPuskorius in #199
- Feature/geohash proto by @ajakubauskas in #200
New Contributors
- @AivarasPuskorius made their first contribution in #199
- @ajakubauskas made their first contribution in #200
Full Changelog: v4.5.0...v4.6.0
v4.5.0
What's Changed
- Fix
traffic_moddelfor fast endpoints, rework thetransportationparam (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
v4.3.0
What's Changed
- H3 geohash fast unions intersections by @EivydasKoc in #190
Full Changelog: v4.2.2...v4.3.0
v4.2.2
v4.2.1
What's Changed
- Extend examples with random location generation by @arnasbr in #183
- Adding traffic_model by @Donatas-L in #185
Full Changelog: v4.2.0...v4.2.1
v4.2.0
What's Changed
- Add examples for time-filter matrix by @Donatas-L in #179
protobufoptional by @Donatas-L in #181
Full Changelog: v4.1.0...v4.2.0