All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Version 1.3.1 — 2020-09-17
- Prevent the order count transient from being set before $wc_order_types is populated (#52)
- Move the limiter initialization from "woocommerce_loaded" to "init" (#52)
- Change the format of the
{current_interval}
and{next_interval}
placeholders if the interval is less than 24 hours (#53)
Version 1.3.0 — 2020-07-16
- Add a new "Reset order limiting" tool to WooCommerce › Status › Tools (#42)
- Introduce new filters —
limit_orders_pre_count_qualifying_orders
andlimit_orders_pre_get_remaining_orders
— for customizing the logic around counting qualifying and remaining orders, respectively (#41) - Automatically clear the cached order count when settings are changed or when WooCommerce order transients are cleared (#37, #42)
- Bump "WC tested up to" to 4.3 (#43).
- Added missing plugin headers (#32)
Version 1.2.1 — 2020-05-08
- Bump "WC tested up to" to 4.1 (#28).
Version 1.2.0 — 2020-04-27
- Added "hourly" as a default interval for stores (#20).
- Added new placeholders to user-facing messaging (#20, #26):
{current_interval:date}
(alias of{current_interval}
){current_interval:time}
{next_interval:date}
(alias of{next_interval}
){next_interval:time}
{timezone}
- Added documentation for adding custom intervals, placeholders (#23).
- The settings screen will now show custom placeholders that have been registered via the "limit_orders_message_placeholders" filter (#20).
- Improve autoloader performance and remove type-hint from PSR-4 autoloader (#17).
Version 1.1.2 - 2020-04-17
- Override WordPress' default
LIMIT
on queries, which was preventing stores with limits > 10 from stopping orders (#13).
Version 1.1.1 — 2020-04-16
- Don't attempt to display customer-facing notices in WP Admin (#10).
- Updated PHPUnit to 7.x for all but PHP 7.0
Version 1.1.0 — 2020-04-15
- Include a "Limit Orders" section in the WooCommerce System Status Report (#8).
- Add GitHub issue templates and contributing documentation (#5, #6).
Version 1.0.0 — 2020-03-27
Initial plugin release.