Releases: leontoeides/google_maps
v3.5.2
-
3.5.2: 2024-06-05: New, optional
polyline
feature. This allows for easy conversion ofgoogle_maps
types (such as theRoute
and theStep
) to a geoLineString
. Both thepolyline
andgeo
features must also be enabled for this to be available. -
3.5.2: 2024-06-05: Improved support for rust's geo ecosystem with more type conversion traits.
v3.5.1
-
3.5.1: 2024-06-04: Fixed some
Vec
fields by ensuring that the serdedefault
field attribute is applied to allVec
fields in response structs. Thanks to chunhui2001 for the pull request and to PrinceOfBorgo for issue #27. -
3.5.1: 2024-05-20: Added
duration
method to thePlaceOpeningHoursPeriod
type which will measure the length of the opening hours period. -
3.5.1: 2024-05-19: Improved
GoogleMapsClient
interface ergonomics. Client methods now useimpl Into<Type>
and generics extensively. This means that this client will take care of many type conversions needed to build your Google Maps requests. -
3.5.1: 2024-05-11: Added an
Other
variant to most enums. The will future-proof the crate for when Google Maps adds additional variants. Previously, serde would return an error when encountering unknown variants.
v3.5.0
-
3.5.0: 2024-05-03: Improved ergonomics surrounding
Location
andWaypoint
types. New functions:from_address
,from_place_id
,try_from_f32
andtry_from_f64
. -
3.5.0: 2024-05-03:
reqwest-maybe-middleware
was forked and integrated intogoogle_maps
for now, until the crate can be updated. maybe-middleware has also been properly feature-gated and is turned-off by default. -
3.5.0: 2024-03-10: Addressed deprecated functions in the new
chrono
version0.4.37
. -
3.5.0: 2024-03-10: The ol'
cargo clippy --fix
-
3.5.0: 2024-03-03: Fixes for certain feature gate combinations.
-
3.5.0: 2024-02-28: Improved string-passing ergonomics.
-
3.5.0: 2024-02-22: ⚠ Breaking change: Replaced all instances of
Option<Vec<_>>
with aVec<_>
.The
Option<Vec<_>>
was originally employed to getserde
to deserialize Google Maps data without any extra options. However, working around anOption
is extra, unnecessary work.#[serde(default)]
is now used to return an emptyVec
when there are no elements, rather than returning aNone
.
What's Changed
New Contributors
Full Changelog: v3.4.2...v3.5.0
v3.4.2
What's Changed
-
3.4.2: 2024-02-08:
google_maps::GoogleMapsClient::new
has been deprecated in favour ofgoogle_maps::GoogleMapsClient::try_new
-
3.4.2: 2024-02-08: Minor breaking change:
google_maps::GoogleMapsClient.with_rate
now uses a reference to the selected
API (i.e..with_rate(&google_maps::Api::All)
instead of.with_rate(google_maps::Api::All)
) -
3.4.2: 2024-02-07:
README.MD
makeover. Thank you seanpianka! -
docs: update readme to follow conventional style by @seanpianka in #22
-
3.4.2: 2024-02-07: Applied many
clippy
suggestions.
Full Changelog: v3.4.1...v3.4.2
v3.4.1
-
3.4.1: 2023-12-23: Added
Landmark
andOther
variants to thePlaceType
enum. -
3.4.1: 2023-12-10: Added default timeouts for the
reqwest
client.
Full Changelog: v3.4.0...v3.4.1
v3.4.0
What's Changed
- Add support for reqwest_maybe_middleware, make small structs Copy by @ChristianGoldapp in #20
New Contributors
- @ChristianGoldapp made their first contribution in #20
Full Changelog: v3.3.2...v3.4.0
v3.3.2
What's Changed
- Add support for distance_meters in Places Autocomplete response by @victorcrimea in #18
- Use u64 type to accomodate all possible values for user_ratings_total… by @victorcrimea in #19
New Contributors
- @victorcrimea made their first contribution in #18
Full Changelog: v3.3.1...v3.3.2
v3.3.1
Place Details does not always return a result, now an Option
.