Skip to content

Releases: leontoeides/google_maps

v3.7.3

08 Nov 14:44
Compare
Choose a tag to compare

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

  • Complements serialisation/deserialisation bug-fix released on 3.7.2. by @xyres137 in #31

New Contributors

Full Changelog: v3.7.2...v3.7.3

v3.7.2

08 Nov 04:03
Compare
Choose a tag to compare

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

20 Oct 00:08
Compare
Choose a tag to compare

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 to reqwest 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

21 Sep 21:02
Compare
Choose a tag to compare
  • 2024-09-21: Bump dependencies.

Full Changelog: v3.5.5...v3.6.0

v3.5.5

25 Jul 19:02
Compare
Choose a tag to compare
  • 2024-07-25: Added additional conversion traits between Location & Waypoint and LatLng for improved ergonomics.

Full Changelog: v3.5.4...v3.5.5

v3.5.4

25 Jul 16:35
Compare
Choose a tag to compare
  • 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

09 Jun 18:28
Compare
Choose a tag to compare
  • 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

05 Jun 14:59
Compare
Choose a tag to compare
  • 3.5.2: 2024-06-05: New, optional polyline feature. This allows for easy conversion of google_maps types (such as the Route and the Step) to a geo LineString. Both the polyline and geo 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

04 Jun 15:40
Compare
Choose a tag to compare
  • 3.5.1: 2024-06-04: Fixed some Vec fields by ensuring that the serde default field attribute is applied to all Vec 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 the PlaceOpeningHoursPeriod type which will measure the length of the opening hours period.

  • 3.5.1: 2024-05-19: Improved GoogleMapsClient interface ergonomics. Client methods now use impl 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

04 May 16:09
Compare
Choose a tag to compare
  • 3.5.0: 2024-05-03: Improved ergonomics surrounding Location and Waypoint types. New functions: from_address, from_place_id, try_from_f32 and try_from_f64.

  • 3.5.0: 2024-05-03: reqwest-maybe-middleware was forked and integrated into google_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 version 0.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 a Vec<_>.

    The Option<Vec<_>> was originally employed to get serde to deserialize Google Maps data without any extra options. However, working around an Option is extra, unnecessary work.

    #[serde(default)] is now used to return an empty Vec when there are no elements, rather than returning a None.

What's Changed

  • Make html_instructions from directions.Step optional by @azerpas in #24

New Contributors

Full Changelog: v3.4.2...v3.5.0