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

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

### Added
- Account and Job Title contact fields can now be mapped on the Form Builder > Marketing > ActiveCampaign screen.
- Dynamic filter `wpforms_active_campaign_api_v3_endpoints_resource_get_limit_$type` to change the limit of any resource to retrieve - custom fields, tags, contacts, lists and events.

### Changed
- The minimum WPForms version supported is 1.9.0.

### Fixed
- PHP notice generated when trying to send a form with a selected but not set up custom meta field.

## [1.5.0] - 2022-09-20
### Fixed
- Warning notice on form submissions when no ActiveCampaign account is selected.

## [1.4.0] - 2022-06-28
### Added
- Possibility to use Smart Tags in Notes.

### Changed
- Minimum WPForms version supported is 1.7.5.
- Reorganized locations of 3rd party libraries.

## [1.3.0] - 2022-05-26
### IMPORTANT
- Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing the new WPForms ActiveCampaign. Failure to do that will disable the new WPForms ActiveCampaign functionality.

### Added
- Compatibility with WPForms 1.6.8 and the updated Form Builder.

### Changed
- Minimum WPForms version supported is 1.7.3.
- Replaced jQuery.isFunction() (deprecated as of jQuery 3.3) usages with a recommended counterpart.

### Fixed
- Properly handle the situation when trying to change the template for the same form multiple times.
- Send to ActiveCampaign form submission data even when the "Entry storage" option is disabled in the Form Builder.
- CSS improvements of Add New Event button when a connection with the "Event Tracking" action was created.

## [1.2.1] - 2020-08-05
### Fixed
- API key/token expiration detection missing.
- Properly initialize a template inside the Form Builder addon configuration area for conditional logic.
- Allow a simple format of the form "Name" field to correctly pass data to ActiveCampaign "Full Name" field.

## [1.2.0] - 2020-04-29
### Changed
- Greatly improved tags management UI.
- Improved various field labels/descriptions inside the Form Builder.

### Fixed
- Compatibility with WordPress Multisite when WPForms activated Network-wide, and addon - site-wide.
- Do not send Event-related ActiveCampaign API requests when there are no required account ID and event key.

## [1.1.0] - 2020-03-16
### Added
- Process smart tags inside notes to be recorded for each new/updated contact.

### Changed
- Increase the number of records returned from ActiveCampaign API from 20 to 100.

## [1.0.0] - 2020-03-03
### Added
- Initial release.
