# Changelog
All notable changes to this project will be documented in this file and formatted via [this recommendation](https://keepachangelog.com/).

## [1.13.0] - 2024-12-11
### Changed
- The minimum WPForms version supported is 1.9.2.3.
- Updated Square PHP library to v38.2.0.20241017.

### Fixed
- The Square field was displayed with incorrect width on mobile devices in the Divi and Gutenberg builders.
- The Hide Sublabels setting for the Credit Card field didn't work on the Block Editor screen.

## [1.12.0] - 2024-08-21
### Changed
- The minimum WPForms version supported is 1.9.0.
- Notice in the WPForms > Settings > Payments admin page when a selected currency does not match the currency of connected Square business location.
- Updated Square PHP library to v37.1.1.20240717.

### Fixed
- PHP deprecation message logged during Square payment submissions in some cases.
- Compatibility with the Divi page builder.

## [1.11.0] - 2024-06-17
### Changed
- Improved rendering of Payment Fields according to W3C requirements.

### Fixed
- Incorrect styles were applied for the Credit Card field when more than one form was embedded in a page.
- Colors from the Conversational and Lead Forms were not applied to the Credit Card field.
- In some cases, the Credit Card field was not displayed on the Elementor popup.
- There were no styles for Credit Card field on the Elementor editor screen.

## [1.10.0] - 2024-04-23
### Changed
- Updated Square PHP library to v35.1.0.20240320.

### Fixed
- There was a transparency applied for Credit card field preview in the admin pages.

## [1.9.0] - 2024-02-06
### Added
- Compatibility with the upcoming WPForms 1.8.7.
- Compatibility with the new version of the Square PHP library.

### Changed
- Updated Square PHP library to v34.0.1.20240118.

### Fixed
- There was a conflict with 3rd-party plugins that use the Square PHP library.
- Color from the Lead Forms was not applied to the Square credit card number.
- There was no auto scrolling to the Square Credit Card field in case of an error.
- The Square Credit Card field in an Elementor popup was added twice.

## [1.8.0] - 2023-09-26
### IMPORTANT
- Support for PHP 5.6 has been discontinued. If you are running PHP 5.6, you MUST upgrade PHP before installing WPForms Square 1.8.0. Failure to do that will disable WPForms Square functionality.
- Support for WordPress 5.4 and below has been discontinued. If you are running any of those outdated versions, you MUST upgrade WordPress before installing Square 1.8.0. Failure to do that will disable WPForms Square functionality.

### Changed
- Minimum WPForms version supported is 1.8.4.

## [1.7.0] - 2023-08-08
### Changed
- Minimum WPForms version supported is 1.8.3.

### Fixed
- Payment field was not displayed in the Elementor Builder.

## [1.6.0] 2023-06-26
### Added
- Compatibility with the upcoming WPForms Coupons addon release.

## [1.5.0] - 2023-06-08
### Added
- Compatibility with WPForms 1.8.2.

### Changed
- Minimum WPForms version supported is 1.8.2.

### Fixed
- JavaScript error occurred when the user was asked to enter verification information for a payment form locked with the Form Locker addon.

## [1.4.0] - 2023-03-21
### Added
- Compatibility with the upcoming WPForms v1.8.1 release.
- Notification if the form is being saved without enabling Square settings.

## Changed
- Field preview in the Form Builder and Block Editor now matches the frontend look.
- Minimum WPForms version supported is 1.7.6.

### Fixed
- On multi-page forms the field validation wasn't processed when changing pages.
- Square Card field was displayed too high if used with conditional logic.
- Previous page of the multi-page form could not be opened without filling Credit Card Number.
- Square field preview in the Block Editor was missing the Card subfield.

## [1.3.0] - 2022-08-10
### Added
- Compatibility with the WPForms PayPal Commerce addon.

### Changed
- Minimum WPForms version supported is 1.7.5.5.

## [1.2.0] - 2022-07-20
### Changed
- Minimum WPForms version supported is 1.7.5.

### Fixed
- The form couldn't be submitted if several configured payment gateways were executed according to the Conditional Logic rules.
- The `wpforms_square_refresh_connection` Action Scheduler task was missing in some edge cases.

## [1.1.0] - 2022-03-16
### Added
- Compatibility with WPForms 1.7.3.

### Changed
- Minimum WPForms version supported is 1.7.3.

### Fixed
- Improved performance of the Action Scheduler.

## [1.0.0] - 2021-09-14
### Added
- Initial release.
