# Change Log

All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](http://semver.org/) and [Keep a CHANGELOG](http://keepachangelog.com/).

## [Unreleased][unreleased]
-

## [4.5.0] - 2026-05-13

### Added

- Added namespace declaration and strict types to improve code quality.
- Added automattic/jetpack-autoloader dependency for better plugin compatibility.
- Added Rector configuration with PHP sets for automated code modernization.
- Added void return types to callback functions.
- Registered form action via filter hook for improved extensibility.

### Changed

- Use `class_exists()` and `method_exists()` for runtime checks instead of direct calls.
- Updated to use global namespace for WordPress hook functions.
- Use `::class` constant for class references in form action registration.
- Bumped wp-pay/core requirement to `^4.32`.
- Bumped Formidable plugin requirement to `^6.24` (now at 6.29).
- Bumped copyright years to 2005-2026.

### Fixed

- Removed legacy FrmProNotification call.
- Fixed PHPStan warnings and lowered analysis level for better development experience.
- Fixed form() method to return empty string instead of void, silencing warnings.

Full set of changes: [`4.4.4...4.5.0`][4.5.0]

[4.5.0]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.4.4...v4.5.0

## [4.4.4] - 2025-11-11

### Commits

- Updated form action icon color. ([05967f6](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/05967f6cb420fcb8cebcdb2843caa3f167e32a26))
- Coding standards. ([48795ba](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/48795ba57060ac250067cac8712320b46c6978e7))
- Added this point we shoud not use translation functions. ([d851cc7](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/d851cc7fc13075e4d69bd025ee654c2d0b13e472))
- Updated wp-env. ([b63deae](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/b63deae125a746e9f183942d713d2b1b0ced4a03))

### Composer

- Changed `php` from `>=7.4` to `>=8.2`.
- Changed `wp-pay/core` from `^4.6` to `v4.27.1`.
	Release notes: https://github.com/pronamic/wp-pay-core/releases/tag/v4.27.1

Full set of changes: [`4.4.3...4.4.4`][4.4.4]

[4.4.4]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.4.3...v4.4.4

## [4.4.3] - 2024-12-17

### Commits

- Allow automattic/jetpack-autoloader Composer plugin. ([0cb8d3b](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/0cb8d3b22dd43437fdd520e3aa03c559fb0ad8b0))
- Happy 2024. ([b2bd2c3](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/b2bd2c31eba38b31cb93c5b0499ef3ba142aa8d1))

Full set of changes: [`4.4.2...4.4.3`][4.4.3]

[4.4.3]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.4.2...v4.4.3

## [4.4.2] - 2023-12-18

### Commits

- Fixed "Deprecated: Creation of dynamic property Pronamic\WordPress\Pay\Extensions\FormidableForms\Extension::$action is deprecated". ([eaa641b](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/eaa641b094d91066924691a0f8abf0905e5de822))
- Fixed "Deprecated: Creation of dynamic property ... is deprecated". ([3d38755](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/3d38755c88c2c965bbb57d518b4a0b6b3d7a630a))

Full set of changes: [`4.4.1...4.4.2`][4.4.2]

[4.4.2]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.4.1...v4.4.2

## [4.4.1] - 2023-11-15

### Fixed

- Fixed "Fatal error: Uncaught Error: Call to undefined method Pronamic\WordPress\Pay\Fields\SelectFieldOption::render()". ([82f886e](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/82f886e8e7ff1649a5ceb917af810effbc03464c))

Full set of changes: [`4.4.0...4.4.1`][4.4.1]

[4.4.1]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.4.0...v4.4.1

## [4.4.0] - 2023-09-11

### Commits

- Merge pull request #5 from pronamic/4-add-support-for-order-id-setting ([7222a5c](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/7222a5ce73232a6302977e8fbb73e4e2e3fbabbd))
- Fixed `Closures / anonymous functions only have access to $this if used within a class or when bound to an object using bindTo()`. ([11690f8](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/11690f8e56a5ae00d360aa237054e1fee13a9b0d))
- Added setting for order ID template. ([c49948b](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/c49948b90e127b54aa2414a365beded0fa33bd02))
- phpcbf ([7d250b9](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/7d250b908950012b3dd32b97dd1f2e7f36f2409a))
- More DRY settings fields. ([91e03d4](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/91e03d4d16736333d8007e236b98d64afa523748))

Full set of changes: [`4.3.4...4.4.0`][4.4.0]

[4.4.0]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.3.4...v4.4.0

## [4.3.4] - 2023-06-01

### Commits

- Switch from `pronamic/wp-deployer` to `pronamic/pronamic-cli`. ([676ce44](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/676ce44595c476b1b4b5b867fd5003f117c2893a))
- Updated .gitattributes ([213ee43](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/213ee4334ce004dcd535b8eb8b410a64e169941c))

Full set of changes: [`4.3.3...4.3.4`][4.3.4]

[4.3.4]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.3.3...v4.3.4

## [4.3.3] - 2023-03-27

### Commits

- Set Composer type to WordPress plugin. ([055a8c2](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/055a8c2cffe9dc420daba731273f97cdf313d450))
- Updated .gitattributes ([d25a8c0](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/d25a8c09e41d6523a226b1193a17c33a31db1611))
- Requires PHP: 7.4. ([fd2345b](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/fd2345b57450d97a345825af1af97583d2d55924))

Full set of changes: [`4.3.2...4.3.3`][4.3.3]

[4.3.3]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.3.2...v4.3.3

## [4.3.2] - 2023-01-31
### Composer

- Changed `php` from `>=8.0` to `>=7.4`.
Full set of changes: [`4.3.1...4.3.2`][4.3.2]

[4.3.2]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.3.1...v4.3.2

## [4.3.1] - 2023-01-18

### Commits

- Fixed "Undefined array key" notices. ([4677a8d](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/4677a8d51a7640c08d9d921a1b01eb1316a8ddc9))
- Happy 2023. ([69a4bcc](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/69a4bccf474eeb7fb7930f70381cba8b253497ef))

Full set of changes: [`4.3.0...4.3.1`][4.3.1]

[4.3.1]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.3.0...v4.3.1

## [4.3.0] - 2022-12-23

### Commits

- Added https://github.com/WordPress/wp-plugin-dependencies. ([e35ee01](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/e35ee019d9b6bf821330a7c77930b557caedaa2a))
- No longer use `filter_` functions and deprecated `FILTER_SANITIZE_STRING`. ([58cb81a](https://github.com/pronamic/wp-pronamic-pay-formidable-forms/commit/58cb81a9d7a881d9a15ee6f361485f114cc6f1c8))

### Composer

- Changed `php` from `>=5.6.20` to `>=8.0`.
- Changed `wp-pay/core` from `^4.4` to `v4.6.0`.
	Release notes: https://github.com/pronamic/wp-pay-core/releases/tag/v4.2.1
Full set of changes: [`4.2.1...4.3.0`][4.3.0]

[4.3.0]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/v4.2.1...v4.3.0

## [4.2.1] - 2022-09-27
- Update to `wp-pay/core` version `^4.4`.

## [4.2.0] - 2022-09-26
- Updated for new payment methods and fields registration.

## [4.1.1] - 2022-08-15
- Fixed not showing error messages if form success action is not 'message'.

## [4.1.0] - 2022-04-11
- Add payment action setting for gateway configuration.

## [4.0.0] - 2022-01-10
### Changed
- Updated to https://github.com/pronamic/wp-pay-core/releases/tag/4.0.0.
- Added support for checkboxes field type.
- Don't force description to have a dynamic part (use `[id]` in transaction description setting instead).

## [3.0.0] - 2021-08-05
- Updated to `pronamic/wp-pay-core`  version `3.0.0`.
- Updated to `pronamic/wp-money`  version `2.0.0`.
- Changed `TaxedMoney` to `Money`, no tax info.
- Switched to `pronamic/wp-coding-standards`.
- Ignore unsupported recurring-only payment methods in payment method select field.

## [2.2.1] - 2021-01-21
- Fixed using undefined variable.
- Removed debug code.

## [2.2.0] - 2021-01-14
- Simplified icon hover style.
- Updated form action icon.
- Added support for form settings redirect success URL.
- Removed payment data class.

## [2.1.4] - 2020-11-09
- Improved error handling on payment start.
- Fixed incorrect amount when using product fields.

## [2.1.3] - 2020-06-02
- Add payment origin post ID.

## [2.1.2] - 2020-04-20
- Updated settings description for delaying email notifications.

## [2.1.1] - 2020-04-03
- Set plugin integration name.

## [2.1.0] - 2020-03-19
- Extension extends abstract plugin integration with dependency.

## [2.0.4] - 2019-12-22
- Improved error handling with exceptions.
- Updated usage of deprecated `addItem()` method.
- Updated payment status class name.

## [2.0.3] - 2019-08-26
- Updated packages.

## [2.0.2] - 2019-05-15
- Improve support for AJAX enabled forms.

## [2.0.1] - 2018-12-12
- Use renamed item methods in payment data.

## [2.0.0] - 2018-05-14
- Switched to PHP namespaces.

## [1.0.2] - 2017-01-25
- Added filter for payment source link and description.

## [1.0.1] - 2016-03-23
- Added support for transaction description.

## 1.0.0 - 2015-11-05
- First release.

[unreleased]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/4.2.1...HEAD
[4.2.1]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/4.2.0...4.2.1
[4.2.0]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/4.1.1...4.2.0
[4.1.1]: https://github.com/pronamic/wp-pronamic-pay-formidable-forms/compare/4.1.0...4.1.1
[4.1.0]: https://github.com/wp-pay-extensions/formidable-forms/compare/4.0.0...4.1.0
[4.0.0]: https://github.com/wp-pay-extensions/formidable-forms/compare/3.0.0...4.0.0
[3.0.0]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.2.1...3.0.0
[2.2.1]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.1.4...2.2.0
[2.1.4]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.1.3...2.1.4
[2.1.3]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.1.2...2.1.3
[2.1.2]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.1.1...2.1.2
[2.1.1]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.1.0...2.1.1
[2.1.0]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.0.4...2.1.0
[2.0.4]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.0.3...2.0.4
[2.0.3]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.0.2...2.0.3
[2.0.2]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/wp-pay-extensions/formidable-forms/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/wp-pay-extensions/formidable-forms/compare/1.0.2...2.0.0
[1.0.2]: https://github.com/wp-pay-extensions/formidable-forms/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/wp-pay-extensions/formidable-forms/compare/1.0.0...1.0.1
