Skip to content

Commit

Permalink
Merge pull request #1081 from woocommerce/trunk
Browse files Browse the repository at this point in the history
Release/1.4.11
  • Loading branch information
message-dimke authored Oct 23, 2024
2 parents 771db05 + e61c66c commit 7cac8f6
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
*** Pinterest for WooCommerce Changelog ***

= 1.4.11 - 2024-10-23 =
* Add - API method to get commerce integration.
* Add - Commerce Integration `partner_metadata` weekly sync.
* Add - Failed Create Commerce Integration API call retries procedure.
* Add - Weakly heartbeat action.
* Update - Make `integration_data` optional for the extension.

= 1.4.10 - 2024-09-24 =
* Dev - Tests suits update.
* Fix - 403 Pinterest API error response is not the reason to auto-disconnect.
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Up @@ -2,7 +2,7 @@
"name": "pinterest-for-woocommerce",
"title": "Pinterest for WooCommerce",
"description": "Pinterest for WooCommerce",
"version": "1.4.10",
"version": "1.4.11",
"main": "gulpfile.js",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions pinterest-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Plugin Name: Pinterest for WooCommerce
* Plugin URI: https://woocommerce.com/products/pinterest-for-woocommerce/
* Description: Grow your business on Pinterest! Use this official plugin to allow shoppers to Pin products while browsing your store, track conversions, and advertise on Pinterest.
* Version: 1.4.10
* Version: 1.4.11
* Author: WooCommerce
* Author URI: https://woocommerce.com
* License: GPL-2.0+
Expand Down Expand Up @@ -47,7 +47,7 @@
}

define( 'PINTEREST_FOR_WOOCOMMERCE_PLUGIN_FILE', __FILE__ );
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.4.10' ); // WRCS: DEFINED_VERSION.
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.4.11' ); // WRCS: DEFINED_VERSION.

// HPOS compatibility declaration.
add_action(
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: pinterest, woocommerce, marketing, product catalog feed, pixel
Requires at least: 5.6
Tested up to: 6.6
Requires PHP: 7.3
Stable tag: 1.4.10
Stable tag: 1.4.11
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -91,6 +91,13 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/

== Changelog ==

= 1.4.11 - 2024-10-23 =
* Add - API method to get commerce integration.
* Add - Commerce Integration `partner_metadata` weekly sync.
* Add - Failed Create Commerce Integration API call retries procedure.
* Add - Weakly heartbeat action.
* Update - Make `integration_data` optional for the extension.

= 1.4.10 - 2024-09-24 =
* Dev - Tests suits update.
* Fix - 403 Pinterest API error response is not the reason to auto-disconnect.
Expand Down
2 changes: 1 addition & 1 deletion src/API/APIV5.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public static function domain_metatag_verification_request( string $domain ): ar
* }
* @throws PinterestApiException If the request fails with other than 200 status.
* @link https://developers.pinterest.com/docs/api/v5/integrations_commerce-get
* @since x.x.x
* @since 1.4.11
*/
public static function get_commerce_integration( string $external_business_id ): array {
return self::make_request(
Expand Down
8 changes: 4 additions & 4 deletions src/CommerceIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Pinterest for WooCommerce Commerce Integration controller class.
*
* @package Pinterest_For_WooCommerce/Classes/
* @since x.x.x
* @since 1.4.11
*/

namespace Automattic\WooCommerce\Pinterest;
Expand Down Expand Up @@ -127,7 +127,7 @@ public static function handle_create( $attempt = 0 ): array {
/**
* Handles Commerce Integration partner_metadata updates.
*
* @since x.x.x
* @since 1.4.11
* @return void
*/
public static function handle_sync() {
Expand Down Expand Up @@ -177,7 +177,7 @@ public static function handle_sync() {
/**
* Prepares Commerce Integration data.
*
* @since x.x.x
* @since 1.4.11
* @param string $external_business_id External Business ID.
* @return array
*/
Expand Down Expand Up @@ -217,7 +217,7 @@ public static function get_integration_data( $external_business_id = '' ): array
*
* @NOTE: ID generation logic is as requested by Pinterest.
*
* @since x.x.x
* @since 1.4.11
* @return string
*/
private static function generate_external_business_id(): string {
Expand Down

0 comments on commit 7cac8f6

Please sign in to comment.