*** Changelog *** = 1.2.5 - 2024-02-26 = * Dev - Apply same code style (call static method) within file. * Dev - Bump WooCommerce "tested up to" version 8.6. * Dev - Bump WooCommerce minimum supported version to 8.4. * Fix - Booking Calendar displays incorrect availability for Accommodation Products. * Fix - Missing product ID when getting check-in time. = 1.2.4 - 2024-02-05 = * Dev - Bump PHP "tested up to" version 8.3. * Dev - Bump WooCommerce "tested up to" version 8.5. * Dev - Bump WooCommerce minimum supported version to 8.3. * Dev - Bump WordPress minimum supported version to 6.3. = 1.2.3 - 2024-01-08 = * Dev - Declare compatibility with WooCommerce Blocks. * Dev - Bump PHP minimum supported version to 7.4. * Dev - Bump WooCommerce "tested up to" version 8.4. * Dev - Bump WooCommerce minimum supported version to 8.2. = 1.2.2 - 2023-12-11 = * Dev - Add end-to-end tests using Playwright. * Dev - Update default behavior to use a block-based cart and checkout in E2E tests. * Dev - Bump WooCommerce "tested up to" version 8.3. * Dev - Bump WooCommerce minimum supported version to 8.1. * Dev - Bump WordPress "tested up to" version 6.4. * Dev - Bump WordPress minimum supported version to 6.2. = 1.2.1 - 2023-10-10 = * Dev - Hard code the paths to the asset data files. * Dev - Update PHPCS and PHPCompatibility GitHub Actions. * Fix - Fatal Error when WooCommerce is disabled. * Tweak - Indicate compatibility with WooPayments extension. = 1.2.0 - 2023-09-05 = * Dev - Bump PHP minimum supported version from 7.0 to 7.3. * Dev - Bump WooCommerce "tested up to" version from 7.8 to 8.0. * Dev - Bump WooCommerce minimum supported version from 7.2 to 7.8. * Dev - Bump WordPress "tested up to" version from 6.2 to 6.3. = 1.1.43 - 2023-07-17 = * Dev - Bump WooCommerce "tested up to" version 7.8. * Dev - Bump WooCommerce minimum supported version from 6.0 to 7.2. * Dev - Bump WordPress minimum supported version from 5.6 to 6.1. = 1.1.42 - 2023-06-14 = * Dev - Bump WooCommerce "tested up to" version to 7.6. * Dev - Bump WooCommerce minimum supported version from 6.0 to 6.8. * Dev - Bump WordPress "tested up to" version to 6.2. * Dev - Bump WordPress minimum supported version from 5.6 to 5.8. * Dev - Added new GitHub Workflow to run Quality Insights Toolkit tests. = 1.1.41 - 2023-05-26 = * Dev - Add product unit filter, `wc_bookings_product_duration_fallback`, to add night unit support. * Dev - Fix linting errors found by the Quality Insights Toolkit. = 1.1.40 - 2023-05-12 = * Dev - Added a new filter, `woocommerce_accommodation_booking_get_check_times`, to change the check-in/out timings per product. * Fix - Fully booked days show as partially booked - Day after booking shows partially booked. = 1.1.39 - 2023-03-14 = * Dev - Bump `http-cache-semantics` from 4.1.0 to 4.1.1. = 1.1.38 - 2023-03-13 = * Dev - Bump `http-cache-semantics` from 4.1.0 to 4.1.1. = 1.1.37 - 2023-01-27 = * Dev - Bump `scss-tokenizer` from 0.3.0 to 0.4.3 and `node-sass` from 7.0.1 to 7.0.3. * Fix - Fatal error when Rate is empty and Range Cost is added. * Tweak - Bump WooCommerce "tested up to" from 6.7 to 7.3. * Tweak - Bump WordPress tested up to version from 6.0 to 6.1. * Tweak - Bump minimum required WordPress version from 4.1 to 5.6. = 1.1.36 - 2022-11-24 = * Update - Bump NPM to v8. * Update - Bump composer to v2. * Update - Bump node to v16. = 1.1.35 - 2022-11-09 = * Add - Declare support for High-performance Order Storage ("HPOS"). * Bump minimist from 1.2.5 to 1.2.6. * Fix - Showing check-in date on the cart page instead of booking date. * Tweak - Minimum Version Bumps: WP 5.6, Woo 6.0, & PHP 7.0. = 1.1.34 - 2022-11-01 = * Fixed - PHP 8.0/8.1 Compatibility issue fixed: Critical error when cost in range is empty if Standard room rate is empty as well. = 1.1.33 - 2022-08-10 = * Fix - Build artifact includes node_modules. = 1.1.32 - 2022-08-01 = * Tweak - WC 6.7.0 compatibility. * Update all npm dependencies. = 1.1.31 - 2022-07-06 = * Fix - Fatal error with PHP 8.0 when Base Cost/Block Cost is empty. = 1.1.30 - 2022-06-02 = * Fix - PHP Warnings on the setting page. * Tweak - Bump tested up to WordPress version 6.0. = 1.1.29 - 2022-06-02 = * Fix - PHP Warnings on the setting page. * Tweak - Bump tested up to WordPress version 6.0. = 1.1.27 - 2022-06-02 = * Fix - PHP Warnings on the setting page. * Tweak - Bump tested up to WordPress version 6.0. = 1.1.26 - 2021-11-30 = * Fix - Bump y18n from 3.2.1 to 3.2.2. * Tweak - WC 5.9 compatibility. * Tweak - WP 5.8 compatibility. = 1.1.25 - 2021-10-28 = * Tweak - Change start days settings label to selectable days to be more accurate with functionality. * Tweak - WC 5.8 compatibility. * Tweak - WP 5.8 compatibility. = 1.1.24 - 2021-05-11 = * Fix - Added tested up to comment for WordPress compatibility to make it easier to use common tooling. * Fix - Replace deprecated jQuery 3 methods. = 1.1.23 - 2021-02-25 = * Fix - Dev - Fix: Add casts to float before applying the 'abs' function to potentially empty strings for compatibility with PHP8. * Tweak - WC 5.0 compatibility. = 1.1.22 - 2020-10-27 = * Tweak - WC 4.6 compatibility. = 1.1.21 - 2020-09-29 = * Fix - Skip formatting dates in ICS output for Accommodation Bookable products. * Fix - Allow products to be specified as virtual. * Fix - Use time for transient to skip autoload. * Tweak - Migrate Settings from Product to Bookings screen. = 1.1.20 - 2020-08-25 = * Fix - Do not round cost values in range types in Rates section. = 1.1.19 - 2020-08-19 = * Tweak - WordPress 5.5 compatibility. = 1.1.18 - 2020-07-08 = * Fix - Existing booking checkout date showed as fully booked and not selectable. = 1.1.17 - 2020-06-10 = * Tweak - WC 4.2 compatibility. = 1.1.16 - 2020-05-01 = * Tweak - WC 4.1 compatibility. = 1.1.15 - 2020-03-06 = * Add - Add basic unit tests suite. * Fix - Fix missing translation for resource duration display. * Tweak - WP tested up to 5.4. = 1.1.14 - 2020-02-26 = * Fix - Person types are not copied over when duplicating an existing accommodations product. * Tweak - WC tested up to 4.0. = 1.1.13 2020-02-04 = * Fix - Proper escaping of some attributes. * Fix - Ensure unavailable dates are shown to be unavailable in calendar. = 1.1.12 - 2020-01-15 = * Fix - Overlapping rate calculation is incorrect. = 1.1.11 - 2019-11-04 = * Tweak - WC tested up to 3.8. = 1.1.10 - 2019-10-24 = * Fix - Integration with WooCommerce Product Add-ons. = 1.1.9 - 2019-08-09 = * Tweak - Update deprecated calls to WC_Bookings_Controller::get_all_existing_bookings since Bookings 1.15.0. * Tweak - WC tested up to 3.7. = 1.1.8 - 2019-06-10 = * Fix - Adds accommodation bookings support for WooCommerce Bookings Availability extension = 1.1.7 - 2019-06-03 = * Fix - Mismatch function declaration causing PHP warnings. = 1.1.6 - 2019-04-17 = * Remove - partially booked days styling. * Tweak - WC tested up to 3.6 = 1.1.5 - 2018-11-12 = * Fix - Overwrite get_duration function, to fix duration calculations. = 1.1.4 - 2018-10-23 = * Add - PAO 3.0 compatibility. * Fix - Check product object before calling method to prevent errors. = 1.1.3 = * Fix - Fatal error when disabling WooCommerce. * Fix - Undefined index notice. * Fix - Check for product before using it in order info. * Fix - Resource Costs not added for Custom Rate - Date Ranges. * Tweak - Add an option to autocomplete accommodation orders by allowing virtual accommodation products. * Fix - Remove duplicate person cost multiplier checkbox. = 1.1.2 = * Fix - Corrupted check-in/check-out dates in DB. * Update - WC 3.3 compatibility = 1.1.1 = * Fix - PHP Notice when fully booked array is empty. * Fix - Bookings outside of available range being checked for availability. * Fix - Maximum number of nights allowed option set to 0 breaks page. * Fix - Bookable product base cost not being cleared when changing to an Accommodation product. * Fix - Update _wc_booking_block_cost when base cost is updated. = 1.1.0 = * Fix - Display cost not used when presenting price to the client. * Add - Add woocommerce_accommodation_bookings_range_picker_enabled to disable range picker. * Fix - Fallback to default checkin/checkout time values if none are set. * Fix - Fully booked days not showing correctly when persons are used. * Fix - Resource availability calculated incorrectly. * Add - New functionality to restrict the day a booking can start on. * Fix - Tax fields missing. * Fix - Display price is showing incorrectly. * Fix - Availability rules being ignored. * Fix - Today should be shown as booked if it has check out available only = 1.0.9 = * Fix - Additional updates for WooCommerce 3.0 compatibility. * Fix - Min/max rules not being applied. * Fix - Prices not being added to cart. * Fix - Align panel icons. * Fix - Fatal error when using older version of Bookings. * Fix - Logic for availability of dates with checkin/checkout. * Fix - Resource costs not being calculated. = 1.0.8 = * Fix - WooCommerce 3.0 compatibility. = 1.0.7 = * Fix - Partially booked dates not indicated on the calendar. * Fix - Updated deprecated WooCommerce function calls. * Fix - Plugin locale/text domain loaded after output is generated. = 1.0.6 = * Fix - Check in/out time is not respected when booking is created * Tweak - Also check if booking class exists when plugin is loaded in case directory's name is not woocommerce-bookings = 1.0.5 = * Add - Display cost settings field. * Fix - Undefined variable on $post using tab manager. = 1.0.4 = * Feature - Add support for Persons * Feature - Add support for Resources * Fix - Full compatibility with Product Add-ons. = 1.0.3 = * Fix - Per Night Price Displaying Incorrect above bookings form. * Fix - Plugin on WordPress.org does not include assets folder. * Fix - Compatibility with Product Add-ons. = 1.0.2 = * Fix - Fatal Error on submit booking request in admin bookings * Fix - Incorrect end date time in order info and cart * Fix - No manual booking if product type is Accommodations * Fix - Better dependencies checker * Fix - Fatal error when plugin is deactivated * Fix - Fix display of checkout times when using different date formats. * Fix - Fix documentation link. = 1.0.1 = * Fix - Typo in month names. * Fix - Fix check-in/check-out times in the booking list table. = 1.0 = * Initial version.