Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.1.7 #2678

Merged
merged 3 commits into from
Jan 3, 2024
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
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion facebook-commerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
**/
Expand Down
4 changes: 2 additions & 2 deletions facebook-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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';
Expand Down
8 changes: 4 additions & 4 deletions includes/fbutils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
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
@@ -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",
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down