Releases: leontoeides/google_maps
v3.7.3
3.7.3
- 2024-11-07: Merged a patch for
GeocoderStatsu
to allow for round-tripping. Thank you for the PR xyres137
What's Changed
New Contributors
Full Changelog: v3.7.2...v3.7.3
v3.7.2
3.7.2
-
2024-11-07: Corrected issue with
Status
enums not round-tripping through de-serialisation and re-serialisation. -
2024-11-07: Dependency bumps.
Full Changelog: v3.7.1...v3.7.2
v3.7.1
3.7.1
- 2024-10-15: Small tweaks to the features. Put back
enable-reqwest
.
3.7.0
-
2024-10-05: If your crate directly references the
enable-reqwest
feature in this crate, it has been renamed toreqwest
as of version 3.7.0. -
2024-10-05: Many features have been added, some features have been renamed. Please see the Cargo.toml for a complete list of available features. The default features have changed a bit (for example,
reqwest/http2
had been accidentally left out but is now enabled). No negative effect is expected. -
2024-10-05: Moved crate from using serde_json for JSON parsing over to simd-json.
Full Changelog: v3.6.0...v3.7.1
v3.6.0
- 2024-09-21: Bump dependencies.
Full Changelog: v3.5.5...v3.6.0
v3.5.5
- 2024-07-25: Added additional conversion traits between
Location
&Waypoint
andLatLng
for improved ergonomics.
Full Changelog: v3.5.4...v3.5.5
v3.5.4
- 2024-06-15: This crate now instructs
serde
to not serialize empty fields. This may potentially save a bit of disk space and bandwidth. - 2024-07-25: Added support for getting
LatLng
structs from tuples(43.68, 7.32)
- 2024-07-25: Applied
clippy
suggestions - 2024-07-25: Dependency bumps
Full Changelog: v3.5.3...v3.5.4
v3.5.3
-
2024-06-09: Increased flexibility of interface by using more
impl Into<Type>
parameters. -
2024-06-09: Clean-up of
tracing
messages, instrumentation and log levels.
Full Changelog: v3.5.2...v3.5.3
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