# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.5.7] – 2026-09-07
### Added
– `Plugin URI` and `Author URI` headers in the main plugin file so the distribution metadata is complete.
### Changed
– Updated compatibility declarations to WordPress 7.1 and WooCommerce 11.1.0.
## [1.5.6] – 2026-06-17
### Fixed
– Classic (shortcode) checkout now shows the specific limit message instead of only the generic “There are some issues with your cart” notice (printed via `woocommerce_cart_has_errors`).
### Security
– Escaped product and category names and cast quantities in cart notices (`esc_html` / `absint`).
– Hardened the admin regional-limits script to build state “ elements safely instead of concatenating HTML.
## [1.5.5] – 2026-06-17
### Added
– WP Desk licensing and automatic update integration (license management and update checks via the WP Desk service).
## [1.5.0] – 2026-06-02
### Added
– WP Desk licensing and update integration.
### Changed
– Full feature set available out of the box (product, category, and regional limits).
– Moved admin JavaScript and CSS to enqueued asset files; removed inline “ and “ output.
– Prefixed all class names, options, settings group, script handles, and JS objects (MoqLimWc / moqlimwc_).
– Updated compatibility metadata (WordPress 7.0, WooCommerce 10.7.0).
### Removed
– Freemius SDK and all licensing/upgrade prompts.
### Fixed
– Settings could not be saved because the sanitize callbacks were declared private (fatal error on save).
## [1.1.1] – 2026-03-08
### Added
– WooCommerce HPOS (custom order tables) and Cart/Checkout Blocks compatibility declarations.
– Quantity limit propagation for WooCommerce Cart and Checkout Blocks.
### Changed
– Package focused on the core feature set.
## [1.1.0] – 2026-02-16
### Added
– Regional limits targeting country, state/province, and postal/ZIP code.
– Priority-based rule matching (postal code > state > country).
### Changed
– Improved settings page UI/UX.
– Error messages provide more context.
### Fixed
– Minor PHP warnings on first activation.
## [1.0.0] – 2026-01-15
### Added
– Initial release.
– Global minimum and maximum order amounts.
– Product-specific quantity limits.
– Category-based quantity limits.
– Multi-language support (English, Polish).