diff --git a/changelog.txt b/changelog.txt index 8c9bfeb80..7874f2b73 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ *** Facebook for WooCommerce Changelog *** += 3.1.7 - 2024-01-03 = +* Add - Create/Update products sync to facebook with Batch API. + = 3.1.6 - 2023-12-27 = * Fix - Facebook Pixel events missing on redirect to cart. diff --git a/facebook-commerce.php b/facebook-commerce.php index 0947848df..5bbe7ffa9 100644 --- a/facebook-commerce.php +++ b/facebook-commerce.php @@ -1345,7 +1345,7 @@ public function update_product_group( WC_Facebook_Product $woo_product ) { * Creates a product item using the facebook Catalog Batch API. This replaces existing functionality, * which is currently using facebook Product Item API implemented by `WC_Facebookcommerce_Integration::create_product_item` * - * @since x.x.x + * @since 3.1.7 * @param WC_Facebook_Product $woo_product * @param string $retailer_id **/ diff --git a/facebook-for-woocommerce.php b/facebook-for-woocommerce.php index 563e5fb3e..dfbc3c730 100644 --- a/facebook-for-woocommerce.php +++ b/facebook-for-woocommerce.php @@ -11,7 +11,7 @@ * Description: Grow your business on Facebook! Use this official plugin to help sell more of your products using Facebook. After completing the setup, you'll be ready to create ads that promote your products and you can also create a shop section on your Page where customers can browse your products on Facebook. * Author: Facebook * Author URI: https://www.facebook.com/ - * Version: 3.1.6 + * Version: 3.1.7 * Requires at least: 5.6 * Text Domain: facebook-for-woocommerce * Tested up to: 6.4 @@ -44,7 +44,7 @@ class WC_Facebook_Loader { /** * @var string the plugin version. This must be in the main plugin file to be automatically bumped by Woorelease. */ - const PLUGIN_VERSION = '3.1.6'; // WRCS: DEFINED_VERSION. + const PLUGIN_VERSION = '3.1.7'; // WRCS: DEFINED_VERSION. // Minimum PHP version required by this plugin. const MINIMUM_PHP_VERSION = '7.4.0'; diff --git a/includes/fbutils.php b/includes/fbutils.php index de685cf28..58c920741 100644 --- a/includes/fbutils.php +++ b/includes/fbutils.php @@ -723,7 +723,7 @@ public static function get_cached_best_tip() { * Normalizes product data to be included in a sync request. /items_batch * rather than /batch this time. * - * @since x.x.x + * @since 3.1.7 * * @param array $data product data. * @return array @@ -770,7 +770,7 @@ public static function normalize_product_data_for_items_batch( $data ) { /** * Prepares the product data to be included in a sync request. * - * @since x.x.x + * @since 3.1.7 * * @param \WC_Product $product product object * @return array @@ -786,7 +786,7 @@ public static function prepare_product_data_items_batch( $product ) { /** * Prepares the requests array to be included in a batch api request. * - * @since x.x.x + * @since 3.1.7 * * @param array $product Array * @return array @@ -814,7 +814,7 @@ public static function prepare_product_requests_items_batch( $product ) { /** * Prepares the data for a product variation to be included in a sync request. * - * @since x.x.x + * @since 3.1.7 * * @param \WC_Product $product product object * @return array diff --git a/package-lock.json b/package-lock.json index cf5aa29f1..3e4eabdd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "facebook-for-woocommerce", - "version": "3.1.6", + "version": "3.1.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 77783a700..e1ca0be4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "facebook-for-woocommerce", - "version": "3.1.6", + "version": "3.1.7", "author": "Facebook", "homepage": "https://woo.com/products/facebook/", "license": "GPL-2.0", diff --git a/readme.txt b/readme.txt index ee2c63ce4..4b604c8af 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: facebook, automattic, woothemes Tags: facebook, shop, catalog, advertise, pixel, product Requires at least: 4.4 Tested up to: 6.4 -Stable tag: 3.1.6 +Stable tag: 3.1.7 Requires PHP: 5.6 or greater MySQL: 5.6 or greater License: GPLv2 or later @@ -40,6 +40,9 @@ When opening a bug on GitHub, please give us as many details as possible. == Changelog == += 3.1.7 - 2024-01-03 = +* Add - Create/Update products sync to facebook with Batch API. + = 3.1.6 - 2023-12-27 = * Fix - Facebook Pixel events missing on redirect to cart.