*** Automatic FFL for WooCommerce ***

2026-04-28 - Version 1.0.19
* Refactored WooCommerce Blocks dealer selection to use the documented child-block API (registerCheckoutBlock + parent metadata + lock attribute for forced auto-insertion)
* Removed React createPortal targeting of .wp-block-woocommerce-checkout-shipping-address-block
* Removed CSS hiding rules targeting .wc-block-components-* private classes
* Removed MutationObserver watching the use-shipping-as-billing checkbox
* Removed inline first/last name inputs (the WooCommerce shipping card now owns those)
* Added :has() based CSS that hides non-name shipping fields when a dealer is selected, using standard input name attributes (Store API order schema)
* Added billing address restoration on dealer pick: customer's original address is mirrored into billing and "use shipping as billing" is unchecked
* Fixed the ammo-only restricted-state bug where the FFL dealer prompt rendered at the bottom of checkout instead of inside the shipping section
* Fixed an ammo-only classic checkout bug where changing the state after picking an FFL dealer left the dealer in place, causing the order to ship to the previous state
* Apply the FFL-required hide-fields rule whenever an FFL is required (not only after a dealer is picked), so Edit-mode shows only first/last name in both pre- and post-pick states
* Added a "Shipping Address" heading at the top of the classic shipping form when an FFL is required, replacing the hidden "Ship to a different address?" heading
* Hide the "Use same address for billing" toggle in Blocks checkout when an FFL is required (billing cannot equal shipping when shipping goes to a licensed dealer)
* Register Blocks CSS via wp_enqueue_block_style so it loads on FSE templates, secondary pages, and other render paths is_checkout() misses

2026-04-24 - Version 1.0.18
* Added customer first/last name capture on FFL shipping addresses (classic + Blocks checkout, logged-in and guest flows)
* Moved FFL dealer map below the shipping form in classic checkout
* Fixed shipping-form visibility selector in classic checkout
* Render FFL UI inside the shipping address block in WooCommerce Blocks checkout

2026-04-09 - Version 1.0.17
* Added dismissible admin review request notice with snooze option

2026-02-16 - Version 1.0.16
* Links are clickable in order comments

2026-02-10 - Version 1.0.15
* Added save-for-later functionality for mixed carts containing both FFL and non-FFL items
* Added ammunition detection and state-based shipping restrictions

2026-01-26 - Version 1.0.14
* Added WooCommerce Blocks (block-based checkout) support for FFL dealer selection
* Improved DOM manipulation with MutationObserver for more reliable element detection
* Enhanced error handling and defensive coding practices
* Fixed React hooks order compliance

2026-01-23 - Version 1.0.13
* Upgraded to new iframe-based dealer map for improved performance and reliability
* Simplified dealer selection interface with streamlined modal experience
* Tested with WordPress 6.9 and WooCommerce 10.4.3

2025-12-15 - Version 1.0.12
* Replaced FontAwesome icons with SVGs for better theme compatibility (fixes issues with Divi theme and other themes that remove FontAwesome)

2025-04-15 - Version 1.0.11
* Fixes redirect loop on cart page when WooCommerce payments is also installed

2025-04-15 - Version 1.0.10
* Tested with latest WordPress

2024-12-16 - Version 1.0.9
* Updated tested up to version

2024-11-19 - Version 1.0.8
* Fixes bug where customers couldn't ship normal products to a different place than the billing address

2024-11-15 - Version 1.0.7
* Adds shipping calculation trigger upon dealer selection

2024-09-23 - Version 1.0.6
* CSS updates for checkout

2024-03-07 - Version 1.0.5
* Updates for Wordpress standards

2023-09-12 - Version 1.0.4
* Fix the Checkout Shipping Address not being displayed for non-FFL Checkout
* Minor changes to the Version Information on the Plugin Settings

2023-08-31 - Version 1.0.3
* Adds the Version Information to the Settings Plugin Screen

2023-08-24 - Version 1.0.2
* Style fixes for checkout
* Added Import/Export/Quick and Bulk Edit features to the Products
* 'FFL Required' field is now a checkbox instead of a product attribute to improve product management

2023-08-16 - version 1.0.1
* Bug Fixes

2023-07-24 - version 1.0.0
* Initial Release.
