Skip to content

Commit

Permalink
Bump version to 1.140.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Nov 14, 2024
1 parent a747feb commit 848e734
Show file tree
Hide file tree
Showing 12 changed files with 88 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { MODULES_SEARCH_CONSOLE } from '../../../modules/search-console/datastor
/**
* Determines whether the CTA widget should be displayed.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return {boolean} Whether the CTA widget should be displayed.
*/
Expand Down
2 changes: 1 addition & 1 deletion assets/js/googlesitekit/datastore/user/key-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ const baseSelectors = {
* Gets whether the new Analytics Conversion Reporting metric tiles
* should be made available or not.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return {boolean|undefined} True if ACR tiles should be shown, false if not.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const actions = {
/**
* Stores conversion reporting inline data in the datastore.
*
* @since n.e.x.t
* @since 1.140.0
* @private
*
* @param {Object} data Inline data, usually supplied via a global variable from PHP.
Expand Down Expand Up @@ -195,7 +195,7 @@ export const selectors = {
* Not intended to be used publicly; this is largely here so other selectors can
* request data using the selector/resolver pattern.
*
* @since n.e.x.t
* @since 1.140.0
* @private
*
* @param {Object} state Data store's state.
Expand All @@ -208,7 +208,7 @@ export const selectors = {
/**
* Checks if newEvents are present.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param {Object} state Data store's state.
* @return {boolean|undefined} TRUE if `newEvents` are present, FALSE otherwise.
Expand All @@ -219,7 +219,7 @@ export const selectors = {
/**
* Checks if lostEvents are present.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param {Object} state Data store's state.
* @return {boolean|undefined} TRUE if `lostEvents` are present, FALSE otherwise.
Expand Down
37 changes: 37 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
== Changelog ==

= 1.140.0 =

**Added**

* Add Sign in with Google to Site Health. See [#9571](https://github.com/google/site-kit-wp/issues/9571).
* Add new feature notification for Sign in with Google module. See [#9335](https://github.com/google/site-kit-wp/issues/9335).

**Enhanced**

* Add a survey to be triggered when audience groups are set up. See [#9656](https://github.com/google/site-kit-wp/issues/9656).
* Update styles for the admin settings. See [#9580](https://github.com/google/site-kit-wp/issues/9580).
* Add GA event tracking for user interactions with the Audience Segmentation Setup in the Settings section. See [#9499](https://github.com/google/site-kit-wp/issues/9499).
* Add opt-in event tracking for the Audience Segmentation introductory popup/banner. See [#9498](https://github.com/google/site-kit-wp/issues/9498).
* Add GA event tracking for user interactions with the Audience Selection Panel. See [#9497](https://github.com/google/site-kit-wp/issues/9497).
* Add opt-in user activity tracking in the audience tiles area. See [#9494](https://github.com/google/site-kit-wp/issues/9494).
* Add opt-in user activity tracking in the audience setup CTA widget and related setting areas. See [#9493](https://github.com/google/site-kit-wp/issues/9493).
* Don't unnecessarily render the Key Metrics Selection Panel into the DOM. See [#9468](https://github.com/google/site-kit-wp/issues/9468).
* Add a stub survey trigger that is called when viewing the Reader Revenue Manager Setup CTA. See [#9447](https://github.com/google/site-kit-wp/issues/9447).
* Update the widget area renderer to accept React components for subtitles. See [#9444](https://github.com/google/site-kit-wp/issues/9444).
* Add modal of tailored metrics to User Input Questionnaire. See [#9439](https://github.com/google/site-kit-wp/issues/9439).
* Add confirmation modal for users changing key metrics. See [#9438](https://github.com/google/site-kit-wp/issues/9438).
* Add support for lost events to Conversion Reporting events datastore. See [#9379](https://github.com/google/site-kit-wp/issues/9379).
* Add a new "Chip Tab Group" component. See [#9378](https://github.com/google/site-kit-wp/issues/9378).
* Add new notification to Key Metrics Widget Settings Area. See [#9344](https://github.com/google/site-kit-wp/issues/9344).
* Implement the Sign in with Google callback action. See [#9338](https://github.com/google/site-kit-wp/issues/9338).
* Fix a bug that prevented the appearance of the Reader Revenue Manager setup banner graphic. See [#9329](https://github.com/google/site-kit-wp/issues/9329).
* Include a "Learn more" link on the Reader Revenue Manager setup screen shown when the user doesn't have an existing publication. See [#9259](https://github.com/google/site-kit-wp/issues/9259).

**Fixed**

* Only place the Reader Revenue Manager snippet on singular WordPress posts. See [#9670](https://github.com/google/site-kit-wp/issues/9670).
* Fix typo in Key Metrics Widget. See [#9614](https://github.com/google/site-kit-wp/issues/9614).
* Fix the issue where an extra "Failed to enable metric" modal appears when canceled in the Audience Segmentation "Top Content" custom dimension creation flow. See [#9563](https://github.com/google/site-kit-wp/issues/9563).
* Fix dashboard error when selecting specific key metrics on the view-only dashboard. See [#9548](https://github.com/google/site-kit-wp/issues/9548).
* Remove the “Temporarily hidden” badge when temporarily hidden tiles reappear with only a single tile visible. See [#9472](https://github.com/google/site-kit-wp/issues/9472).
* Ensure "Add a metric" tiles are always visible on the view-only dashboard when fewer than 4 metrics are available or fewer than 8 metrics if the `conversionReporting` feature flag is enabled. See [#8712](https://github.com/google/site-kit-wp/issues/8712).

= 1.139.0 =

**Added**
Expand Down
4 changes: 2 additions & 2 deletions google-site-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Site Kit by Google
* Plugin URI: https://sitekit.withgoogle.com
* Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
* Version: 1.139.0
* Version: 1.140.0
* Requires at least: 5.2
* Requires PHP: 7.4
* Author: Google
Expand All @@ -26,7 +26,7 @@
}

// Define most essential constants.
define( 'GOOGLESITEKIT_VERSION', '1.139.0' );
define( 'GOOGLESITEKIT_VERSION', '1.140.0' );
define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ );
define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' );
define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' );
Expand Down
2 changes: 1 addition & 1 deletion includes/Core/Modules/Module_With_Tag_Trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function has_placed_tag_in_content( $content ) {
* Sign in with Google, tags can be detected on the home page. SiwG places its
* snippet on the login page and thus, overrides this method.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return string The home page URL string where tags are placed for most modules.
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/Reader_Revenue_Manager/Web_Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function register() {
* Enqueues the Reader Revenue Manager (SWG) script.
*
* @since 1.132.0
* @since n.e.x.t Updated to enqueue the script only on singular posts.
* @since 1.140.0 Updated to enqueue the script only on singular posts.
*/
protected function enqueue_swg_script() {
$locale = str_replace( '_', '-', get_locale() );
Expand Down Expand Up @@ -89,7 +89,7 @@ protected function enqueue_swg_script() {
/**
* Filters the post types where Reader Revenue Manager CTAs should appear.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param array $cta_post_types The array of post types.
*/
Expand Down
14 changes: 7 additions & 7 deletions includes/Modules/Sign_In_With_Google.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function register() {
* Intercept the page request to process token ID
* and complete Sign in with Google flow.
*
* @since n.e.x.t
* @since 1.140.0
*/
public function handle_google_auth() {
$request_method = $this->context->input()->filter( INPUT_SERVER, 'REQUEST_METHOD' );
Expand Down Expand Up @@ -107,7 +107,7 @@ public function handle_google_auth() {
/**
* Adds custom errors if Google auth flow failed.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param WP_Error $error WP_Error instance.
* @return WP_Error $error WP_Error instance.
Expand Down Expand Up @@ -257,7 +257,7 @@ private function render_signin_button() {
/**
* Gets the absolute number of users who have authenticated using Sign in with Google.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return array
*/
Expand All @@ -274,7 +274,7 @@ public function get_authenticated_users_count() {
/**
* Gets an array of debug field definitions.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return array
*/
Expand Down Expand Up @@ -334,7 +334,7 @@ public function register_tag() {
/**
* Returns the Module_Tag_Matchers instance.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return Module_Tag_Matchers Module_Tag_Matchers instance.
*/
Expand All @@ -349,7 +349,7 @@ public function get_tag_matchers() {
* Sign in with Google, tags can be detected on the home page. SiwG places its
* snippet on the login page and thus, overrides this method.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return string TRUE if tag is found, FALSE if not.
*/
Expand Down Expand Up @@ -377,7 +377,7 @@ public function get_content_url() {
* for other modules' script snippets. This should be improved as speicified in the
* TODO within the trait method.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param string $content Content to search for the button.
* @return bool TRUE if tag is found, FALSE if not.
Expand Down
2 changes: 1 addition & 1 deletion includes/Modules/Sign_In_With_Google/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected function get_sanitize_callback() {
/**
* Gets the label for a given Sign in with Google setting value.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param string $setting_name The slug for the Sign in with Google setting.
* @param string $value The setting value to look up the label for.
Expand Down
4 changes: 2 additions & 2 deletions includes/Modules/Sign_In_With_Google/Tag_Matchers.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Class for Tag matchers.
*
* @since n.e.x.t
* @since 1.140.0
* @access private
* @ignore
*/
Expand All @@ -25,7 +25,7 @@ class Tag_Matchers extends Module_Tag_Matchers implements Tag_Matchers_Interface
/**
* Holds array of regex tag matchers.
*
* @since n.e.x.t
* @since 1.140.0
*
* @return array Array of regex matchers.
*/
Expand Down
47 changes: 28 additions & 19 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: google
Requires at least: 5.2
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.139.0
Stable tag: 1.140.0
License: Apache License 2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Tags: google, search-console, analytics, adsense, pagespeed-insights
Expand Down Expand Up @@ -109,32 +109,41 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress

== Changelog ==

= 1.139.0 =
= 1.140.0 =

**Added**

* Add the Google sign-in button to the login screen. See [#9337](https://github.com/google/site-kit-wp/issues/9337).
* Add Top Device Driving Purchases Key Metric Widget. See [#9162](https://github.com/google/site-kit-wp/issues/9162).
* Add Sign in with Google to Site Health. See [#9571](https://github.com/google/site-kit-wp/issues/9571).
* Add new feature notification for Sign in with Google module. See [#9335](https://github.com/google/site-kit-wp/issues/9335).

**Enhanced**

* Add GA event tracking for user interactions with the No Audiences Banner and Info Notice. See [#9496](https://github.com/google/site-kit-wp/issues/9496).
* Add opt-in event tracking for an audience tile's "Top content" metric area. See [#9495](https://github.com/google/site-kit-wp/issues/9495).
* Add Dashboard Sharing support to Analytics Conversion Reporting tiles. See [#9377](https://github.com/google/site-kit-wp/issues/9377).
* Improved the design of the User Input Questionnaire. See [#9374](https://github.com/google/site-kit-wp/issues/9374).
* Update requirement checks for notifications to have all selectors resolved correctly and efficiently. See [#9351](https://github.com/google/site-kit-wp/issues/9351).
* Update conversion reporting events synchronization to save detected and lost events. See [#9342](https://github.com/google/site-kit-wp/issues/9342).
* Add the setup form for the Sign in With Google module. See [#9336](https://github.com/google/site-kit-wp/issues/9336).
* Implement the ability to edit Sign in With Google settings. See [#9334](https://github.com/google/site-kit-wp/issues/9334).
* Add a survey to be triggered when audience groups are set up. See [#9656](https://github.com/google/site-kit-wp/issues/9656).
* Update styles for the admin settings. See [#9580](https://github.com/google/site-kit-wp/issues/9580).
* Add GA event tracking for user interactions with the Audience Segmentation Setup in the Settings section. See [#9499](https://github.com/google/site-kit-wp/issues/9499).
* Add opt-in event tracking for the Audience Segmentation introductory popup/banner. See [#9498](https://github.com/google/site-kit-wp/issues/9498).
* Add GA event tracking for user interactions with the Audience Selection Panel. See [#9497](https://github.com/google/site-kit-wp/issues/9497).
* Add opt-in user activity tracking in the audience tiles area. See [#9494](https://github.com/google/site-kit-wp/issues/9494).
* Add opt-in user activity tracking in the audience setup CTA widget and related setting areas. See [#9493](https://github.com/google/site-kit-wp/issues/9493).
* Don't unnecessarily render the Key Metrics Selection Panel into the DOM. See [#9468](https://github.com/google/site-kit-wp/issues/9468).
* Add a stub survey trigger that is called when viewing the Reader Revenue Manager Setup CTA. See [#9447](https://github.com/google/site-kit-wp/issues/9447).
* Update the widget area renderer to accept React components for subtitles. See [#9444](https://github.com/google/site-kit-wp/issues/9444).
* Add modal of tailored metrics to User Input Questionnaire. See [#9439](https://github.com/google/site-kit-wp/issues/9439).
* Add confirmation modal for users changing key metrics. See [#9438](https://github.com/google/site-kit-wp/issues/9438).
* Add support for lost events to Conversion Reporting events datastore. See [#9379](https://github.com/google/site-kit-wp/issues/9379).
* Add a new "Chip Tab Group" component. See [#9378](https://github.com/google/site-kit-wp/issues/9378).
* Add new notification to Key Metrics Widget Settings Area. See [#9344](https://github.com/google/site-kit-wp/issues/9344).
* Implement the Sign in with Google callback action. See [#9338](https://github.com/google/site-kit-wp/issues/9338).
* Fix a bug that prevented the appearance of the Reader Revenue Manager setup banner graphic. See [#9329](https://github.com/google/site-kit-wp/issues/9329).
* Include a "Learn more" link on the Reader Revenue Manager setup screen shown when the user doesn't have an existing publication. See [#9259](https://github.com/google/site-kit-wp/issues/9259).

**Fixed**

* Fix an issue that caused the visitor groups overlay notification to appear unexpectedly. See [#9481](https://github.com/google/site-kit-wp/issues/9481).
* Ensure the "Purchasers" default audience can be added to the audience selection when initially setting up the Audience Segmentation feature under the right conditions. See [#9478](https://github.com/google/site-kit-wp/issues/9478).
* Prevent rendering of the Audience Selection Panel before the feature is set up, ensuring it only renders after setup is complete. See [#9475](https://github.com/google/site-kit-wp/issues/9475).
* Ensure partial data badges display correctly when the connected Analytics property is in the partial data state. See [#9474](https://github.com/google/site-kit-wp/issues/9474).
* Fix an issue that caused the visitor groups visibility toggle to appear when the feature wasn't yet set up. See [#9473](https://github.com/google/site-kit-wp/issues/9473).
* Handle insufficient permission errors correctly when attempting to create audiences via the Audience Segmentation Setup CTA Banner. See [#9471](https://github.com/google/site-kit-wp/issues/9471).
* Prevent console errors appearing when visiting the dashboard as a secondary admin or view-only user after the Audience Segmentation feature has been set up. See [#9445](https://github.com/google/site-kit-wp/issues/9445).
* Only place the Reader Revenue Manager snippet on singular WordPress posts. See [#9670](https://github.com/google/site-kit-wp/issues/9670).
* Fix typo in Key Metrics Widget. See [#9614](https://github.com/google/site-kit-wp/issues/9614).
* Fix the issue where an extra "Failed to enable metric" modal appears when canceled in the Audience Segmentation "Top Content" custom dimension creation flow. See [#9563](https://github.com/google/site-kit-wp/issues/9563).
* Fix dashboard error when selecting specific key metrics on the view-only dashboard. See [#9548](https://github.com/google/site-kit-wp/issues/9548).
* Remove the “Temporarily hidden” badge when temporarily hidden tiles reappear with only a single tile visible. See [#9472](https://github.com/google/site-kit-wp/issues/9472).
* Ensure "Add a metric" tiles are always visible on the view-only dashboard when fewer than 4 metrics are available or fewer than 8 metrics if the `conversionReporting` feature flag is enabled. See [#8712](https://github.com/google/site-kit-wp/issues/8712).

[See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
4 changes: 2 additions & 2 deletions tests/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export const provideKeyMetrics = ( registry, extraData = {} ) => {
/**
* Provides key metrics user input settings data to the given registry.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param {Object} registry The registry to set up.
* @param {Object} [extraData] Extra data to merge with the default settings.
Expand All @@ -460,7 +460,7 @@ export const provideKeyMetricsUserInputSettings = (
/**
* Provides notifications data to the given registry.
*
* @since n.e.x.t
* @since 1.140.0
*
* @param {Object} registry The registry to set up.
* @param {Object} [extraData] Extra data to merge with the default settings.
Expand Down

0 comments on commit 848e734

Please sign in to comment.