diff --git a/assets/js/googlesitekit/datastore/user/permissions.js b/assets/js/googlesitekit/datastore/user/permissions.js index 576491bdd17..fc3faeeb317 100644 --- a/assets/js/googlesitekit/datastore/user/permissions.js +++ b/assets/js/googlesitekit/datastore/user/permissions.js @@ -104,7 +104,7 @@ const baseActions = { /** * Refreshes user capabilities. * - * @since n.e.x.t + * @since 1.82.0 * * @return {Object} Redux-style action. */ diff --git a/assets/js/modules/analytics-4/utils/banner-dismissal-expiry.js b/assets/js/modules/analytics-4/utils/banner-dismissal-expiry.js index 4e2847c0ea2..e43789badfb 100644 --- a/assets/js/modules/analytics-4/utils/banner-dismissal-expiry.js +++ b/assets/js/modules/analytics-4/utils/banner-dismissal-expiry.js @@ -25,7 +25,7 @@ import { stringToDate } from '../../../util/date-range/string-to-date'; /** * Gets the time in seconds to expire a dismissal of the GA4 Activation Banner. * - * @since n.e.x.t + * @since 1.82.0 * * @param {string} referenceDateString Date on which to calculate the expiry for the dismissal. * @return {number} Time in seconds for a dismissal to expire. diff --git a/google-site-kit.php b/google-site-kit.php index 53c0c5d2a2a..dd9a0615745 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.81.0 + * Version: 1.82.0 * Requires at least: 4.7 * Requires PHP: 5.6 * Author: Google @@ -26,7 +26,7 @@ } // Define most essential constants. -define( 'GOOGLESITEKIT_VERSION', '1.81.0' ); +define( 'GOOGLESITEKIT_VERSION', '1.82.0' ); define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); define( 'GOOGLESITEKIT_PHP_MINIMUM', '5.6.0' ); diff --git a/includes/Core/Dashboard_Sharing/Activity_Metrics/Active_Consumers.php b/includes/Core/Dashboard_Sharing/Activity_Metrics/Active_Consumers.php index 36a8896c08c..9bda34f4a34 100644 --- a/includes/Core/Dashboard_Sharing/Activity_Metrics/Active_Consumers.php +++ b/includes/Core/Dashboard_Sharing/Activity_Metrics/Active_Consumers.php @@ -16,7 +16,7 @@ /** * Class for representing active consumers for an access token. * - * @since n.e.x.t + * @since 1.82.0 * @access private * @ignore */ @@ -30,7 +30,7 @@ class Active_Consumers extends User_Setting { /** * Gets the expected value type. * - * @since n.e.x.t + * @since 1.82.0 * * @return string The type name. */ @@ -41,7 +41,7 @@ protected function get_type() { /** * Gets the default value. * - * @since n.e.x.t + * @since 1.82.0 * * @return array The default value. */ @@ -52,7 +52,7 @@ protected function get_default() { /** * Gets the callback for sanitizing the setting's value before saving. * - * @since n.e.x.t + * @since 1.82.0 * * @return Closure */ diff --git a/includes/Core/Dashboard_Sharing/Activity_Metrics/Activity_Metrics.php b/includes/Core/Dashboard_Sharing/Activity_Metrics/Activity_Metrics.php index 56afec6dc28..ea2198e9ce6 100644 --- a/includes/Core/Dashboard_Sharing/Activity_Metrics/Activity_Metrics.php +++ b/includes/Core/Dashboard_Sharing/Activity_Metrics/Activity_Metrics.php @@ -16,7 +16,7 @@ /** * Class for handling active consumers. * - * @since n.e.x.t + * @since 1.82.0 * @access private * @ignore */ @@ -25,7 +25,7 @@ class Activity_Metrics { /** * Active_Consumers instance. * - * @since n.e.x.t + * @since 1.82.0 * @var Active_Consumers */ protected $active_consumers; @@ -33,7 +33,7 @@ class Activity_Metrics { /** * Constructor. * - * @since n.e.x.t + * @since 1.82.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User option API. Default is a new instance. @@ -45,7 +45,7 @@ public function __construct( Context $context, User_Options $user_options = null /** * Registers functionality. * - * @since n.e.x.t + * @since 1.82.0 */ public function register() { $this->active_consumers->register(); diff --git a/includes/Core/Dashboard_Sharing/Dashboard_Sharing.php b/includes/Core/Dashboard_Sharing/Dashboard_Sharing.php index 5edac984a6b..8fa727c9426 100644 --- a/includes/Core/Dashboard_Sharing/Dashboard_Sharing.php +++ b/includes/Core/Dashboard_Sharing/Dashboard_Sharing.php @@ -17,7 +17,7 @@ /** * Class for handling Dashboard Sharing. * - * @since n.e.x.t + * @since 1.82.0 * @access private * @ignore */ @@ -26,7 +26,7 @@ class Dashboard_Sharing { /** * Plugin context. * - * @since n.e.x.t + * @since 1.82.0 * @var Context */ private $context; @@ -34,7 +34,7 @@ class Dashboard_Sharing { /** * User_Options object. * - * @since n.e.x.t + * @since 1.82.0 * * @var User_Options */ @@ -43,7 +43,7 @@ class Dashboard_Sharing { /** * Activity_Metrics instance. * - * @since n.e.x.t + * @since 1.82.0 * @var Activity_Metrics */ protected $activity_metrics; @@ -51,7 +51,7 @@ class Dashboard_Sharing { /** * Constructor. * - * @since n.e.x.t + * @since 1.82.0 * * @param Context $context Plugin context. * @param User_Options $user_options Optional. User Option API instance. Default is a new instance. @@ -65,7 +65,7 @@ public function __construct( Context $context, User_Options $user_options = null /** * Registers functionality. * - * @since n.e.x.t + * @since 1.82.0 */ public function register() { $this->activity_metrics->register(); diff --git a/includes/Core/Modules/Module.php b/includes/Core/Modules/Module.php index 343be458fa3..f4b4fc91563 100644 --- a/includes/Core/Modules/Module.php +++ b/includes/Core/Modules/Module.php @@ -116,7 +116,7 @@ abstract class Module { /** * Whether module is using shared credentials or not. * - * @since n.e.x.t + * @since 1.82.0 * @var bool */ protected $is_using_shared_credentials = false; diff --git a/includes/Core/Permissions/Permissions.php b/includes/Core/Permissions/Permissions.php index d20a5a08ffd..ab6e858c55e 100644 --- a/includes/Core/Permissions/Permissions.php +++ b/includes/Core/Permissions/Permissions.php @@ -696,7 +696,7 @@ private function grant_additional_caps( array $allcaps ) { /** * Gets related REST routes. * - * @since n.e.x.t + * @since 1.82.0 * * @return array List of REST_Route objects. */ diff --git a/includes/Core/Validation/Exception/Invalid_Report_Dimensions_Exception.php b/includes/Core/Validation/Exception/Invalid_Report_Dimensions_Exception.php index 6ab3a690ad7..d8c8e476454 100644 --- a/includes/Core/Validation/Exception/Invalid_Report_Dimensions_Exception.php +++ b/includes/Core/Validation/Exception/Invalid_Report_Dimensions_Exception.php @@ -15,7 +15,7 @@ /** * Exception thrown when dimensions are invalid for a report request. * - * @since n.e.x.t + * @since 1.82.0 * @access private * @ignore */ diff --git a/includes/Core/Validation/Exception/Invalid_Report_Metrics_Exception.php b/includes/Core/Validation/Exception/Invalid_Report_Metrics_Exception.php index 97429827576..b9b1189fb6e 100644 --- a/includes/Core/Validation/Exception/Invalid_Report_Metrics_Exception.php +++ b/includes/Core/Validation/Exception/Invalid_Report_Metrics_Exception.php @@ -15,7 +15,7 @@ /** * Exception thrown when metrics are invalid for a report request. * - * @since n.e.x.t + * @since 1.82.0 * @access private * @ignore */ diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php index c6e678dd261..cd8d29263df 100644 --- a/includes/Modules/Analytics.php +++ b/includes/Modules/Analytics.php @@ -1354,7 +1354,7 @@ public function check_service_entity_access() { /** * Validates the report metrics. * - * @since n.e.x.t + * @since 1.82.0 * * @param Google_Service_AnalyticsReporting_Metric[] $metrics The metrics to validate. * @throws Invalid_Report_Metrics_Exception Thrown if the metrics are invalid. @@ -1413,7 +1413,7 @@ function ( $metric ) { /** * Validates the report dimensions. * - * @since n.e.x.t + * @since 1.82.0 * * @param Google_Service_AnalyticsReporting_Dimension[] $dimensions The dimensions to validate. * @throws Invalid_Report_Dimensions_Exception Thrown if the dimensions are invalid. diff --git a/includes/Modules/Thank_With_Google/Web_Tag.php b/includes/Modules/Thank_With_Google/Web_Tag.php index 769696c60b3..77e83eb73ac 100644 --- a/includes/Modules/Thank_With_Google/Web_Tag.php +++ b/includes/Modules/Thank_With_Google/Web_Tag.php @@ -51,7 +51,7 @@ class Web_Tag extends Module_Web_Tag { /** * Color theme. * - * @since n.e.x.t + * @since 1.82.0 * @var string */ private $color_theme; @@ -81,7 +81,7 @@ public function set_cta_post_types( $cta_post_types ) { /** * Sets the color theme. * - * @since n.e.x.t + * @since 1.82.0 * * @param string $color_theme Color theme. */ diff --git a/readme.txt b/readme.txt index 95eb0b7101e..e60f1c072f1 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: google Requires at least: 4.7 Tested up to: 6.0 Requires PHP: 5.6 -Stable tag: 1.81.0 +Stable tag: 1.82.0 License: Apache License 2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0 Tags: google, search-console, analytics, adsense, pagespeed-insights, optimize, tag-manager, site-kit @@ -108,6 +108,32 @@ Please create a new topic on our [WordPress.org support forum](https://wordpress == Changelog == += 1.82.0 = + +**Added** + +* Add the Google Analytics 4 Activation Banner to the Entity Dashboard. See [#5673](https://github.com/google/site-kit-wp/issues/5673). +* Implement the design for the Success component from the Analytics-4 module. See [#5274](https://github.com/google/site-kit-wp/issues/5274). +* Add logic for GA4 Activation banner timing. See [#5272](https://github.com/google/site-kit-wp/issues/5272). +* Add a "button with spinner" component. See [#5271](https://github.com/google/site-kit-wp/issues/5271). + +**Enhanced** + +* Limit shared requests for Analytics reports to metrics and dimensions used by the Site Kit dashboard. See [#5711](https://github.com/google/site-kit-wp/issues/5711). +* Flatten Thank with Google placement options in settings. See [#5683](https://github.com/google/site-kit-wp/issues/5683). +* Show a list of features on the Thank with Google disconnection modal. See [#5661](https://github.com/google/site-kit-wp/issues/5661). +* Ensure Thank with Google API results are filtered properly. See [#5653](https://github.com/google/site-kit-wp/issues/5653). +* Update Thank with Google JS snippet parameters to reflect API updates. See [#5535](https://github.com/google/site-kit-wp/issues/5535). +* Truncate long usernames in Dashboard Sharing. See [#5500](https://github.com/google/site-kit-wp/issues/5500). +* Only allow users with Tag Manager access to edit Tag Manager settings in the UI. See [#5495](https://github.com/google/site-kit-wp/issues/5495). +* Add the "Get Help" link to the compatibility error notice. See [#5483](https://github.com/google/site-kit-wp/issues/5483). +* Update tooltip styles. See [#5444](https://github.com/google/site-kit-wp/issues/5444). +* Refresh user permissions on module recovery. See [#5416](https://github.com/google/site-kit-wp/issues/5416). + +**Fixed** + +* Fix js errors in the storybook stories. See [#5585](https://github.com/google/site-kit-wp/issues/5585). + = 1.81.0 = **Enhanced**