*** WooCommerce Distance Rate Shipping Changelog *** 2024-03-25 - version 1.4.1 * Tweak - WordPress 6.5 Compatibility. 2024-01-30 - version 1.4.0 * Add - Third parameter in `woocommerce_shipping_distance_rate_is_available` filter. 2024-01-08 - version 1.3.5 * Fix - WordPress Coding Standards. 2023-12-11 - version 1.3.4 * Add - Declared cart/checkout blocks compatibility. 2023-09-18 - version 1.3.3 * Update - Security update. 2023-08-29 - version 1.3.2 * Fix - Deprecated error on PHP 8.2. 2023-08-08 - version 1.3.1 * Add - Dev dependencies to run coding standards. 2022-10-25 - version 1.3.0 * Add - Declared HPOS compatibility. 2022-09-28 - version 1.2.0 * Add - Enable automated translations delivery. 2022-09-06 - version 1.1.1 * Fix - Exclude unnecessary files from plugin zip file. 2022-07-04 - version 1.1.0 * Tweak - WC 6.6 and WP 6.0 compatibility. 2022-05-03 - version 1.0.36 * Fix - Unit field always being set to 'distance'. 2022-03-28 - version 1.0.35 * Fix - Virtual products are not exempt from quantity-based rules when in the cart with physical products. * Tweak - WC 6.3 compatibility. 2022-03-17 - version 1.0.34 * Fix - Distance shipping rule does not consider a distance less than 50 meter. * Fix - Order total rule use price before tax when prices entered inclusive of tax. 2022-03-03 - version 1.0.33 * Fix - Returns functionality to rule cost calculation hooks. 2022-02-08 - version 1.0.32 * Fix - Notice error : "undefined offset: 0" after saving the rule. 2022-01-25 - version 1.0.31 * Add - Advanced mode that allowing user to have AND/OR condition for each row. 2022-01-05 - version 1.0.30 * Fix - Missing Languages folder and .pot file in release-ready zip file. 2021-12-13 - version 1.0.29 * Fix - Allow localization based on WordPress language setting. * Tweak - WC 5.9 compatibility. 2021-08-31 - version 1.0.28 * Add - Added `woocommerce_shipping_distance_rate_get_customer_address_string` filter. * Add - Added `woocommerce_shipping_distance_rate_get_shipping_address_string` filter. 2021-06-10 - version 1.0.27 * Add - Added `google_distance_matrix_request_params` filter. 2020-09-23 - version 1.0.26 * Tweak - Change "Fixed Cost" to "Base Cost" on settings page and improve tooltips. * Tweak - Update plugin author name. 2020-08-14 - version 1.0.25 * Fix - Replace deprecated jQuery methods. * Tweak - WordPress 5.5 compatibility. * Tweak - Remove WC < 2.6 support. 2020-07-07 - version 1.0.24 * Fix - Don't calculate shipping cost when full address is not provided. 2020-06-16 - version 1.0.23 * Fix - Take into consideration all parameters before caching when calling the `get_distance` function. 2020-06-10 - version 1.0.22 * Tweak - WC 4.2 compatibility. 2020-04-29 - version 1.0.21 * Tweak - WC 4.1 compatibility. 2020-04-08 - version 1.0.20 * Fix - 'Abort' feature should abort instead of break. 2020-03-29 - version 1.0.19 * Fix - Return shipping rate when shipping to a different location and billing address is not set yet. * Fix - Update build script. 2020-02-27 - version 1.0.18 * Tweak - Remove legacy code. * Tweak - WC tested up to 4.0 2020-01-30 - version 1.0.17 * Fix - Canadian address string causes zero results for certain addresses. * Fix - Use proper escaping for attributes. 2020-01-15 - version 1.0.16 * Tweak - Compatibility for adjustments in shipping calculator in WC 3.5. 2019-12-03 - version 1.0.15 * Add - Added abort option for rates to drop all rates if a match is made. * Fix - Return shipping rates without using break. 2019-11-04 - version 1.0.14 * Tweak - WC tested up to 3.8. 2019-10-30 - version 1.0.13 * Fix - Rule break checking always returned true once one rule was met. 2019-08-08 - version 1.0.12 * Tweak - WC tested up to 3.7. * Fix - Comma separated currency was not allowed. 2019-04-16 - version 1.0.11 * Tweak - WC tested up to 3.6 2018-10-09 - version 1.0.10 * Update - WC tested up to 3.5 2018-02-23 - version 1.0.9 * Fix - A default distance rate should not be shown before address is entered. * Fix - Google API doc link update. * Update - WC tested up to 3.4 * Add - GDPR privacy support. 2018-01-09 - version 1.0.8 * Tweak - Add new filters to override rule cost for each calculated conditions (`woocommerce_distance_rate_shipping_rule_cost_distance_shipping`, `woocommerce_distance_rate_shipping_rule_cost_time_shipping`, `woocommerce_distance_rate_shipping_rule_cost_weight_shipping`, `woocommerce_distance_rate_shipping_rule_cost_order_total_shipping`, and `woocommerce_distance_rate_shipping_rule_cost_quantity_shipping`). This allows multiple conditions combined with `AND` or `OR` operations. See https://gist.github.com/gedex/0e444c1026604416ba8cad8ebaf4be6e for an example. * Fix - Ensure all min/max accepts decimal values except quantity. 2017-06-19 - version 1.0.7 * Fix - Issue where decimal values/rules not being honored -- missing round distance down to 1 decimal places towards zero, when it's half way there. * Fix - Issue where transient is not used properly. * Tweak - Added filter for Distrance Matrix API response. 2017-05-17 - version 1.0.6 * Tweak - Added show duration option as cost label suffix. * Tweak - Better formatting of request and resopnse in debug message. * Fix - Issue where multiple instances returns only one rate. * Tweak - Refine state and country in address lookup. 2016-10-24 - version 1.0.5 * Fix - Distance type min/max not allowing decimal precision. * New - Shipping zone support. 2016-03-26 - version 1.0.4 * Fix - Prevent first rule from applying when no rules are matched. * Fix - Accuracy of distance due to origin address fields are combining state and country. * New - State and country field is now separated for return more accurate distance. 2016-03-03 - version 1.0.3 * Fix - Avoid calculating the rate if only the country is selected. 2015-02-17 - version 1.0.2 * Fix - Convert metric to imperial as Google only returns metric values. 2015-02-03 - version 1.0.1 * Fix - Distance unit only worked in km, now support mi 2014-07-22 - version 1.0.0 * Initial release