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

## [1.9.0] - 2024-11-07
### Changed
- The minimum WPForms version supported is 1.9.1.

### Fixed
- Compatibility with other marketing addons.

## [1.8.0] - 2024-08-13
### IMPORTANT
- Support for PHP 5.6 has been discontinued. If you are running PHP 5.6, you MUST upgrade PHP before installing WPForms Drip 1.8.0. Failure to do that will disable WPForms Drip 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 WPForms Drip 1.8.0. Failure to do that will disable WPForms Drip functionality.

### Added
- Ability to unsubscribe a customer from all mailings in Drip.
- Ability to select available custom fields from the Drip's API.
- Ability to create custom and use predefined custom field names.

### Changed
- The minimum WPForms version supported is 1.9.0.
- Load Drip data only when needed in the Form Builder to improve performance.
- Data is now sent asynchronously to Drip after form submission.

### Fixed
- Customers who unsubscribe through an email unsubscribe link or the Drip dashboard cannot resubscribe.
- Prevent API errors when new email and email field values are equal.
- Drip connections could be duplicated when switching between the Marketing and Settings tabs in the Builder.
- Ensure payment values are correctly formatted and properly escaped before sending to Drip.

## [1.7.0] - 2023-06-14
### Added
- Deprecation tooltip for the Lead Scoring feature by Drip.

### Changed
- Form fields values can now be directly mapped to Drip fields by their names, in addition to custom fields.
- Checkboxes have been replaced with fancy toggles on the addon settings screen in the Form Builder.
- Minimum WPForms version supported is 1.8.2.

## [1.6.0] - 2022-10-03
### Added
- GDPR-related data is added to the campaign subscriber meta information.

### Fixed
- Events were duplicated in the list after adding a new custom event for Drip.

## [1.5.0] - 2022-08-29
### IMPORTANT
- Support for PHP 5.5 has been discontinued. If you are running PHP 5.5, you MUST upgrade PHP before installing the new WPForms Drip and WPForms 1.7.6 (that the addon is relying on). Failure to do that will disable the WPForms Drip plugin.
- Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing the new WPForms Drip. Failure to do that will disable the new WPForms Drip functionality.

### Fixed
- Compatibility with WPForms 1.7.3 and below.
- Compatibility with WordPress Multisite installations.

## [1.4.3] - 2022-02-10
### Changed
- Minimum WPForms version supported is 1.7.5.
- Improved compatibility with PHP 8.
- Improved compatibility with WPForms 1.6.8+ and the updated Form Builder.
- Improved compatibility with jQuery 3.5 and no jQuery Migrate plugin.

### Fixed
- Do not generate errors when trying to activate the addon without WPForms plugin activated.
- CSS improvements of Add New Event button when a connection with the "Record Event" action is created.

## [1.4.2] - 2020-08-05
### Fixed
- Properly initialize a template inside the Form Builder addon configuration area for conditional logic.

## [1.4.1] - 2020-03-03
### IMPORTANT
- Support for PHP 5.4 has been discontinued. If you are running PHP 5.4, you MUST upgrade PHP before installing the new WPForms Drip and WPForms 1.5.9 (that the addon is relying on). Failure to do that will disable the WPForms Drip plugin.

### Fixed
- Compatibility with WPForms 1.5.9.

## [1.4.0] - 2020-01-09
### Added
- Send to Drip eu_consent and eu_consent_message values for each subscriber if GDPR is enabled in plugin settings.

### Changed
- Improved custom field name sanitization according to Drip specifications.
- Display errors in a Drip account addition popup in form Builder > Marketing tab when something went wrong.

### Fixed
- PHP warnings/errors that triggered in some use cases.
- Issue duplicating a form connected to Drip.
- Field value not passing to Drip if field ID was #0.

## [1.3.0] - 2019-07-23
### Added
- Complete translations for French and Portuguese (Brazilian).

## [1.2.1] - 2019-02-22
### Fixed
- Drip API library not properly loading.

## [1.2.0] - 2019-02-06
### Added
- Complete translations for Spanish, Italian, Japanese, and German.

### Fixed
- Typos, grammar, and other i18n related issues.

## [1.1.0] - 2018-08-28
### Added
- Ability to add a Drip account from the Form Builder.

### Changed
- Lead Score field is now visible only if the Prospect option is checked.
- Improved settings screen description and helpful texts.

### Fixed
- Multiple conditional logic rules now works fine for different Drip connections.

## [1.0.0] - 2018-06-04
- Initial release.
