diff --git a/assets/js/googlesitekit/datastore/user/dismissed-items.js b/assets/js/googlesitekit/datastore/user/dismissed-items.js index f308c70bd45..41847be3311 100644 --- a/assets/js/googlesitekit/datastore/user/dismissed-items.js +++ b/assets/js/googlesitekit/datastore/user/dismissed-items.js @@ -132,7 +132,7 @@ const baseActions = { /** * Removes dismissed items by their slugs. * - * @since n.e.x.t + * @since 1.133.0 * * @param {...string} slugs Dismissed item slugs to remove. * @return {Object} Redux-style action. diff --git a/assets/js/googlesitekit/modules/datastore/modules.js b/assets/js/googlesitekit/modules/datastore/modules.js index 3a49c415b44..62419c31aab 100644 --- a/assets/js/googlesitekit/modules/datastore/modules.js +++ b/assets/js/googlesitekit/modules/datastore/modules.js @@ -1322,7 +1322,7 @@ const baseSelectors = { /** * Checks if there are any recoverable modules for dashboard sharing. * - * @since n.e.x.t + * @since 1.133.0 * * @param {Object} state Data store's state. * @return {(boolean|undefined)} `true` if there are recoverable modules. diff --git a/assets/js/googlesitekit/notifications/datastore/notifications.js b/assets/js/googlesitekit/notifications/datastore/notifications.js index d8ee7050a6d..f6f74da62b4 100644 --- a/assets/js/googlesitekit/notifications/datastore/notifications.js +++ b/assets/js/googlesitekit/notifications/datastore/notifications.js @@ -246,7 +246,7 @@ export const selectors = { /** * Fetches all registered notifications from state, regardless of whether they are dismissed or not. * - * @since n.e.x.t + * @since 1.133.0 * * @param {Object} state Data store's state. * @return {(Array|undefined)} Array of notification objects. @@ -261,7 +261,7 @@ export const selectors = { * They are filtered based on the given `viewContext`, their dismissal state * and their `checkRequirements` callback. They are sorted by their `priority`. * - * @since n.e.x.t + * @since 1.133.0 * * @param {Object} state Data store's state. * @param {string} viewContext The viewContext to fetch notifications for. diff --git a/assets/js/modules/reader-revenue-manager/datastore/publications.js b/assets/js/modules/reader-revenue-manager/datastore/publications.js index 3a60d9af21e..a2c6ad4a27d 100644 --- a/assets/js/modules/reader-revenue-manager/datastore/publications.js +++ b/assets/js/modules/reader-revenue-manager/datastore/publications.js @@ -141,7 +141,7 @@ const baseActions = { /** * Synchronizes the onboarding state of the publication based on the last synced time. * - * @since n.e.x.t + * @since 1.133.0 * * @return {void} */ @@ -213,7 +213,7 @@ const baseActions = { /** * Resets the publications data in the store. * - * @since n.e.x.t + * @since 1.133.0 */ *resetPublications() { const registry = yield commonActions.getRegistry(); @@ -234,7 +234,7 @@ const baseActions = { /** * Sets the given publication in the store. * - * @since n.e.x.t + * @since 1.133.0 * * @param {Object} publication The publiation object. * @return {Object} A Generator function. diff --git a/changelog.txt b/changelog.txt index 276f1334208..1dda6bcb484 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,39 @@ == Changelog == += 1.133.0 = + +**Enhanced** + +* Add callout buttons. See [#9063](https://github.com/google/site-kit-wp/issues/9063). +* Implement the Audience Creation Notice as a component which is visible in Storybook. See [#8986](https://github.com/google/site-kit-wp/issues/8986). +* Add datastore infrastructure to get queued notifications. See [#8975](https://github.com/google/site-kit-wp/issues/8975). +* Update the audience segmentation notice that is displayed in selection panel to not disappear until two audiences are selected. See [#8909](https://github.com/google/site-kit-wp/issues/8909). +* Ensure the “temporarily hidden” state of an audience with zero data is cleared when the audience is removed from the selection. See [#8877](https://github.com/google/site-kit-wp/issues/8877). +* Add Reader Revenue Manager publication approved overlay notification. See [#8843](https://github.com/google/site-kit-wp/issues/8843). +* Implement the settings view screen for the Reader Revenue Manager module. See [#8842](https://github.com/google/site-kit-wp/issues/8842). +* Implement the settings edit view for the Reader Revenue Manager module. See [#8841](https://github.com/google/site-kit-wp/issues/8841). +* Add periodic automatic refresh behaviour in the Reader Revenue Manager setup form. See [#8839](https://github.com/google/site-kit-wp/issues/8839). +* Add the `PublicationCreate` component that encapsulates the publication creation flow for the Reader Revenue Manager module, presented in Storybook. See [#8836](https://github.com/google/site-kit-wp/issues/8836). +* Introduce Reader Revenue Manager setup flow. See [#8800](https://github.com/google/site-kit-wp/issues/8800). +* Add a mechanism to synchronize the onboarding state of a publication once every hour in the Reader Revenue Manager module. See [#8797](https://github.com/google/site-kit-wp/issues/8797). +* Update Consent Mode to always include Switzerland in its list of relevant areas. See [#8720](https://github.com/google/site-kit-wp/issues/8720). +* Ensure remote features are loaded as early as possible during plugin initialization. See [#8341](https://github.com/google/site-kit-wp/issues/8341). +* Add a notice to the Audience Selection Panel that allows creation of the "New visitors" and "Returning visitors" audiences. See [#8164](https://github.com/google/site-kit-wp/issues/8164). +* Provide the ability to create a required custom dimension in the "Top content" metric section if it's missing. See [#8153](https://github.com/google/site-kit-wp/issues/8153). + +**Changed** + +* Implement a shared SubtleNotification component and update existing notifications to use it. See [#8725](https://github.com/google/site-kit-wp/issues/8725). + +**Fixed** + +* Fix the react dashboard error caused by the New badge component for key metric widgets. Props Towerss. See [#9094](https://github.com/google/site-kit-wp/issues/9094). +* Fix full-stop issue in the survey pop-up footer. See [#9075](https://github.com/google/site-kit-wp/issues/9075). +* Fix the broken layout issue in the audience segmentation widget on mobile and tablet devices. See [#8930](https://github.com/google/site-kit-wp/issues/8930). +* Update segmentation tiles to properly display non-empty data. See [#8921](https://github.com/google/site-kit-wp/issues/8921). +* Fix bug that could cause chart legend values to overflow on mobile screen sizes. See [#7565](https://github.com/google/site-kit-wp/issues/7565). +* Update dashboard sharing to restore sharing capabilities for modules whose owner lost sharing capabilities. See [#5354](https://github.com/google/site-kit-wp/issues/5354). + = 1.132.0 = **Enhanced** diff --git a/google-site-kit.php b/google-site-kit.php index a7b1c1d2f34..5f3729e3413 100644 --- a/google-site-kit.php +++ b/google-site-kit.php @@ -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.132.0 + * Version: 1.133.0 * Requires at least: 5.2 * Requires PHP: 7.4 * Author: Google @@ -26,7 +26,7 @@ } // Define most essential constants. -define( 'GOOGLESITEKIT_VERSION', '1.132.0' ); +define( 'GOOGLESITEKIT_VERSION', '1.133.0' ); define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); define( 'GOOGLESITEKIT_WP_MINIMUM', '5.2.0' ); diff --git a/includes/Core/Authentication/Guards/Site_Connected_Guard.php b/includes/Core/Authentication/Guards/Site_Connected_Guard.php index aa8f2343879..a01b8c46a7c 100644 --- a/includes/Core/Authentication/Guards/Site_Connected_Guard.php +++ b/includes/Core/Authentication/Guards/Site_Connected_Guard.php @@ -16,7 +16,7 @@ /** * Class providing guard logic for site connection. * - * @since n.e.x.t + * @since 1.133.0 * @access private * @ignore */ @@ -32,7 +32,7 @@ class Site_Connected_Guard implements Guard_Interface { /** * Constructor. * - * @since n.e.x.t + * @since 1.133.0 * @param Credentials $credentials Credentials instance. */ public function __construct( Credentials $credentials ) { @@ -42,7 +42,7 @@ public function __construct( Credentials $credentials ) { /** * Determines whether the guarded entity can be activated or not. * - * @since n.e.x.t + * @since 1.133.0 * @return bool|\WP_Error */ public function can_activate() { diff --git a/includes/Core/Authentication/Guards/Using_Proxy_Connection_Guard.php b/includes/Core/Authentication/Guards/Using_Proxy_Connection_Guard.php index 58f20bff270..bacdc3fc1c7 100644 --- a/includes/Core/Authentication/Guards/Using_Proxy_Connection_Guard.php +++ b/includes/Core/Authentication/Guards/Using_Proxy_Connection_Guard.php @@ -16,7 +16,7 @@ /** * Class providing guard logic based on proxy connection. * - * @since n.e.x.t + * @since 1.133.0 * @access private * @ignore */ @@ -32,7 +32,7 @@ class Using_Proxy_Connection_Guard implements Guard_Interface { /** * Constructor. * - * @since n.e.x.t + * @since 1.133.0 * @param Credentials $credentials Credentials instance. */ public function __construct( Credentials $credentials ) { @@ -42,7 +42,7 @@ public function __construct( Credentials $credentials ) { /** * Determines whether the guarded entity can be activated or not. * - * @since n.e.x.t + * @since 1.133.0 * @return bool|\WP_Error */ public function can_activate() { diff --git a/includes/Core/Dismissals/REST_Dismissals_Controller.php b/includes/Core/Dismissals/REST_Dismissals_Controller.php index 97c7115a7ad..fcf4da44d6a 100644 --- a/includes/Core/Dismissals/REST_Dismissals_Controller.php +++ b/includes/Core/Dismissals/REST_Dismissals_Controller.php @@ -76,7 +76,7 @@ function ( $paths ) { * Gets REST route instances. * * @since 1.37.0 - * @since n.e.x.t Added the `DELETE dismissed-items` route. + * @since 1.133.0 Added the `DELETE dismissed-items` route. * * @return REST_Route[] List of REST_Route objects. */ diff --git a/includes/Core/Remote_Features/Remote_Features.php b/includes/Core/Remote_Features/Remote_Features.php index 4ff2ed48057..6a4a11f0118 100644 --- a/includes/Core/Remote_Features/Remote_Features.php +++ b/includes/Core/Remote_Features/Remote_Features.php @@ -17,7 +17,7 @@ * Class handling the storage of remote features. * * @since 1.118.0 - * @since n.e.x.t Changed to extend Setting + * @since 1.133.0 Changed to extend Setting * @access private * @ignore */ diff --git a/includes/Core/Remote_Features/Remote_Features_Activation.php b/includes/Core/Remote_Features/Remote_Features_Activation.php index e27d98c9c57..d5e05d13f8d 100644 --- a/includes/Core/Remote_Features/Remote_Features_Activation.php +++ b/includes/Core/Remote_Features/Remote_Features_Activation.php @@ -15,7 +15,7 @@ /** * Class handling the application of remote feature activation. * - * @since n.e.x.t + * @since 1.133.0 * @access private * @ignore */ @@ -48,7 +48,7 @@ public function __construct( Remote_Features $remote_features ) { /** * Registers functionality through WordPress hooks. * - * @since n.e.x.t + * @since 1.133.0 */ public function register() { add_filter( @@ -75,7 +75,7 @@ private function get_features() { /** * Filters feature flags using features stored in options. * - * @since n.e.x.t + * @since 1.133.0 * * @param boolean $feature_enabled Original value of the feature. * @param string $feature_name Feature name. diff --git a/includes/Core/Remote_Features/Remote_Features_Cron.php b/includes/Core/Remote_Features/Remote_Features_Cron.php index a078e523fa3..199c2a304c6 100644 --- a/includes/Core/Remote_Features/Remote_Features_Cron.php +++ b/includes/Core/Remote_Features/Remote_Features_Cron.php @@ -13,7 +13,7 @@ /** * Class providing cron implementation for remote features. * - * @since n.e.x.t + * @since 1.133.0 * @access private * @ignore */ @@ -31,7 +31,7 @@ class Remote_Features_Cron { /** * Constructor. * - * @since n.e.x.t + * @since 1.133.0 * * @param callable $callback Function to call on the cron action. */ @@ -42,7 +42,7 @@ public function __construct( callable $callback ) { /** * Registers functionality through WordPress hooks. * - * @since n.e.x.t + * @since 1.133.0 */ public function register() { add_action( self::CRON_ACTION, $this->cron_callback ); @@ -51,7 +51,7 @@ public function register() { /** * Schedules cron if not already set. * - * @since n.e.x.t + * @since 1.133.0 */ public function maybe_schedule_cron() { if ( ! wp_next_scheduled( self::CRON_ACTION ) && ! wp_installing() ) { diff --git a/includes/Core/Remote_Features/Remote_Features_Provider.php b/includes/Core/Remote_Features/Remote_Features_Provider.php index 1f4f6a6e68e..920353e1da8 100644 --- a/includes/Core/Remote_Features/Remote_Features_Provider.php +++ b/includes/Core/Remote_Features/Remote_Features_Provider.php @@ -21,7 +21,7 @@ /** * Class providing the integration of remote features. * - * @since n.e.x.t + * @since 1.133.0 * @access private * @ignore */ @@ -64,7 +64,7 @@ class Remote_Features_Provider { /** * Constructor. * - * @since n.e.x.t + * @since 1.133.0 * * @param Context $context Context instance. * @param Options $options Options instance. @@ -85,7 +85,7 @@ public function __construct( Context $context, Options $options ) { /** * Registers functionality through WordPress hooks. * - * @since n.e.x.t + * @since 1.133.0 */ public function register() { $this->setting->register(); diff --git a/includes/Core/Remote_Features/Remote_Features_Syncer.php b/includes/Core/Remote_Features/Remote_Features_Syncer.php index 0abab751e0c..fff05286484 100644 --- a/includes/Core/Remote_Features/Remote_Features_Syncer.php +++ b/includes/Core/Remote_Features/Remote_Features_Syncer.php @@ -16,7 +16,7 @@ /** * Class handling the synchronization of remote features with local storage. * - * @since n.e.x.t + * @since 1.133.0 * @access private * @ignore */ @@ -46,7 +46,7 @@ class Remote_Features_Syncer { /** * Constructor. * - * @since n.e.x.t + * @since 1.133.0 * * @param Remote_Features $remote_features Remote_Features instance. * @param Closure $fetch_features Function which fetches features. @@ -65,7 +65,7 @@ public function __construct( /** * Fetches the latest remote features and sets them in storage. * - * @since n.e.x.t + * @since 1.133.0 */ public function pull_remote_features() { foreach ( $this->guards as $guard ) { diff --git a/readme.txt b/readme.txt index 89e1cdafccd..4e9e1eedbd2 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: google Requires at least: 5.2 Tested up to: 6.6 Requires PHP: 7.4 -Stable tag: 1.132.0 +Stable tag: 1.133.0 License: Apache License 2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0 Tags: google, search-console, analytics, adsense, pagespeed-insights @@ -109,34 +109,38 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress == Changelog == -= 1.132.0 = += 1.133.0 = **Enhanced** -* Implement the dismiss functionality for the new notifications infrastructure. See [#8974](https://github.com/google/site-kit-wp/issues/8974). -* Add Reader Revenue Manager data store functionality to get service URL. See [#8848](https://github.com/google/site-kit-wp/issues/8848). -* Populate the feature list in the Reader Revenue Manager disconnection confirmation modal. See [#8845](https://github.com/google/site-kit-wp/issues/8845). -* Include the Subscribe with Google external JavaScript file and configure it for the Reader Revenue Manager service. See [#8844](https://github.com/google/site-kit-wp/issues/8844). -* Provide the Settings UI to allow a user to select a publication in the Reader Revenue Manager module. See [#8837](https://github.com/google/site-kit-wp/issues/8837). -* Add infrastructure for synchronizing the onboarding state of a publication in the Reader Revenue Manager module. See [#8796](https://github.com/google/site-kit-wp/issues/8796). -* Add Reader Revenue Manager data store functionality to find a matching publication. See [#8795](https://github.com/google/site-kit-wp/issues/8795). -* Add Reader Revenue Manager data store functionality to list available publications. See [#8794](https://github.com/google/site-kit-wp/issues/8794). -* Add Reader Revenue Manager module settings infrastructure. See [#8793](https://github.com/google/site-kit-wp/issues/8793). -* Improve Authorize Application screen action button styling. See [#8584](https://github.com/google/site-kit-wp/issues/8584). -* Allow users to install Consent Mode plugin from Site Kit Settings. See [#8521](https://github.com/google/site-kit-wp/issues/8521). -* Update Consent Mode to prevent enqueuing duplicate consent commands on page load. See [#8387](https://github.com/google/site-kit-wp/issues/8387). -* Update the Consent Mode Setup CTA banner not to be shown if the user toggles the consent mode via settings. See [#8386](https://github.com/google/site-kit-wp/issues/8386). -* Extract inline consent mode JS to external script. See [#8384](https://github.com/google/site-kit-wp/issues/8384). -* Update the layout of the graphic on the Consent Mode Setup CTA banner. See [#8376](https://github.com/google/site-kit-wp/issues/8376). -* Improve the "Top recent trending pages" empty state when no posts have been recently published. See [#8315](https://github.com/google/site-kit-wp/issues/8315). -* Update module infrastructure to add proper support for dashboard effects. See [#8211](https://github.com/google/site-kit-wp/issues/8211). -* Provide the ability to set up the Audience Segmentation feature from the Settings screen. See [#8178](https://github.com/google/site-kit-wp/issues/8178). -* Implement the Audience Segmentation "no audiences" banner. See [#8155](https://github.com/google/site-kit-wp/issues/8155). -* Show a loading state with placeholders for the content while data is being retrieved for an Audience Tile. See [#8145](https://github.com/google/site-kit-wp/issues/8145). +* Add callout buttons. See [#9063](https://github.com/google/site-kit-wp/issues/9063). +* Implement the Audience Creation Notice as a component which is visible in Storybook. See [#8986](https://github.com/google/site-kit-wp/issues/8986). +* Add datastore infrastructure to get queued notifications. See [#8975](https://github.com/google/site-kit-wp/issues/8975). +* Update the audience segmentation notice that is displayed in selection panel to not disappear until two audiences are selected. See [#8909](https://github.com/google/site-kit-wp/issues/8909). +* Ensure the “temporarily hidden” state of an audience with zero data is cleared when the audience is removed from the selection. See [#8877](https://github.com/google/site-kit-wp/issues/8877). +* Add Reader Revenue Manager publication approved overlay notification. See [#8843](https://github.com/google/site-kit-wp/issues/8843). +* Implement the settings view screen for the Reader Revenue Manager module. See [#8842](https://github.com/google/site-kit-wp/issues/8842). +* Implement the settings edit view for the Reader Revenue Manager module. See [#8841](https://github.com/google/site-kit-wp/issues/8841). +* Add periodic automatic refresh behaviour in the Reader Revenue Manager setup form. See [#8839](https://github.com/google/site-kit-wp/issues/8839). +* Add the `PublicationCreate` component that encapsulates the publication creation flow for the Reader Revenue Manager module, presented in Storybook. See [#8836](https://github.com/google/site-kit-wp/issues/8836). +* Introduce Reader Revenue Manager setup flow. See [#8800](https://github.com/google/site-kit-wp/issues/8800). +* Add a mechanism to synchronize the onboarding state of a publication once every hour in the Reader Revenue Manager module. See [#8797](https://github.com/google/site-kit-wp/issues/8797). +* Update Consent Mode to always include Switzerland in its list of relevant areas. See [#8720](https://github.com/google/site-kit-wp/issues/8720). +* Ensure remote features are loaded as early as possible during plugin initialization. See [#8341](https://github.com/google/site-kit-wp/issues/8341). +* Add a notice to the Audience Selection Panel that allows creation of the "New visitors" and "Returning visitors" audiences. See [#8164](https://github.com/google/site-kit-wp/issues/8164). +* Provide the ability to create a required custom dimension in the "Top content" metric section if it's missing. See [#8153](https://github.com/google/site-kit-wp/issues/8153). + +**Changed** + +* Implement a shared SubtleNotification component and update existing notifications to use it. See [#8725](https://github.com/google/site-kit-wp/issues/8725). **Fixed** -* Fix measurement of successful setup completion events. See [#9039](https://github.com/google/site-kit-wp/issues/9039). -* Ensure WP Forms events are only sent once when Popup Maker plugin is installed. See [#8944](https://github.com/google/site-kit-wp/issues/8944). +* Fix the react dashboard error caused by the New badge component for key metric widgets. Props Towerss. See [#9094](https://github.com/google/site-kit-wp/issues/9094). +* Fix full-stop issue in the survey pop-up footer. See [#9075](https://github.com/google/site-kit-wp/issues/9075). +* Fix the broken layout issue in the audience segmentation widget on mobile and tablet devices. See [#8930](https://github.com/google/site-kit-wp/issues/8930). +* Update segmentation tiles to properly display non-empty data. See [#8921](https://github.com/google/site-kit-wp/issues/8921). +* Fix bug that could cause chart legend values to overflow on mobile screen sizes. See [#7565](https://github.com/google/site-kit-wp/issues/7565). +* Update dashboard sharing to restore sharing capabilities for modules whose owner lost sharing capabilities. See [#5354](https://github.com/google/site-kit-wp/issues/5354). [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).