Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/trim-api-url.md

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# cf7-to-api

## 1.5.4

### Patch Changes

- 8093c65: Trim surrounding whitespace from the saved API endpoint URL. An already encoded %20 is left as-is.
4 changes: 2 additions & 2 deletions contact-form-7-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Contact Form 7 to API
* Plugin URI: https://wordpress.org/plugins/cf7-to-api-basic-auth/
* Description: Send Contact Form 7 submissions to a remote API with GET or POST.
* Version: 1.5.3
* Version: 1.5.4
* Requires at least: 6.7
* Requires PHP: 7.4
* Author: Kenny Meyer
Expand All @@ -32,7 +32,7 @@
}

define( 'QS_CF7_API_LOADED', true );
define( 'QS_CF7_API_VERSION', '1.5.3' );
define( 'QS_CF7_API_VERSION', '1.5.4' );
define( 'QS_CF7_API_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'QS_CF7_API_INCLUDES_PATH', plugin_dir_path( __FILE__ ) . 'includes/' );
define( 'QS_CF7_API_ADMIN_JS_URL', plugin_dir_url( __FILE__ ) . 'assets/js/' );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cf7-to-api",
"private": true,
"version": "1.5.3",
"version": "1.5.4",
"description": "Send Contact Form 7 submissions to a remote API.",
"license": "GPL-2.0-or-later",
"scripts": {
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: contact form 7, api, webhook, crm, rest api
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.5.3
Stable tag: 1.5.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -106,6 +106,9 @@ Yes. `cf7api_create_record` replaces the payload. `qs_cf7_api_get_args`, `qs_cf7

== Upgrade Notice ==

= 1.5.4 =
API responses outside HTTP 200-299 fail the form and skip the email. The default timeout is 15 seconds. Re-save a form if a JSON or XML template shows extra backslashes.

= 1.5.3 =
API responses outside HTTP 200-299 fail the form and skip the email. The default timeout is 15 seconds. Re-save a form if a JSON or XML template shows extra backslashes.

Expand All @@ -120,6 +123,10 @@ API responses outside HTTP 200-299 now fail the form and skip the email. The def

== Changelog ==

= 1.5.4 =

* Trim surrounding whitespace from the saved API endpoint URL. An already encoded %20 is left as-is.

= 1.5.3 =

* Documents what is sent to the API URL, what the debug log stores, and what uninstall leaves in place. Form and API behavior match 1.5.2.
Expand Down
Loading