Skip to content

Commit

Permalink
Merge pull request #244 from woocommerce/release/1.6.6
Browse files Browse the repository at this point in the history
Release/1.6.6
  • Loading branch information
dkotter authored Jul 29, 2024
2 parents 3a17821 + c9eedcb commit 52c6f85
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
10 changes: 10 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
*** PayFast Changelog ***

= 1.6.6 - 2024-07-29 =
* Dev - Bump WooCommerce "tested up to" version 9.1.
* Dev - Bump WooCommerce minimum supported version to 8.9.
* Dev - Bump WordPress "tested up to" version 6.6.
* Dev - Bump WordPress minimum supported version to 6.4.
* Dev - Update NPM packages and node version to v20 to modernize developer experience.
* Dev - Exclude the Woo Comment Hook `@since` sniff.
* Dev - Fix QIT E2E tests and add support for a few new test types.
* Tweak - Update WordPress.org plugin assets.

= 1.6.5 - 2024-05-14 =
* Fix - Use `rawurlencode` around the call to `get_site_url` to ensure things are encoded properly.

Expand Down
4 changes: 2 additions & 2 deletions includes/class-wc-gateway-payfast.php
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ public function handle_itn_request( $data ) {
*/
if (
! $payfast_error &&
isset( $data['custom_str4'] ) &&
isset( $data['custom_str4'] ) &&
'change_pay_method' === wc_clean( $data['custom_str4'] ) &&
$this->is_subscription( $order_id ) &&
floatval( 0 ) === floatval( $data['amount_gross'] )
Expand Down Expand Up @@ -1427,7 +1427,7 @@ protected function _generate_parameter_string( $api_data, $sort_data_before_merg
* @param WC_Order $order Order object.
*/
public function process_pre_order_payments( $order ) {
wc_deprecated_function( 'process_pre_order_payments', 'x.x.x' );
wc_deprecated_function( 'process_pre_order_payments', '1.6.3' );
}

/**
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-gateway-payfast",
"title": "WooCommerce Gateway Payfast",
"version": "1.6.5",
"version": "1.6.6",
"license": "GPL-3.0",
"homepage": "https://wordpress.org/plugins/woocommerce-payfast-gateway/",
"repository": {
Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: credit card, payfast, payment request, woocommerce, automattic
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.6.5
Stable tag: 1.6.6
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -38,6 +38,16 @@ If you get stuck, you can ask for help in the Plugin Forum.

== Changelog ==

= 1.6.6 - 2024-07-29 =
* Dev - Bump WooCommerce "tested up to" version 9.1.
* Dev - Bump WooCommerce minimum supported version to 8.9.
* Dev - Bump WordPress "tested up to" version 6.6.
* Dev - Bump WordPress minimum supported version to 6.4.
* Dev - Update NPM packages and node version to v20 to modernize developer experience.
* Dev - Exclude the Woo Comment Hook `@since` sniff.
* Dev - Fix QIT E2E tests and add support for a few new test types.
* Tweak - Update WordPress.org plugin assets.

= 1.6.5 - 2024-05-14 =
* Fix - Use `rawurlencode` around the call to `get_site_url` to ensure things are encoded properly.

Expand Down
4 changes: 2 additions & 2 deletions woocommerce-gateway-payfast.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: Receive payments using the South African Payfast payments provider.
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Version: 1.6.5
* Version: 1.6.6
* Requires at least: 6.4
* Tested up to: 6.6
* WC requires at least: 8.9
Expand All @@ -19,7 +19,7 @@

defined( 'ABSPATH' ) || exit;

define( 'WC_GATEWAY_PAYFAST_VERSION', '1.6.5' ); // WRCS: DEFINED_VERSION.
define( 'WC_GATEWAY_PAYFAST_VERSION', '1.6.6' ); // WRCS: DEFINED_VERSION.
define( 'WC_GATEWAY_PAYFAST_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
define( 'WC_GATEWAY_PAYFAST_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );

Expand Down

0 comments on commit 52c6f85

Please sign in to comment.