# Changelog ## [0.5.1](https://github.com/jun-sheaf/geocoding-async/compare/v0.5.0...v0.5.1) (2024-05-01) ### Bug Fixes * Update docs ([bec2b73](https://github.com/jun-sheaf/geocoding-async/commit/bec2b7391e848dd20e15ca3d0948f928252fbf57)) ## [0.5.0](https://github.com/jun-sheaf/geocoding-async/compare/v0.4.0...v0.5.0) (2024-05-01) ### ⚠ BREAKING CHANGES - migrate to asynchronous implementation Due to previous security issues caused by the `chrono` crate the `NaiveDateTime` was replaces by a `UnixTime` type: ```diff - use chrono::NaiveDateTime; - use geocoding_async::opencage::Timestamp; + use geocoding_async::opencage::{Timestamp, UnixTime}; let created_http = "Mon, 16 May 2022 14:52:47 GMT".to_string(); let ts_in_seconds = 1_652_712_767_i64; - let created_unix = NaiveDateTime::from_timestamp(ts_in_seconds, 0); + let created_unix = UnixTime::from_seconds(ts_in_seconds); let timestamp = Timestamp { created_http, created_unix }; + assert_eq!(ts_in_seconds, created_unix.as_seconds()); ``` ### Features - Migrate to asynchronous implementation ([ee58980](https://github.com/jun-sheaf/geocoding-async/commit/ee58980ea0a7f270b9f553c75869bdddd860a33c)) ## 0.4.0 - Update CI to use same Rust versions as geo - Switch GeoAdmin API to WGS84 - - Migrate to Github Actions - Update tests and dependencies - Update geo-types - Derive Debug where necessary - Fix OpenCage schema ## 0.3.1 - Allow usage of `rustls-tls` feature ## 0.3.0 - Update reqwest and hyper - - Upgrade geo-types - - Allow optional parameters for Opencage - - Derive `Clone` for Opencage results - ## 0.2.0 - Made Opencage and Openstreetmap responses/results serializable so it's easier to store them afterwards - - Replace Failure with Thiserror - - Update geo-types to 0.5 - - Update reqwest and hyper - ## 0.1.0 - Added OpenStreetMap provider - - Fixes to keep up with OpenCage schema updates - - Switch to 2018 edition, use of `Failure`, more robust OpenCage schema definition, more ergonomic specification of bounds for OpenCage - https://github.com/georust/geocoding/pull/15