Skip to content

Releases: leontoeides/google_maps

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

v3.4.2

08 Feb 14:52
Compare
Choose a tag to compare

What's Changed

  • 3.4.2: 2024-02-08: google_maps::GoogleMapsClient::new has been deprecated in favour of google_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

23 Dec 14:51
Compare
Choose a tag to compare
  • 3.4.1: 2023-12-23: Added Landmark and Other variants to the PlaceType 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

15 Nov 18:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.3.2...v3.4.0

v3.3.2

20 Sep 02:02
Compare
Choose a tag to compare

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

Full Changelog: v3.3.1...v3.3.2

v3.3.1

01 Sep 21:35
Compare
Choose a tag to compare

Place Details does not always return a result, now an Option.