Skip to content

Commit

Permalink
Merge pull request #2444 from woocommerce/release/2.7.5
Browse files Browse the repository at this point in the history
Release 2.7.5
  • Loading branch information
ianlin authored Jun 26, 2024
2 parents 84515e0 + d9a6a2b commit 09eaa15
Show file tree
Hide file tree
Showing 8 changed files with 246 additions and 248 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*** WooCommerce Google Listings and Ads Changelog ***

= 2.7.5 - 2024-06-26 =
* Add - Add an query parameter `campaign=saved` to the dashboard URL after the campaign was created.

= 2.7.4 - 2024-06-25 =
* Add - Integration with the WP Consent API plugin.
* Dev - Add E2E tests for WP Consent API integration.
Expand Down
4 changes: 2 additions & 2 deletions google-listings-and-ads.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Google Listings and Ads
* Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/
* Description: Native integration with Google that allows merchants to easily display their products across Google’s network.
* Version: 2.7.4
* Version: 2.7.5
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Text Domain: google-listings-and-ads
Expand All @@ -30,7 +30,7 @@

defined( 'ABSPATH' ) || exit;

define( 'WC_GLA_VERSION', '2.7.4' ); // WRCS: DEFINED_VERSION.
define( 'WC_GLA_VERSION', '2.7.5' ); // WRCS: DEFINED_VERSION.
define( 'WC_GLA_MIN_PHP_VER', '7.4' );
define( 'WC_GLA_MIN_WC_VER', '6.9' );

Expand Down
3 changes: 2 additions & 1 deletion js/src/pages/create-paid-ads-campaign/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ const CreatePaidAdsCampaign = () => {
return;
}

getHistory().push( getDashboardUrl() );
// Add a query param `campaign=saved` to the dashboard URL to indicate that the campaign was successfully created and saved.
getHistory().push( getDashboardUrl( { campaign: 'saved' } ) );

Check warning on line 113 in js/src/pages/create-paid-ads-campaign/index.js

View check run for this annotation

Codecov / codecov/patch

js/src/pages/create-paid-ads-campaign/index.js#L113

Added line #L113 was not covered by tests
};

if ( ! initialCountryCodes ) {
Expand Down
4 changes: 2 additions & 2 deletions js/src/utils/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export const getSetupMCUrl = () => {
return getNewPath( null, setupMCPath, null );
};

export const getDashboardUrl = () => {
return getNewPath( null, dashboardPath, null );
export const getDashboardUrl = ( query = null ) => {
return getNewPath( query, dashboardPath, null );
};

/**
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,7 +1,7 @@
{
"name": "google-listings-and-ads",
"title": "Google Listings and Ads",
"version": "2.7.4",
"version": "2.7.5",
"description": "google-listings-and-ads",
"author": "Automattic",
"license": "GPL-3.0-or-later",
Expand Down
14 changes: 4 additions & 10 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
Requires PHP Architecture: 64 Bits
Stable tag: 2.7.4
Stable tag: 2.7.5
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -111,6 +111,9 @@ Yes, you can run both at the same time, and we recommend it! In the US, advertis

== Changelog ==

= 2.7.5 - 2024-06-26 =
* Add - Add an query parameter `campaign=saved` to the dashboard URL after the campaign was created.

= 2.7.4 - 2024-06-25 =
* Add - Integration with the WP Consent API plugin.
* Dev - Add E2E tests for WP Consent API integration.
Expand All @@ -120,13 +123,4 @@ Yes, you can run both at the same time, and we recommend it! In the US, advertis
* Fix - Fatal error when loading campaign in the marketing overview section.
* Tweak - Replace woo.com references with woocommerce.com.

= 2.7.2 - 2024-06-10 =
* Add - Google Ads account invitation acceptance step to the connection process.
* Fix - Show tracking snapshots in WPCLI.
* Tweak - Adjust click event tracking when connecting, disconnecting, and opening billing setup for Google Ads account.
* Tweak - Adjust event tracking for the creating and claim buttons of Google Ads account.
* Tweak - WC 9.0 compatibility.
* Update - Enable users to seamlessly set up conversion tracking, without having to set up merchant center first or requiring campaign creation.
* Update - Move the Google Ads account connection process from step 4 to step 1 of the onboarding flow.

[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/google-listings-and-ads/trunk/changelog.txt).
462 changes: 231 additions & 231 deletions src/Hooks/README.md

Large diffs are not rendered by default.

0 comments on commit 09eaa15

Please sign in to comment.